Class View
java.lang.Object
org.eclipse.rdf4j.common.webapp.navigation.AbstractNavigationNode
org.eclipse.rdf4j.common.webapp.navigation.View
- All Implemented Interfaces:
Cloneable, NavigationNode
View represents a "leaf" in the navigation model, for example a page in a website.
- Author:
- Herko ter Horst
-
Field Summary
Fields inherited from class AbstractNavigationNode
i18n, icon, path, viewSuffix -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractNavigationNode
copyCommonAttributes, equals, getDepth, getI18n, getI18nPrefix, getI18nSeparator, getI18nSuffix, getIcon, getIconPrefix, getIconSeparator, getIconSuffix, getId, getParent, getPathPrefix, getPathSeparator, getViewSuffix, hashCode, isEnabled, isHidden, isParent, setEnabled, setHidden, setI18n, setIcon, setParent, setPath, setViewSuffixModifier and TypeMethodDescriptionprotected voidbooleanintgetDepth()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.inthashCode()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 viewSuffix)
-
Constructor Details
-
View
Construct a new view with the specified ID.- Parameters:
id- the ID of the view
-
-
Method Details
-
getPath
- Specified by:
getPathin interfaceNavigationNode- Overrides:
getPathin classAbstractNavigationNode
-
clone
-