public class ERXNavigationMenu extends ERXStatelessComponent
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException
Modifier and Type | Field and Description |
---|---|
protected NSArray |
_level1Items |
int |
_level1SpacerWidth |
protected NSArray |
_level2Items |
int |
_level2SpacerWidth |
protected NSArray |
_level3Items |
int |
_level3SpacerWidth |
protected boolean |
_menuIsSetUp |
protected com.webobjects.foundation.NSKeyValueCoding |
_navigationContext |
protected ERXNavigationState |
_navigationState |
int |
_renderLevelCount |
ERXNavigationItem |
aNavigationItem |
protected int |
l2Colspan |
_dynamicBindings
_Extension, _IsEventLoggingEnabled, _keyAssociations
Constructor and Description |
---|
ERXNavigationMenu(com.webobjects.appserver.WOContext context) |
Modifier and Type | Method and Description |
---|---|
void |
appendToResponse(com.webobjects.appserver.WOResponse r,
com.webobjects.appserver.WOContext c)
Calls
ERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent() prior to super.appendToResponse. |
com.webobjects.appserver.WOActionResults |
invokeAction(com.webobjects.appserver.WORequest r,
com.webobjects.appserver.WOContext c)
Calls
ERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent() prior to super.invokeAction. |
NSArray |
itemsForLevel(int level) |
NSArray |
level1Items() |
String |
level1itemsClass() |
int |
level1SpacerWidth() |
int |
level1Width() |
NSArray |
level2Items() |
String |
level2itemsClass() |
int |
level2SpacerWidth() |
int |
level2Width() |
NSArray |
level3Items() |
int |
level3SpacerWidth() |
int |
level3Width() |
int |
menuLevelsToShow() |
protected com.webobjects.foundation.NSKeyValueCoding |
navigationContext() |
ERXNavigationState |
navigationState() |
int |
navItemsTableWidth() |
String |
paddingWidth() |
void |
reset()
このメソッドは、指定されているコンテクストのオブジェクトに対する、
ステートレス・コンポーネントの一時的リファレンスをリセットもしくは削除します。
あるコンポーネントの共有化されたインスタンスが、他のセッションによって再利用されるとき、
このメソッドを利用し、各コンポーネントのインスタンス変数を解放します。
|
void |
setLevel1Items(NSArray newLevel1Items) |
void |
setLevel1SpacerWidth(int newLevel1SpacerWidth) |
void |
setLevel2Items(NSArray newLevel2Items) |
void |
setLevel2SpacerWidth(int newLevel2SpacerWidth) |
void |
setLevel3Items(NSArray newLevel3Items) |
void |
setLevel3SpacerWidth(int newLevel3SpacerWidth) |
int |
setupLevel1SpacerWidth() |
int |
setupLevel2SpacerWidth() |
int |
setupLevel3SpacerWidth() |
void |
setUpMenu() |
boolean |
showLevel2() |
boolean |
showLevel3() |
void |
takeValuesFromRequest(com.webobjects.appserver.WORequest r,
com.webobjects.appserver.WOContext c)
Calls
ERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent() prior to super.takeValuesFromRequest. |
isStateless
resetCachedBindingsInStatefulComponent, synchronizesVariablesWithBindings
_awakeInContext, _checkAccess, _frameworkName, _includeCSSResources, _includeJavascriptResources, additionalCSSFiles, additionalJavascriptFiles, arrayValueForBinding, arrayValueForBinding, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, browser, checkAccess, clickToOpenEnabled, componentName, defaultCSSPath, defaultJavascriptPath, dynamicBindings, floatValueForBinding, intValueForBinding, isPageAccessAllowed, localizer, objectValueForBinding, objectValueForBinding, pageWithName, postAppendToResponse, preAppendToResponse, primaryCSSFile, primaryJavascriptFile, shouldCheckAccess, stringValueForBinding, stringValueForBinding, useDefaultComponentCSS, useDefaultComponentJavascript
__valueForBinding, _associationWithName, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
public ERXNavigationItem aNavigationItem
protected ERXNavigationState _navigationState
protected com.webobjects.foundation.NSKeyValueCoding _navigationContext
protected NSArray _level1Items
protected NSArray _level2Items
protected NSArray _level3Items
public int _level1SpacerWidth
public int _level2SpacerWidth
public int _level3SpacerWidth
public int _renderLevelCount
protected int l2Colspan
protected boolean _menuIsSetUp
public ERXNavigationMenu(com.webobjects.appserver.WOContext context)
public void reset()
ERXComponent
reset
in class ERXStatelessComponent
protected com.webobjects.foundation.NSKeyValueCoding navigationContext()
public void setUpMenu()
public ERXNavigationState navigationState()
public NSArray itemsForLevel(int level)
public void takeValuesFromRequest(com.webobjects.appserver.WORequest r, com.webobjects.appserver.WOContext c)
ERXNonSynchronizingComponent
ERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent()
prior to super.takeValuesFromRequest.takeValuesFromRequest
in class ERXNonSynchronizingComponent
r
- from which the values will be takenc
- of the requestpublic void appendToResponse(com.webobjects.appserver.WOResponse r, com.webobjects.appserver.WOContext c)
ERXNonSynchronizingComponent
ERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent()
prior to super.appendToResponse.appendToResponse
in class ERXNonSynchronizingComponent
r
- to which we are appendingc
- context of the responsepublic com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest r, com.webobjects.appserver.WOContext c)
ERXNonSynchronizingComponent
ERXNonSynchronizingComponent.resetCachedBindingsInStatefulComponent()
prior to super.invokeAction.invokeAction
in class ERXNonSynchronizingComponent
r
- for which the action is invokedc
- of the requestpublic int setupLevel2SpacerWidth()
public int setupLevel3SpacerWidth()
public boolean showLevel2()
public boolean showLevel3()
public int menuLevelsToShow()
public NSArray level1Items()
public int level1SpacerWidth()
public int level1Width()
public NSArray level2Items()
public int level2SpacerWidth()
public int level2Width()
public NSArray level3Items()
public int level3SpacerWidth()
public int level3Width()
public int setupLevel1SpacerWidth()
public void setLevel1Items(NSArray newLevel1Items)
public void setLevel1SpacerWidth(int newLevel1SpacerWidth)
public void setLevel2Items(NSArray newLevel2Items)
public void setLevel2SpacerWidth(int newLevel2SpacerWidth)
public void setLevel3Items(NSArray newLevel3Items)
public void setLevel3SpacerWidth(int newLevel3SpacerWidth)
public int navItemsTableWidth()
public String paddingWidth()
public String level1itemsClass()
public String level2itemsClass()
Copyright © 2002 – 2020 Project Wonder.