Package org.teamapps.ux.component.tree
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 PARENTgetParent()booleanisExpanded()Wheter or not this node is initially expanded.booleanisLazyChildren()Whether or not this node has children that are not sent to the client directly but need to be lazy-loaded.booleanisSelectable()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
-
TreeNodeInfoImpl
-
TreeNodeInfoImpl
-
TreeNodeInfoImpl
public TreeNodeInfoImpl(PARENT parent, boolean isExpanded, boolean selectable, boolean lazyChildren)
-
-
Method Details
-
getParent
- Specified by:
getParentin interfaceTreeNodeInfo
-
isExpanded
public boolean isExpanded()Description copied from interface:TreeNodeInfoWheter or not this node is initially expanded. The user can of course change the expansion state.- Specified by:
isExpandedin interfaceTreeNodeInfo
-
isSelectable
public boolean isSelectable()Description copied from interface:TreeNodeInfoWhether or not this node is selectable by the user.- Specified by:
isSelectablein interfaceTreeNodeInfo
-
isLazyChildren
public boolean isLazyChildren()Description copied from interface:TreeNodeInfoWhether or not this node has children that are not sent to the client directly but need to be lazy-loaded.- Specified by:
isLazyChildrenin interfaceTreeNodeInfo
-