Interface TethysUITreeManager.TethysUITreeItem<T>

Type Parameters:
T - the data type
All Known Implementing Classes:
TethysUICoreTreeManager.TethysUICoreTreeItem
Enclosing interface:
TethysUITreeManager<T>

public static interface TethysUITreeManager.TethysUITreeItem<T>
TreeItem class.
  • Method Details

    • getItem

      T getItem()
      Obtain the item.
      Returns:
      the item
    • getIconId

      TethysUIIconId getIconId()
      Obtain the iconId.
      Returns:
      the iconId
    • getName

      String getName()
      Obtain the unique name.
      Returns:
      the name
    • getParent

      Obtain the parent.
      Returns:
      the parent
    • getTree

      Obtain the tree.
      Returns:
      the tree
    • isVisible

      boolean isVisible()
      Is the item visible?
      Returns:
      true/false
    • isRoot

      boolean isRoot()
      Is the item root?
      Returns:
      true/false
    • setItem

      void setItem(T pItem)
      Set the item.
      Parameters:
      pItem - the item
    • setIcon

      void setIcon(TethysUIIconId pIconId)
      Set the iconId.
      Parameters:
      pIconId - the iconId
    • setVisible

      void setVisible(boolean pVisible)
      Set the visibility of the item.
      Parameters:
      pVisible - true/false
    • hasChildren

      boolean hasChildren()
      Do we have children?
      Returns:
      true/false
    • countPreviousVisibleSiblings

      int countPreviousVisibleSiblings()
      Count previous visible items.
      Returns:
      the count
    • removeChildren

      void removeChildren()
      Remove all children.
    • setFocus

      void setFocus()
      Set focus to this item.