Class TreeNodeInfoImpl<PARENT>

java.lang.Object
org.teamapps.ux.component.tree.TreeNodeInfoImpl<PARENT>
All Implemented Interfaces:
TreeNodeInfo

public class TreeNodeInfoImpl<PARENT>
extends java.lang.Object
implements TreeNodeInfo
  • Constructor Summary

    Constructors
    Constructor Description
    TreeNodeInfoImpl​(PARENT parent)  
    TreeNodeInfoImpl​(PARENT parent, boolean isExpanded)  
    TreeNodeInfoImpl​(PARENT parent, boolean isExpanded, boolean selectable)  
    TreeNodeInfoImpl​(PARENT parent, boolean isExpanded, boolean selectable, boolean lazyChildren)  
  • Method Summary

    Modifier and Type Method Description
    PARENT getParent()  
    boolean isExpanded()
    Wheter or not this node is initially expanded.
    boolean isLazyChildren()
    Whether or not this node has children that are not sent to the client directly but need to be lazy-loaded.
    boolean isSelectable()
    Whether or not this node is selectable by the user.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TreeNodeInfoImpl

      public TreeNodeInfoImpl​(PARENT parent)
    • TreeNodeInfoImpl

      public TreeNodeInfoImpl​(PARENT parent, boolean isExpanded)
    • TreeNodeInfoImpl

      public TreeNodeInfoImpl​(PARENT parent, boolean isExpanded, boolean selectable)
    • TreeNodeInfoImpl

      public TreeNodeInfoImpl​(PARENT parent, boolean isExpanded, boolean selectable, boolean lazyChildren)
  • Method Details

    • getParent

      public PARENT getParent()
      Specified by:
      getParent in interface TreeNodeInfo
    • isExpanded

      public boolean isExpanded()
      Description copied from interface: TreeNodeInfo
      Wheter or not this node is initially expanded. The user can of course change the expansion state.
      Specified by:
      isExpanded in interface TreeNodeInfo
    • isSelectable

      public boolean isSelectable()
      Description copied from interface: TreeNodeInfo
      Whether or not this node is selectable by the user.
      Specified by:
      isSelectable in interface TreeNodeInfo
    • isLazyChildren

      public boolean isLazyChildren()
      Description copied from interface: TreeNodeInfo
      Whether or not this node has children that are not sent to the client directly but need to be lazy-loaded.
      Specified by:
      isLazyChildren in interface TreeNodeInfo