public class ERXModernNavigationMenuItem extends ERXStatelessComponent
WOComponent._EventLoggingEnabler, WOComponent.Event
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, 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 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
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_CLASS
Constructor and Description |
---|
ERXModernNavigationMenuItem(WOContext context) |
Modifier and Type | Method and Description |
---|---|
NSArray |
children() |
String |
contextComponentActionURL() |
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.
|
WOComponent |
menuItemSelected()
Determines whether the menu item is selected, or in the path of the current navigation state.
|
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 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(WOContext context)
public String navigationItemID()
public void reset()
ERXComponent
reset
in class ERXStatelessComponent
public String navigationItemWidth()
public ERXNavigationState navigationState()
public WOComponent directActionRedirect()
public String contextComponentActionURL()
public 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 NSKeyValueCodingAdditions navigationContext()
Copyright © 2002 – 2024 Project Wonder.