Top Description Fields Constructors Methods
impl.org.controlsfx.tableview2

public Class RowHeader<S>

extends StackPane
Class Inheritance
Type Parameters
<S>
The type of the objects contained within the TableView2 items list.
Imports
javafx.beans.InvalidationListener, .Observable, javafx.beans.binding.Bindings, javafx.beans.property.DoubleProperty, .ReadOnlyDoubleProperty, .SimpleDoubleProperty, .SimpleStringProperty, javafx.beans.value.ChangeListener, javafx.collections.ListChangeListener, javafx.scene.control.Label, .ScrollBar, .SortEvent, javafx.scene.layout.StackPane, javafx.scene.shape.Rectangle, org.controlsfx.control.tableview2.FilteredTableColumn, .FilteredTableView, .TableColumn2, .TableView2, java.util.stream.Collectors

Display the row header on the left of the cells (view), where the user can display any content via TableView2#getRowHeader().

Field Summary

Modifier and TypeField and Description
private Rectangle
private final DoubleProperty
innerRowHeaderWidth

This represents the RowHeader width.

private TableView2Skin<S>
private final TableView2<S>
private final InvalidationListener
layout

************************************************************************ Listeners * * ***********************************************************************

private ListChangeListener<Integer>
private TableView2Skin<S>
private boolean
private double
private ListChangeListener<Integer>
private final TableView2<S>
tableView

************************************************************************ Private Fields * * ***********************************************************************

Constructor Summary

AccessConstructor and Description
public
RowHeader(TableView2<S>
***************************************************************
tableView
)

**************************************************************** CONSTRUCTOR

Method Summary

Modifier and TypeMethod and Description
public double
private TableColumn2<S, String>
public TableView2<S>
public double
pack-priv void
init(final TableView2Skin<S> skin, TableHeaderRow2 tableColumnHeader)

Init

protected void
layoutChildren()

Overrides javafx.scene.layout.StackPane.layoutChildren.

Invoked during the layout pass to layout the children in this Parent.

public ReadOnlyDoubleProperty
private void
private void
Inherited from javafx.scene.layout.StackPane:
alignmentPropertyclearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthgetAlignmentgetAlignmentgetClassCssMetaDatagetContentBiasgetCssMetaDatagetMarginrequestLayoutsetAlignmentsetAlignmentsetMargin

Field Detail

clipback to summary
private Rectangle clip
innerRowHeaderWidthback to summary
private final DoubleProperty innerRowHeaderWidth

This represents the RowHeader width. It's the total amount of space used by the RowHeader TableView2#getRowHeaderWidth().

innerSkinback to summary
private TableView2Skin<S> innerSkin
innerTableViewback to summary
private final TableView2<S> innerTableView
layoutback to summary
private final InvalidationListener layout

************************************************************************ Listeners * * ***********************************************************************

rowHeaderSelectionListenerback to summary
private ListChangeListener<Integer> rowHeaderSelectionListener
skinback to summary
private TableView2Skin<S> skin
sortingback to summary
private boolean sorting
tableColumnHeaderHeightback to summary
private double tableColumnHeaderHeight
tableSelectionListenerback to summary
private ListChangeListener<Integer> tableSelectionListener
tableViewback to summary
private final TableView2<S> tableView

************************************************************************ Private Fields * * ***********************************************************************

Constructor Detail

RowHeaderback to summary
public RowHeader(TableView2<S> tableView)

**************************************************************** CONSTRUCTOR

Parameters
tableView:TableView2<S>

***************************************************************

Method Detail

computeHeaderWidthback to summary
public double computeHeaderWidth()
getDefaultTableColumnback to summary
private TableColumn2<S, String> getDefaultTableColumn()
getParentTableViewback to summary
public TableView2<S> getParentTableView()
getRowHeaderWidthback to summary
public double getRowHeaderWidth()
initback to summary
pack-priv void init(final TableView2Skin<S> skin, TableHeaderRow2 tableColumnHeader)

Init

layoutChildrenback to summary
protected void layoutChildren()

Overrides javafx.scene.layout.StackPane.layoutChildren.

Doc from javafx.scene.Parent.layoutChildren.

Invoked during the layout pass to layout the children in this Parent. By default it will only set the size of managed, resizable content to their preferred sizes and does not do any node positioning.

Subclasses should override this function to layout content as needed.

Annotations
@Override
rowHeaderWidthPropertyback to summary
public ReadOnlyDoubleProperty rowHeaderWidthProperty()
setContentback to summary
private void setContent()
setScrollbarsback to summary
private void setScrollbars()