Class Group
java.lang.Object
org.eclipse.rdf4j.common.webapp.navigation.AbstractNavigationNode
org.eclipse.rdf4j.common.webapp.navigation.Group
- All Implemented Interfaces:
Cloneable, NavigationNode
- Direct Known Subclasses:
NavigationModel
Group represents a logical group of views in a NavigationModel.
- Author:
- Herko ter Horst
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class AbstractNavigationNode
i18n, icon, path, viewSuffix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a group to this group.voidAdd a view to this group.clone()protected voidcopyGroupsAndViews(Group group) protected ViewfindViewInternal(String viewName) Get the sub-group with the specified ID.Get the list of sub-groupsgetViewByName(String viewName) Get the view with the specified name.getViews()Get the list of views.Methods inherited from class AbstractNavigationNode
copyCommonAttributes, equals, getDepth, getI18n, getI18nPrefix, getI18nSeparator, getI18nSuffix, getIcon, getIconPrefix, getIconSeparator, getIconSuffix, getId, getParent, getPath, 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.getPath()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)
-
Field Details
-
groups
-
views
-
viewNames
-
-
Constructor Details
-
Group
Construct a new group with the specified ID.- Parameters:
id- the ID of the group
-
-
Method Details
-
getGroup
-
getGroups
-
getView
-
getViewByName
-
findViewInternal
-
getViews
-
clone