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
  • Constructor Details

  • Method Details

    • isExpanded

      public boolean isExpanded()
      Description copied from interface: TreeViewportData.TreeRow
      true 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:
      isExpanded in interface TreeViewportData.TreeRow
      Returns:
      boolean
    • hasChildren

      public boolean hasChildren()
      Description copied from interface: TreeViewportData.TreeRow
      true 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:
      hasChildren in interface TreeViewportData.TreeRow
      Returns:
      boolean
    • depth

      public int depth()
      Description copied from interface: TreeViewportData.TreeRow
      The 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:
      depth in interface TreeViewportData.TreeRow
      Returns:
      int
    • appendKeyData

      public void appendKeyData(Object[][] keyTableData, double action)
    • get

      public jsinterop.base.Any get(Column column)
      Description copied from interface: TableData.Row
      Returns the value for the given column in this row.
      Specified by:
      get in interface TableData.Row
      Overrides:
      get in class AbstractTableSubscription.SubscriptionRow
      Parameters:
      column - the column to read
      Returns:
      the value in this row for the specified column
    • getFormat

      public Format getFormat(Column column)
      Description copied from interface: TableData.Row
      Returns the server-specified Format for the given column in this row.
      Specified by:
      getFormat in interface TableData.Row
      Overrides:
      getFormat in class AbstractTableSubscription.SubscriptionRow
      Parameters:
      column - the column to read
      Returns:
      the format details for the specified column in this row