Package com.hybris.cockpitng.tree.node
Class DynamicNode
- java.lang.Object
-
- com.hybris.backoffice.actionbar.DefaultActionDefinition
-
- com.hybris.backoffice.navigation.impl.SimpleNode
-
- com.hybris.cockpitng.tree.node.DynamicNode
-
- All Implemented Interfaces:
ActionDefinition,NavigationNode,ActionAwareNode,java.io.Serializable
public class DynamicNode extends SimpleNode implements ActionAwareNode
Represents a navigation node with dynamic children.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DynamicNode(java.lang.String id, boolean rootNode, DynamicNodePopulator populator)DynamicNode(java.lang.String id, boolean rootNode, DynamicNodePopulator populator, int indexingDepth)DynamicNode(java.lang.String id, DynamicNodePopulator populator)DynamicNode(java.lang.String id, DynamicNodePopulator populator, int indexingDepth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<NavigationNode>getChildren()Returns all children nodes.intgetIndexingDepth()booleanisActionAware()Defines if node is action awarebooleanisRootNode()booleanisSelectable()voidsetActionAware(boolean actionAware)voidsetSelectable(boolean selectable)-
Methods inherited from class com.hybris.backoffice.navigation.impl.SimpleNode
addChild, create, equals, getContext, getData, getLevel, getParent, hashCode, isDirectory, isExpandedByDefault, setChildren, setContext, setData, setDirectory, setExpandedByDefault, setLevel, setParent
-
Methods inherited from class com.hybris.backoffice.actionbar.DefaultActionDefinition
getDescription, getDescriptionLocKey, getGroup, getIconUri, getIconUriLocKey, getId, getName, getNameLocKey, setDescription, setDescriptionLocKey, setGroup, setIconUri, setIconUriLocKey, setName, setNameLocKey, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.hybris.backoffice.actionbar.ActionDefinition
getDescription, getDescriptionLocKey, getGroup, getIconUri, getIconUriLocKey, getId, getName, getNameLocKey
-
-
-
-
Constructor Detail
-
DynamicNode
public DynamicNode(java.lang.String id, DynamicNodePopulator populator)
-
DynamicNode
public DynamicNode(java.lang.String id, boolean rootNode, DynamicNodePopulator populator)
-
DynamicNode
public DynamicNode(java.lang.String id, DynamicNodePopulator populator, int indexingDepth)
-
DynamicNode
public DynamicNode(java.lang.String id, boolean rootNode, DynamicNodePopulator populator, int indexingDepth)
-
-
Method Detail
-
getChildren
public java.util.List<NavigationNode> getChildren()
Description copied from interface:NavigationNodeReturns all children nodes.- Specified by:
getChildrenin interfaceNavigationNode- Overrides:
getChildrenin classSimpleNode- Returns:
- all children nodes
-
isRootNode
public boolean isRootNode()
-
isSelectable
public boolean isSelectable()
-
getIndexingDepth
public int getIndexingDepth()
-
setSelectable
public void setSelectable(boolean selectable)
-
isActionAware
public boolean isActionAware()
Description copied from interface:ActionAwareNodeDefines if node is action aware- Specified by:
isActionAwarein interfaceActionAwareNode- Overrides:
isActionAwarein classSimpleNode- Returns:
- whether is aware or not
-
setActionAware
public void setActionAware(boolean actionAware)
- Overrides:
setActionAwarein classSimpleNode
-
-