Interface NavigationNode
- All Superinterfaces:
 Cloneable
- All Known Implementing Classes:
 AbstractNavigationNode, Group, NavigationModel, View
NavigationNode represents a node in a NavigationModel.
- Author:
 - Herko ter Horst
 
- 
Method Summary
Modifier and TypeMethodDescriptionintgetDepth()Get the depth of this node in the hierarchy.getI18n()getIcon()getId()Get the ID of the node.Get the parent node of this node.getPath()booleanIs the node enabled/active?booleanisHidden()Is the node hidden?booleanisParent(NavigationNode node) Is this node a parent of the specified node?voidsetEnabled(boolean enabled) Set the enabled status of the node.voidsetHidden(boolean hidden) Set the hidden status of the node.voidvoidvoidsetParent(NavigationNode parent) Set the parent of this node.voidvoidsetViewSuffix(String suffix)  
- 
Method Details
- 
getId
 - 
isHidden
boolean isHidden()Is the node hidden?- Returns:
 - true if the node is hidden, false otherwise
 
 - 
setHidden
void setHidden(boolean hidden) Set the hidden status of the node.- Parameters:
 hidden- the new hidden status of the node
 - 
isEnabled
boolean isEnabled()Is the node enabled/active?- Returns:
 - true if the node is enabled, false otherwise
 
 - 
setEnabled
void setEnabled(boolean enabled) Set the enabled status of the node.- Parameters:
 enabled- the new enabled status of the node
 - 
getParent
NavigationNode getParent()Get the parent node of this node.- Returns:
 - the parent node of this node, or null if this node is the root NavigationModel
 
 - 
getDepth
int getDepth()Get the depth of this node in the hierarchy. The root NavigationModel has depth 0, all other nodes have a depth equal to the depth of their parent + 1.- Returns:
 - the depth of the node in the hierarhcy
 
 - 
getPathPrefix
String getPathPrefix() - 
getPathSeparator
String getPathSeparator() - 
getPath
String getPath() - 
setPath
 - 
getIconPrefix
String getIconPrefix() - 
getIconSeparator
String getIconSeparator() - 
getIconSuffix
String getIconSuffix() - 
getIcon
String getIcon() - 
setIcon
 - 
getI18nPrefix
String getI18nPrefix() - 
getI18nSeparator
String getI18nSeparator() - 
getI18nSuffix
String getI18nSuffix() - 
getI18n
String getI18n() - 
setI18n
 - 
getViewSuffix
String getViewSuffix() - 
setViewSuffix
 
 -