Class DItemTree.Tree

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, org.kopi.galite.visual.base.UComponent, org.kopi.galite.visual.UItemTree.UTreeComponent
Enclosing class:
DItemTree

public class DItemTree.Tree extends JTree implements org.kopi.galite.visual.UItemTree.UTreeComponent
See Also:
  • Constructor Details

  • Method Details

    • isExpanded

      public boolean isExpanded(Object path)
      Specified by:
      isExpanded in interface org.kopi.galite.visual.UItemTree.UTreeComponent
    • isCollapsed

      public boolean isCollapsed(Object path)
      Specified by:
      isCollapsed in interface org.kopi.galite.visual.UItemTree.UTreeComponent
    • getSelectionRow

      public int getSelectionRow()
      Specified by:
      getSelectionRow in interface org.kopi.galite.visual.UItemTree.UTreeComponent
    • getItems

      public org.kopi.galite.visual.Item[] getItems()
      Return items array
      Specified by:
      getItems in interface org.kopi.galite.visual.UItemTree.UTreeComponent
    • getItems

      public List<org.kopi.galite.visual.Item> getItems(TreeNode node)
      Return items list
    • getRootItem

      public org.kopi.galite.visual.Item getRootItem()
      Return items array
      Specified by:
      getRootItem in interface org.kopi.galite.visual.UItemTree.UTreeComponent
    • getRootItem

      public org.kopi.galite.visual.Item getRootItem(TreeNode node)
      Return items list
    • isUnique

      public boolean isUnique(String name)
      Return true if the item name done is unique in this tree
      Specified by:
      isUnique in interface org.kopi.galite.visual.UItemTree.UTreeComponent
    • expandTree

      public void expandTree()
      Ensures that the selected nodes are expanded and viewable.
      Specified by:
      expandTree in interface org.kopi.galite.visual.UItemTree.UTreeComponent