Top Description Fields Constructors Methods
javafx.scene.control.skin

public Class TableRowSkin<T>

extends TableRowSkinBase<T, TableRow<T>, TableCell<T, ?>>
Class Inheritance
Type Parameters
<T>
the type of the item contained within the row
Imports
java.util.ArrayList, .List, com.sun.javafx.scene.control.behavior.BehaviorBase, .TableRowBehavior, javafx.beans.property.DoubleProperty, javafx.collections.FXCollections, .ObservableList, javafx.scene.AccessibleAttribute, .Node, javafx.scene.control.Control, .TableCell, .TableColumn, .TableColumnBase, .TablePosition, .TableRow, .TableView, .TableView.TableViewFocusModel

Default skin implementation for the TableRow control.
Since
9
See Also
TableRow

Field Summary

Modifier and TypeField and Description
private final BehaviorBase<TableRow<T>>
Inherited from javafx.scene.control.skin.TableRowSkinBase:
cellscellsMapfixedCellSizefixedCellSizeEnabledisDirtymaxDisclosureWidthMapupdateCells

Constructor Summary

AccessConstructor and Description
public
TableRowSkin(TableRow<T>
The control that this skin should be installed onto.
control
)

Creates a new TableRowSkin instance, installing the necessary child nodes into the Control children list, as well as the necessary input mappings for handling key, mouse, etc events.

Method Summary

Modifier and TypeMethod and Description
protected TableCell<T, ?>
createCell(TableColumnBase<S, T>
the table column
tcb
)

Implements abstract javafx.scene.control.skin.TableRowSkinBase.createCell.

Creates a new cell instance that is suitable for representing the given table column instance.

public void
dispose()

Overrides javafx.scene.control.skin.LabeledSkinBase.dispose.

Implements javafx.scene.control.Skin.dispose.

Called when a previously installed skin is about to be removed from its associated control.

protected TableColumn<T, ?>
getTableColumn(TableCell<T, ?>
The cell for which a TableColumn is desired.
cell
)

Implements abstract javafx.scene.control.skin.TableRowSkinBase.getTableColumn.

Returns the TableColumnBase instance for the given cell instance.

private TableView<T>
pack-priv TableViewSkin<T>
protected ObservableList<TableColumn<T, ?>>
getVisibleLeafColumns()

Implements abstract javafx.scene.control.skin.TableRowSkinBase.getVisibleLeafColumns.

Returns an unmodifiable list containing the currently visible leaf columns.

protected Object
queryAccessibleAttribute(AccessibleAttribute
the requested attribute
attribute
,
Object...
optional list of parameters
parameters
)

Overrides javafx.scene.control.skin.LabeledSkinBase.queryAccessibleAttribute.

This method is called by the assistive technology to request the value for an attribute.

private void
protected void
updateCell(TableCell<T, ?>
The cell for which we want to inform it of its owner row.
cell
,
TableRow<T>
The row which will be set on the given cell.
row
)

Implements abstract javafx.scene.control.skin.TableRowSkinBase.updateCell.

A method to allow the given cell to be told that it is a member of the given row.

Inherited from javafx.scene.control.skin.TableRowSkinBase:
checkStatecomputeMaxHeightcomputeMinHeightcomputePrefHeightcomputePrefWidthgetDisclosureNodegetIndentationLevelgetIndentationPerLevelgetTreeColumngetVirtualFlowgraphicPropertyisDirtyisDisclosureNodeVisibleisIndentationRequiredisShowRootlayoutChildrensetDirtyupdateCells

Field Detail

behaviorback to summary
private final BehaviorBase<TableRow<T>> behavior

Constructor Detail

TableRowSkinback to summary
public TableRowSkin(TableRow<T> control)

Creates a new TableRowSkin 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:TableRow<T>

The control that this skin should be installed onto.

Method Detail

createCellback to summary
protected TableCell<T, ?> createCell(TableColumnBase<S, T> tcb)

Implements abstract javafx.scene.control.skin.TableRowSkinBase.createCell.

Doc from javafx.scene.control.skin.TableRowSkinBase.createCell.

Creates a new cell instance that is suitable for representing the given table column instance.

Parameters
tcb:TableColumnBase<S, T>

the table column

Returns:TableCell<T, ?>

the created cell

Annotations
@Override
disposeback to summary
public void dispose()

Overrides javafx.scene.control.skin.LabeledSkinBase.dispose.

Implements javafx.scene.control.Skin.dispose.

Doc from javafx.scene.control.SkinBase.dispose.

Called when a previously installed skin is about to be removed from its associated control. This allows the skin to do clean up, like removing listeners and bindings, and undo any changes to the control's properties. After this method completes, getSkinnable() and getNode() should return null.

Calling dispose() more than once has no effect.

Annotations
@Override
getTableColumnback to summary
protected TableColumn<T, ?> getTableColumn(TableCell<T, ?> cell)

Implements abstract javafx.scene.control.skin.TableRowSkinBase.getTableColumn.

Doc from javafx.scene.control.skin.TableRowSkinBase.getTableColumn.

Returns the TableColumnBase instance for the given cell instance.

Parameters
cell:TableCell<T, ?>

The cell for which a TableColumn is desired.

Returns:TableColumn<T, ?>

the table column

Annotations
@Override
getTableViewback to summary
private TableView<T> getTableView()
getTableViewSkinback to summary
pack-priv TableViewSkin<T> getTableViewSkin()
getVisibleLeafColumnsback to summary
protected ObservableList<TableColumn<T, ?>> getVisibleLeafColumns()

Implements abstract javafx.scene.control.skin.TableRowSkinBase.getVisibleLeafColumns.

Doc from javafx.scene.control.skin.TableRowSkinBase.getVisibleLeafColumns.

Returns an unmodifiable list containing the currently visible leaf columns.

Returns:ObservableList<TableColumn<T, ?>>

the list of visible leaf columns

Annotations
@Override
queryAccessibleAttributeback to summary
protected Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)

Overrides javafx.scene.control.skin.LabeledSkinBase.queryAccessibleAttribute.

Doc from javafx.scene.control.skin.LabeledSkinBase.queryAccessibleAttribute.

This method is called by the assistive technology to request the value for an attribute.

This method is commonly overridden by subclasses to implement attributes that are required for a specific role.
If a particular attribute is not handled, the superclass implementation must be called.

Parameters
attribute:AccessibleAttribute

Doc from javafx.scene.control.SkinBase.queryAccessibleAttribute.

the requested attribute

parameters:Object[]

Doc from javafx.scene.control.SkinBase.queryAccessibleAttribute.

optional list of parameters

Returns:Object

Doc from javafx.scene.control.SkinBase.queryAccessibleAttribute.

the value for the requested attribute

Annotations
@Override
setupTreeTableViewListenersback to summary
private void setupTreeTableViewListeners()
updateCellback to summary
protected void updateCell(TableCell<T, ?> cell, TableRow<T> row)

Implements abstract javafx.scene.control.skin.TableRowSkinBase.updateCell.

Doc from javafx.scene.control.skin.TableRowSkinBase.updateCell.

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.

Parameters
cell:TableCell<T, ?>

The cell for which we want to inform it of its owner row.

row:TableRow<T>

The row which will be set on the given cell.

Annotations
@Override