public class TableViewSkin<T> extends TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
Modifier and Type | Field and Description |
---|---|
private TableView<T> |
tableView |
forceCellRecreate, needCellsRebuilt, needCellsReconfigured, needCellsRecreated, RECREATE, REFRESH
flow, rowCountDirty
IS_TOUCH_SUPPORTED
Constructor and Description |
---|
TableViewSkin(TableView<T> tableView) |
Modifier and Type | Method and Description |
---|---|
protected ObjectProperty<Callback<ResizeFeaturesBase,java.lang.Boolean>> |
columnResizePolicyProperty() |
TableRow<T> |
createCell()
Returns a Cell available to be used in the virtual flow.
|
protected void |
edit(int index,
TableColumn<T,?> column) |
protected void |
executeAccessibleAction(AccessibleAction action,
java.lang.Object... parameters) |
protected ObservableList<TableColumn<T,?>> |
getColumns() |
protected TablePosition<T,?> |
getFocusedCell() |
protected TableView.TableViewFocusModel<T> |
getFocusModel() |
int |
getItemCount()
Returns the total number of items in this container, including those
that are currently hidden because they are out of view.
|
protected TableSelectionModel<T> |
getSelectionModel()
*
Abstract Methods *
*
|
protected ObservableList<TableColumn<T,?>> |
getSortOrder() |
protected TableColumn<T,?> |
getVisibleLeafColumn(int col) |
protected ObservableList<TableColumn<T,?>> |
getVisibleLeafColumns() |
protected int |
getVisibleLeafIndex(TableColumn<T,?> tc) |
protected void |
handleControlPropertyChanged(java.lang.String p)
*
Public API *
*
|
protected void |
horizontalScroll() |
protected ObjectProperty<ObservableList<T>> |
itemsProperty() |
protected ObjectProperty<Node> |
placeholderProperty() |
java.lang.Object |
queryAccessibleAttribute(AccessibleAttribute attribute,
java.lang.Object... parameters) |
protected boolean |
resizeColumn(TableColumn<T,?> tc,
double delta) |
protected void |
resizeColumnToFitContent(TableColumn<T,?> tc,
int maxRows) |
protected ObjectProperty<Callback<TableView<T>,TableRow<T>>> |
rowFactoryProperty() |
protected BooleanProperty |
tableMenuButtonVisibleProperty() |
computePrefHeight, computePrefWidth, createTableHeaderRow, dispose, getColumnReorderLine, getTableHeaderRow, init, isColumnPartiallyOrFullyVisible, layoutChildren, onFocusNextCell, onFocusPreviousCell, onMoveToFirstCell, onMoveToLastCell, onScrollPageDown, onScrollPageUp, onSelectLeftCell, onSelectNextCell, onSelectPreviousCell, onSelectRightCell, scrollHorizontally, scrollHorizontally, updatePlaceholderRegionVisibility, updateRowCount, updateTableItems
checkState, createVirtualFlow, getMaxCellWidth, getVirtualFlowPreferredHeight
getBehavior, registerChangeListener, unregisterChangeListener
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, consumeMouseEvents, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace
protected void handleControlPropertyChanged(java.lang.String p)
TableViewSkinBase
handleControlPropertyChanged
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected ObservableList<TableColumn<T,?>> getVisibleLeafColumns()
getVisibleLeafColumns
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected int getVisibleLeafIndex(TableColumn<T,?> tc)
getVisibleLeafIndex
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected TableColumn<T,?> getVisibleLeafColumn(int col)
getVisibleLeafColumn
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected TableView.TableViewFocusModel<T> getFocusModel()
getFocusModel
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected TablePosition<T,?> getFocusedCell()
getFocusedCell
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected TableSelectionModel<T> getSelectionModel()
getSelectionModel
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected ObjectProperty<Callback<TableView<T>,TableRow<T>>> rowFactoryProperty()
rowFactoryProperty
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected ObjectProperty<Node> placeholderProperty()
placeholderProperty
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected ObjectProperty<ObservableList<T>> itemsProperty()
itemsProperty
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected ObservableList<TableColumn<T,?>> getColumns()
getColumns
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected BooleanProperty tableMenuButtonVisibleProperty()
tableMenuButtonVisibleProperty
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected ObjectProperty<Callback<ResizeFeaturesBase,java.lang.Boolean>> columnResizePolicyProperty()
columnResizePolicyProperty
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected ObservableList<TableColumn<T,?>> getSortOrder()
getSortOrder
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected boolean resizeColumn(TableColumn<T,?> tc, double delta)
resizeColumn
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected void edit(int index, TableColumn<T,?> column)
edit
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
protected void resizeColumnToFitContent(TableColumn<T,?> tc, int maxRows)
resizeColumnToFitContent
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
public int getItemCount()
getItemCount
in class VirtualContainerBase<TableView<T>,TableViewBehavior<T>,TableRow<T>>
public TableRow<T> createCell()
createCell
in class VirtualContainerBase<TableView<T>,TableViewBehavior<T>,TableRow<T>>
protected void horizontalScroll()
horizontalScroll
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
public java.lang.Object queryAccessibleAttribute(AccessibleAttribute attribute, java.lang.Object... parameters)
queryAccessibleAttribute
in class TableViewSkinBase<T,T,TableView<T>,TableViewBehavior<T>,TableRow<T>,TableColumn<T,?>>
Node.queryAccessibleAttribute(javafx.scene.AccessibleAttribute, java.lang.Object...)
protected void executeAccessibleAction(AccessibleAction action, java.lang.Object... parameters)
executeAccessibleAction
in class SkinBase<TableView<T>>
Node.executeAccessibleAction(javafx.scene.AccessibleAction, java.lang.Object...)