Class LinkMenuItem

java.lang.Object
de.uplanet.lucy.server.menu.rt.AbstractMenuItem
de.uplanet.lucy.server.menu.rt.LinkMenuItem
All Implemented Interfaces:
IMenuItem, Cloneable

public final class LinkMenuItem extends AbstractMenuItem
  • Constructor Details

    • LinkMenuItem

      public LinkMenuItem(String p_strId)
  • Method Details

    • clone

      public LinkMenuItem clone()
      Specified by:
      clone in class AbstractMenuItem
    • isLinkMenuItem

      public boolean isLinkMenuItem()
      Description copied from interface: IMenuItem
      Indicates if this menu item is a link menu item.
      Specified by:
      isLinkMenuItem in interface IMenuItem
      Overrides:
      isLinkMenuItem in class AbstractMenuItem
      Returns:
      Always true.
    • getApplicationGuid

      public String getApplicationGuid()
    • getLink

      public String getLink()
    • isOpenNewWindow

      public boolean isOpenNewWindow()
    • hasChildren

      public boolean hasChildren()
      Description copied from interface: IMenuItem
      Check if this menu item has children.
      Returns:
      Always false.
    • getChildrenCount

      public int getChildrenCount()
      Description copied from interface: IMenuItem
      Get the number of children of this node.
      Returns:
      Always 0.
    • children

      public IMenuItem[] children()
      Description copied from interface: IMenuItem
      Get the children of this menu item. If the menu item has no children, an empty array is returned.
      Returns:
      Always an empty array.
    • getDescendantOrSelf

      public IMenuItem getDescendantOrSelf(String p_strId)
      Description copied from interface: IMenuItem
      Get the menu item with the specified unique identifier from this subtree.
      Parameters:
      p_strId - The menu item's unique identifier.
      Returns:
      The menu item with the given unique identifier, or null if the menu item does not exist in this subtree.