public class ERXModernNavigationMenuItem 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 Boolean |
_hasActivity |
protected Boolean |
_isDisabled |
protected Boolean |
_isSelected |
protected boolean |
_linkDirectlyToDirectActions |
protected Boolean |
_meetsDisplayConditions |
protected ERXNavigationItem |
_navigationItem |
protected ERXNavigationState |
_navigationState |
protected com.webobjects.appserver.WOComponent |
_redirect |
ERXNavigationItem |
aChildItem |
static String |
SHOULD_DISPLAY_DISABLED_MENU_ITEMS |
protected static String |
STYLE_CLASS_DISABLED |
protected static String |
STYLE_CLASS_SELECTED |
protected static String |
STYLE_CLASS_SUB |
_dynamicBindings
_Extension, _IsEventLoggingEnabled, _keyAssociations
Constructor and Description |
---|
ERXModernNavigationMenuItem(com.webobjects.appserver.WOContext context) |
Modifier and Type | Method and Description |
---|---|
NSArray |
children() |
String |
contextComponentActionURL() |
com.webobjects.appserver.WOComponent |
directActionRedirect()
AK This is only an experiment: when calling up a DA, we use a component action and redirect to the actual DA
|
String |
displayName() |
boolean |
hasActivity() |
boolean |
hasActivityAndIsEnabled() |
boolean |
isDisabled() |
boolean |
isSelected() |
String |
itemStyleClass() |
boolean |
meetsDisplayConditions()
Decides whether the item gets displayed at all.
|
com.webobjects.appserver.WOComponent |
menuItemSelected()
Determines whether the menu item is selected, or in the path of the current navigation state.
|
com.webobjects.foundation.NSKeyValueCodingAdditions |
navigationContext() |
ERXNavigationItem |
navigationItem()
Gets the
ERXNavigationItem that provides the backing store for the properties of this menu item. |
String |
navigationItemID() |
String |
navigationItemWidth() |
ERXNavigationState |
navigationState() |
void |
reset()
このメソッドは、指定されているコンテクストのオブジェクトに対する、
ステートレス・コンポーネントの一時的リファレンスをリセットもしくは削除します。
あるコンポーネントの共有化されたインスタンスが、他のセッションによって再利用されるとき、
このメソッドを利用し、各コンポーネントのインスタンス変数を解放します。
|
Object |
resolveValue(String key) |
boolean |
shouldDisplay()
Determines if the item should be displayed in the UI, based upon the disabled status.
|
isStateless
appendToResponse, invokeAction, resetCachedBindingsInStatefulComponent, synchronizesVariablesWithBindings, takeValuesFromRequest
_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
protected ERXNavigationItem _navigationItem
protected ERXNavigationState _navigationState
protected boolean _linkDirectlyToDirectActions
protected Boolean _isDisabled
protected Boolean _meetsDisplayConditions
protected Boolean _isSelected
protected Boolean _hasActivity
protected com.webobjects.appserver.WOComponent _redirect
public ERXNavigationItem aChildItem
protected static final String STYLE_CLASS_SELECTED
protected static final String STYLE_CLASS_DISABLED
protected static final String STYLE_CLASS_SUB
public static final String SHOULD_DISPLAY_DISABLED_MENU_ITEMS
public ERXModernNavigationMenuItem(com.webobjects.appserver.WOContext context)
public String navigationItemID()
public void reset()
ERXComponent
reset
in class ERXStatelessComponent
public String navigationItemWidth()
public ERXNavigationState navigationState()
public com.webobjects.appserver.WOComponent directActionRedirect()
public String contextComponentActionURL()
public com.webobjects.appserver.WOComponent menuItemSelected()
public boolean meetsDisplayConditions()
public boolean shouldDisplay()
public ERXNavigationItem navigationItem()
ERXNavigationItem
that provides the backing store for the properties of this menu item.public boolean isDisabled()
public boolean isSelected()
public String itemStyleClass()
public boolean hasActivity()
public boolean hasActivityAndIsEnabled()
public String displayName()
public NSArray children()
public com.webobjects.foundation.NSKeyValueCodingAdditions navigationContext()
Copyright © 2002 – 2020 Project Wonder.