Interface NavigationNode

All Superinterfaces:
Cloneable
All Known Implementing Classes:
AbstractNavigationNode, Group, NavigationModel, View

public interface NavigationNode extends Cloneable
NavigationNode represents a node in a NavigationModel.
Author:
Herko ter Horst
  • Method Details Link icon

    • getId Link icon

      String getId()
      Get the ID of the node.
      Returns:
      the ID of the node
    • isHidden Link icon

      boolean isHidden()
      Is the node hidden?
      Returns:
      true if the node is hidden, false otherwise
    • setHidden Link icon

      void setHidden(boolean hidden)
      Set the hidden status of the node.
      Parameters:
      hidden - the new hidden status of the node
    • isEnabled Link icon

      boolean isEnabled()
      Is the node enabled/active?
      Returns:
      true if the node is enabled, false otherwise
    • setEnabled Link icon

      void setEnabled(boolean enabled)
      Set the enabled status of the node.
      Parameters:
      enabled - the new enabled status of the node
    • getParent Link icon

      NavigationNode getParent()
      Get the parent node of this node.
      Returns:
      the parent node of this node, or null if this node is the root NavigationModel
    • setParent Link icon

      void setParent(NavigationNode parent)
      Set the parent of this node.
      Parameters:
      parent - the new parent of this node
    • isParent Link icon

      boolean isParent(NavigationNode node)
      Is this node a parent of the specified node?
      Parameters:
      node - the node to check
      Returns:
      true if this node is a direct or indirect parent of the specified node, false otherwise
    • getDepth Link icon

      int getDepth()
      Get the depth of this node in the hierarchy. The root NavigationModel has depth 0, all other nodes have a depth equal to the depth of their parent + 1.
      Returns:
      the depth of the node in the hierarhcy
    • getPathPrefix Link icon

      String getPathPrefix()
    • getPathSeparator Link icon

      String getPathSeparator()
    • getPath Link icon

      String getPath()
    • setPath Link icon

      void setPath(String path)
    • getIconPrefix Link icon

      String getIconPrefix()
    • getIconSeparator Link icon

      String getIconSeparator()
    • getIconSuffix Link icon

      String getIconSuffix()
    • getIcon Link icon

      String getIcon()
    • setIcon Link icon

      void setIcon(String icon)
    • getI18nPrefix Link icon

      String getI18nPrefix()
    • getI18nSeparator Link icon

      String getI18nSeparator()
    • getI18nSuffix Link icon

      String getI18nSuffix()
    • getI18n Link icon

      String getI18n()
    • setI18n Link icon

      void setI18n(String i18n)
    • getViewSuffix Link icon

      String getViewSuffix()
    • setViewSuffix Link icon

      void setViewSuffix(String suffix)