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

public Class TableViewSkin<T>

extends TableViewSkinBase<T, T, TableView<T>, TableRow<T>, TableColumn<T, ?>>
Class Inheritance
Type Parameters
<T>
the type of the item stored in each row
Imports
java.util.ArrayList, .List, javafx.collections.FXCollections, .ObservableList, javafx.event.EventHandler, javafx.geometry.NodeOrientation, javafx.scene.AccessibleAction, .AccessibleAttribute, .Node, javafx.scene.control.Control, .ScrollBar, .TableCell, .TableColumn, .TablePosition, .TableRow, .TableSelectionModel, .TableView, .TableView.TableViewSelectionModel, javafx.scene.input.MouseEvent, com.sun.javafx.scene.control.ListenerHelper, com.sun.javafx.scene.control.behavior.TableViewBehavior

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

Field Summary

Modifier and TypeField and Description
private final TableViewBehavior<T>
Inherited from javafx.scene.control.skin.TableViewSkinBase:
flowneedCellsReconfiguredneedCellsRecreated

Constructor Summary

AccessConstructor and Description
public
TableViewSkin(final TableView<T>
The control that this skin should be installed onto.
control
)

Creates a new TableViewSkin 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
private TableRow<T>
public void
dispose()

Overrides javafx.scene.control.skin.TableViewSkinBase.dispose.

Implements javafx.scene.control.Skin.dispose.

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

protected void
executeAccessibleAction(AccessibleAction action, Object... parameters)

Overrides javafx.scene.control.SkinBase.executeAccessibleAction.

This method is called by the assistive technology to request the action indicated by the argument should be executed.

protected int
getItemCount()

Implements abstract javafx.scene.control.skin.VirtualContainerBase.getItemCount.

Returns the total number of items in this container, including those that are currently hidden because they are out of view.

pack-priv void
private void
horizontalUnitScroll(boolean right)

public Object
queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)

Overrides javafx.scene.control.skin.TableViewSkinBase.queryAccessibleAttribute.

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

private void
verticalUnitScroll(boolean down)

Inherited from javafx.scene.control.skin.TableViewSkinBase:
computePrefHeightcomputePrefWidthcreateTableHeaderRowgetColumnReorderLinegetTableHeaderRowlayoutChildrenonFocusAboveCellonFocusBelowCellonFocusLeftCellonFocusRightCellonMoveToFirstCellonMoveToLastCellonScrollPageDownonScrollPageUponSelectAboveCellonSelectBelowCellonSelectLeftCellonSelectRightCellscrollHorizontallyscrollHorizontallyupdateItemCountupdatePlaceholderRegionVisibilityupdateSuppressBreadthBar

Field Detail

behaviorback to summary
private final TableViewBehavior<T> behavior

Constructor Detail

TableViewSkinback to summary
public TableViewSkin(final TableView<T> control)

Creates a new TableViewSkin 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:TableView<T>

The control that this skin should be installed onto.

Method Detail

createCellback to summary
private TableRow<T> createCell()
disposeback to summary
public void dispose()

Overrides javafx.scene.control.skin.TableViewSkinBase.dispose.

Implements javafx.scene.control.Skin.dispose.

Doc from javafx.scene.control.skin.TableViewSkinBase.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.

Overridden to remove EventHandler.

Annotations
@Override
executeAccessibleActionback to summary
protected void executeAccessibleAction(AccessibleAction action, Object... parameters)

Overrides javafx.scene.control.SkinBase.executeAccessibleAction.

Doc from javafx.scene.control.SkinBase.executeAccessibleAction.

This method is called by the assistive technology to request the action indicated by the argument should be executed.

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

Annotations
@Override
getItemCountback to summary
protected int getItemCount()

Implements abstract javafx.scene.control.skin.VirtualContainerBase.getItemCount.

Doc from javafx.scene.control.skin.VirtualContainerBase.getItemCount.

Returns the total number of items in this container, including those that are currently hidden because they are out of view.

Annotations
@Override
horizontalScrollback to summary
pack-priv void horizontalScroll()

Overrides javafx.scene.control.skin.TableViewSkinBase.horizontalScroll.

Annotations
@Override
horizontalUnitScrollback to summary
private void horizontalUnitScroll(boolean right)
queryAccessibleAttributeback to summary
public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)

Overrides javafx.scene.control.skin.TableViewSkinBase.queryAccessibleAttribute.

Doc from javafx.scene.control.skin.TableViewSkinBase.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.

Annotations
@Override
verticalUnitScrollback to summary
private void verticalUnitScroll(boolean down)