Package io.deephaven.web.client.api.tree
Class JsTreeTable.TreeSubscription.TreeRowImpl
java.lang.Object
io.deephaven.web.client.api.subscription.AbstractTableSubscription.SubscriptionRow
io.deephaven.web.client.api.tree.JsTreeTable.TreeSubscription.TreeRowImpl
- All Implemented Interfaces:
TableData.Row,TreeViewportData.TreeRow
- Enclosing class:
- JsTreeTable.TreeSubscription
public class JsTreeTable.TreeSubscription.TreeRowImpl
extends AbstractTableSubscription.SubscriptionRow
implements TreeViewportData.TreeRow
-
Field Summary
Fields inherited from class io.deephaven.web.client.api.subscription.AbstractTableSubscription.SubscriptionRow
index, indexCached -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendKeyData(Object[][] keyTableData, double action) intdepth()The number of levels above this node; zero for top level nodes.jsinterop.base.AnybooleanTrue if this node has children and can be expanded; false otherwise.booleanTrue if this node is currently expanded to show its children; false otherwise.Methods inherited from class io.deephaven.web.client.api.subscription.AbstractTableSubscription.SubscriptionRow
getIndexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.web.client.api.TableData.Row
getIndex
-
Constructor Details
-
TreeRowImpl
-
-
Method Details
-
isExpanded
public boolean isExpanded()Description copied from interface:TreeViewportData.TreeRowTrue if this node is currently expanded to show its children; false otherwise. Those children will be the rows below this one with a greater depth than this one.- Specified by:
isExpandedin interfaceTreeViewportData.TreeRow- Returns:
- boolean
-
hasChildren
public boolean hasChildren()Description copied from interface:TreeViewportData.TreeRowTrue if this node has children and can be expanded; false otherwise. Note that this value may change when the table updates, depending on the table's configuration.- Specified by:
hasChildrenin interfaceTreeViewportData.TreeRow- Returns:
- boolean
-
depth
public int depth()Description copied from interface:TreeViewportData.TreeRowThe number of levels above this node; zero for top level nodes. Generally used by the UI to indent the row and its expand/collapse icon.- Specified by:
depthin interfaceTreeViewportData.TreeRow- Returns:
- int
-
appendKeyData
-
get
- Specified by:
getin interfaceTableData.Row- Overrides:
getin classAbstractTableSubscription.SubscriptionRow
-
getFormat
- Specified by:
getFormatin interfaceTableData.Row- Overrides:
getFormatin classAbstractTableSubscription.SubscriptionRow
-