Class TreeTableRowSkin<T>

Type Parameters:
T - the type of the item contained within the row
All Implemented Interfaces:
Skin<TreeTableRow<T>>

public class TreeTableRowSkin<T> extends TableRowSkinBase<TreeItem<T>,TreeTableRow<T>,TreeTableCell<T,?>>
Default skin implementation for the TreeTableRow control.
Since:
9
See Also:
  • Property Details Link icon

  • Constructor Details Link icon

    • TreeTableRowSkin Link icon

      public TreeTableRowSkin(TreeTableRow<T> control)
      Creates a new TreeTableRowSkin instance, installing the necessary child nodes into the Control children list, as well as the necessary input mappings for handling key, mouse, etc events.
      Parameters:
      control - The control that this skin should be installed onto.
  • Method Details Link icon

    • setIndent Link icon

      public final void setIndent(double value)
      Sets the value of the indent property.
      Property description:
      The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS
      Parameters:
      value - the value for the indent property
      See Also:
    • getIndent Link icon

      public final double getIndent()
      Gets the value of the indent property.
      Property description:
      The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS
      Returns:
      the value of the indent property
      See Also:
    • indentProperty Link icon

      public final DoubleProperty indentProperty()
      The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS
      Returns:
      the indent property
      See Also:
    • createCell Link icon

      protected TreeTableCell<T,?> createCell(TableColumnBase tcb)
      Creates a new cell instance that is suitable for representing the given table column instance.
      Specified by:
      createCell in class TableRowSkinBase<TreeItem<T>,TreeTableRow<T>,TreeTableCell<T,?>>
      Parameters:
      tcb - the table column
      Returns:
      the created cell
    • getVisibleLeafColumns Link icon

      protected ObservableList<TreeTableColumn<T,?>> getVisibleLeafColumns()
      Returns an unmodifiable list containing the currently visible leaf columns.
      Specified by:
      getVisibleLeafColumns in class TableRowSkinBase<TreeItem<T>,TreeTableRow<T>,TreeTableCell<T,?>>
      Returns:
      the list of visible leaf columns
    • updateCell Link icon

      protected void updateCell(TreeTableCell<T,?> cell, TreeTableRow<T> row)
      A method to allow the given cell to be told that it is a member of the given row. How this is implemented is dependent on the actual cell implementation.
      Specified by:
      updateCell in class TableRowSkinBase<TreeItem<T>,TreeTableRow<T>,TreeTableCell<T,?>>
      Parameters:
      cell - The cell for which we want to inform it of its owner row.
      row - The row which will be set on the given cell.
    • getTableColumn Link icon

      protected TreeTableColumn<T,?> getTableColumn(TreeTableCell cell)
      Returns the TableColumnBase instance for the given cell instance.
      Specified by:
      getTableColumn in class TableRowSkinBase<TreeItem<T>,TreeTableRow<T>,TreeTableCell<T,?>>
      Parameters:
      cell - The cell for which a TableColumn is desired.
      Returns:
      the table column
    • getClassCssMetaData Link icon

      public static List<CssMetaData<? extends Styleable,?>> getClassCssMetaData()
      Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.
      Returns:
      the CssMetaData associated with this class, which may include the CssMetaData of its superclasses