Klasse AbstractContainerMenuItem

java.lang.Object
de.uplanet.lucy.server.menu.rt.AbstractMenuItem
de.uplanet.lucy.server.menu.rt.AbstractContainerMenuItem
Alle implementierten Schnittstellen:
IMenuItem, Cloneable
Bekannte direkte Unterklassen:
CmsMenuItem, ContainerMenuItem, RootMenuItem, TopLevelGroupMenuItem

public abstract class AbstractContainerMenuItem extends AbstractMenuItem
  • Konstruktordetails

    • AbstractContainerMenuItem

      public AbstractContainerMenuItem(String p_strId)
  • Methodendetails

    • hasChildren

      public boolean hasChildren()
      Beschreibung aus Schnittstelle kopiert: IMenuItem
      Check if this menu item has children.
      Gibt zurück:
      true if this menu item has children, or false otherwise.
    • hasContainerChildren

      public boolean hasContainerChildren()
    • getChildrenCount

      public int getChildrenCount()
      Beschreibung aus Schnittstelle kopiert: IMenuItem
      Get the number of children of this node.
      Gibt zurück:
      The number of children.
    • children

      public IMenuItem[] children()
      Beschreibung aus Schnittstelle kopiert: IMenuItem
      Get 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

      public IMenuItem getDescendantOrSelf(String p_strId)
      Beschreibung aus Schnittstelle kopiert: IMenuItem
      Get 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 null if the menu item does not exist in this subtree.