Package de.uplanet.lucy.server.menu.rt
Klasse AbstractContainerMenuItem
java.lang.Object
de.uplanet.lucy.server.menu.rt.AbstractMenuItem
de.uplanet.lucy.server.menu.rt.AbstractContainerMenuItem
- Bekannte direkte Unterklassen:
CmsMenuItem,ContainerMenuItem,RootMenuItem,TopLevelGroupMenuItem
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungchildren()Get the children of this menu item.intGet the number of children of this node.getDescendantOrSelf(String p_strId) Get the menu item with the specified unique identifier from this subtree.booleanCheck if this menu item has children.booleanVon Klasse geerbte Methoden de.uplanet.lucy.server.menu.rt.AbstractMenuItem
clone, getGuid, getLevel, getLevelRelative, getName, getNames, getNextSibling, getParent, getPreviousSibling, getProperties, getProperty, hasName, hasParent, hasProperty, isApplicationMenuItem, isCmsMenuItem, isContainerMenuItem, isFirstChild, isLastChild, isLinkMenuItem, isRootMenuItem, isSeparatorMenuItem, isTopLevelGroupMenuItem
-
Konstruktordetails
-
AbstractContainerMenuItem
-
-
Methodendetails
-
hasChildren
public boolean hasChildren()Beschreibung aus Schnittstelle kopiert:IMenuItemCheck if this menu item has children.- Gibt zurück:
trueif this menu item has children, orfalseotherwise.
-
hasContainerChildren
public boolean hasContainerChildren() -
getChildrenCount
public int getChildrenCount()Beschreibung aus Schnittstelle kopiert:IMenuItemGet the number of children of this node.- Gibt zurück:
- The number of children.
-
children
Beschreibung aus Schnittstelle kopiert:IMenuItemGet the children of this menu item. If the menu item has no children, an empty array is returned.- Gibt zurück:
- The children of this menu item (never
null).
-
getDescendantOrSelf
Beschreibung aus Schnittstelle kopiert:IMenuItemGet the menu item with the specified unique identifier from this subtree.- Parameter:
p_strId- The menu item's unique identifier.- Gibt zurück:
- The menu item with the given unique identifier, or
nullif the menu item does not exist in this subtree.
-