public class ERXModernNavigationMenuItem extends ERXStatelessComponent
WOComponent._EventLoggingEnabler, WOComponent.EventNSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._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.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
_hasActivity |
protected java.lang.Boolean |
_isDisabled |
protected java.lang.Boolean |
_isSelected |
protected boolean |
_linkDirectlyToDirectActions |
protected java.lang.Boolean |
_meetsDisplayConditions |
protected ERXNavigationItem |
_navigationItem |
protected ERXNavigationState |
_navigationState |
protected WOComponent |
_redirect |
ERXNavigationItem |
aChildItem |
static org.apache.log4j.Logger |
log
logging support
|
static java.lang.String |
SHOULD_DISPLAY_DISABLED_MENU_ITEMS |
protected static java.lang.String |
STYLE_CLASS_DISABLED |
protected static java.lang.String |
STYLE_CLASS_SELECTED |
protected static java.lang.String |
STYLE_CLASS_SUB |
_dynamicBindings_Extension, _IsEventLoggingEnabled, _keyAssociations_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description |
|---|
ERXModernNavigationMenuItem(WOContext context) |
| Modifier and Type | Method and Description |
|---|---|
NSArray |
children() |
java.lang.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
|
java.lang.String |
displayName() |
boolean |
hasActivity() |
boolean |
hasActivityAndIsEnabled() |
boolean |
isDisabled() |
boolean |
isSelected() |
java.lang.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. |
java.lang.String |
navigationItemID() |
java.lang.String |
navigationItemWidth() |
ERXNavigationState |
navigationState() |
void |
reset()
このメソッドは、指定されているコンテクストのオブジェクトに対する、
ステートレス・コンポーネントの一時的リファレンスをリセットもしくは削除します。
あるコンポーネントの共有化されたインスタンスが、他のセッションによって再利用されるとき、
このメソッドを利用し、各コンポーネントのインスタンス変数を解放します。
|
java.lang.Object |
resolveValue(java.lang.String key) |
boolean |
shouldDisplay()
Determines if the item should be displayed in the UI, based upon the disabled status.
|
isStateless, valueForBooleanBinding, valueForBooleanBinding, valueForBooleanBinding, valueForIntBinding, valueForObjectBinding, valueForObjectBindingappendToResponse, 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, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithNamepublic static final org.apache.log4j.Logger log
protected ERXNavigationItem _navigationItem
protected ERXNavigationState _navigationState
protected boolean _linkDirectlyToDirectActions
protected java.lang.Boolean _isDisabled
protected java.lang.Boolean _meetsDisplayConditions
protected java.lang.Boolean _isSelected
protected java.lang.Boolean _hasActivity
protected WOComponent _redirect
public ERXNavigationItem aChildItem
protected static final java.lang.String STYLE_CLASS_SELECTED
protected static final java.lang.String STYLE_CLASS_DISABLED
protected static final java.lang.String STYLE_CLASS_SUB
public static final java.lang.String SHOULD_DISPLAY_DISABLED_MENU_ITEMS
public ERXModernNavigationMenuItem(WOContext context)
public java.lang.String navigationItemID()
public void reset()
ERXComponentreset in class ERXStatelessComponentpublic java.lang.String navigationItemWidth()
public ERXNavigationState navigationState()
public WOComponent directActionRedirect()
public java.lang.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 java.lang.String itemStyleClass()
public java.lang.Object resolveValue(java.lang.String key)
public boolean hasActivity()
public boolean hasActivityAndIsEnabled()
public java.lang.String displayName()
public NSArray children()
public NSKeyValueCodingAdditions navigationContext()
Copyright © 2002 – 2022 Project Wonder.