public class ERXNavigationItem extends Object implements Serializable
ERXNavigationManager
from a dictionary stored in the navigation menu plist
file.
Please read "Documentation/Navigation.html" to fnd out how to use the
navigation components.ERXNavigationManager
,
ERXNavigationMenuItem
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected String |
_action |
protected NSArray<String> |
_children |
protected String |
_childrenBinding |
protected NSDictionary |
_childrenChoices |
protected NSArray |
_childrenConditions |
protected NSArray |
_conditions |
protected String |
_defaultChild |
protected String |
_directActionClass |
protected String |
_directActionName |
protected String |
_displayName |
protected String |
_hasActivity |
protected int |
_height |
protected String |
_href |
protected String |
_name |
protected String |
_pageName |
protected ERXNavigationItem |
_parent |
protected com.webobjects.eocontrol.EOQualifier |
_qualifier |
protected NSDictionary |
_queryBindings |
protected String |
_secure |
String |
_uniqueID |
protected int |
_width |
Constructor and Description |
---|
ERXNavigationItem(NSDictionary values) |
Modifier and Type | Method and Description |
---|---|
String |
action() |
NSArray |
childItemsInContext(com.webobjects.foundation.NSKeyValueCodingAdditions context) |
NSArray<String> |
children() |
String |
childrenBinding() |
NSDictionary |
childrenChoices() |
NSArray |
childrenConditions() |
NSArray |
conditions() |
String |
defaultChild() |
String |
directActionClass() |
String |
directActionName() |
String |
displayName() |
String |
hasActivity() |
int |
height() |
String |
href() |
boolean |
isRootNode() |
boolean |
meetsDisplayConditionsInComponent(com.webobjects.foundation.NSKeyValueCodingAdditions context)
Decides whether the item gets displayed at all.
|
String |
name() |
String |
navigationPath()
Returns path of this navigationMenuItem starting from the top menu except
the root navigation item separated by /.
|
String |
pageName() |
ERXNavigationItem |
parent() |
com.webobjects.eocontrol.EOQualifier |
qualifier() |
NSDictionary |
queryBindings() |
Boolean |
secureInContext(com.webobjects.foundation.NSKeyValueCodingAdditions context) |
void |
setDefaultChild(String name) |
void |
setParent(ERXNavigationItem item) |
String |
toString() |
String |
uneditedDirectActionName() |
String |
uniqueID() |
int |
width() |
public String _uniqueID
protected String _action
protected NSArray _conditions
protected com.webobjects.eocontrol.EOQualifier _qualifier
protected String _directActionName
protected String _directActionClass
protected String _name
protected String _pageName
protected String _displayName
protected String _hasActivity
protected String _defaultChild
protected NSArray _childrenConditions
protected String _childrenBinding
protected NSDictionary _childrenChoices
protected NSDictionary _queryBindings
protected String _href
protected String _secure
protected ERXNavigationItem _parent
protected int _height
protected int _width
public ERXNavigationItem(NSDictionary values)
public boolean meetsDisplayConditionsInComponent(com.webobjects.foundation.NSKeyValueCodingAdditions context)
context
- in which to evaluate visibilitypublic NSArray childItemsInContext(com.webobjects.foundation.NSKeyValueCodingAdditions context)
public Boolean secureInContext(com.webobjects.foundation.NSKeyValueCodingAdditions context)
public boolean isRootNode()
public com.webobjects.eocontrol.EOQualifier qualifier()
public String childrenBinding()
public NSArray childrenConditions()
public NSDictionary childrenChoices()
public String defaultChild()
public void setDefaultChild(String name)
public NSDictionary queryBindings()
public String action()
public NSArray conditions()
public String href()
public String directActionName()
public String uneditedDirectActionName()
public String directActionClass()
public int height()
public int width()
public String name()
public String pageName()
public String uniqueID()
public String displayName()
public String hasActivity()
public ERXNavigationItem parent()
public void setParent(ERXNavigationItem item)
public String navigationPath()
String
navigationPathCopyright © 2002 – 2020 Project Wonder.