S - The type of the objects contained within the TableView2 items list.public class TableView2<S>
extends javafx.scene.control.TableView<S>
TableView control, that can
be used as drop-in replacement control for the existing TableView, and provides
different functionalities and use cases.
TableView2 so that they
are always visible on screen.TableView2 so that
they are always visible on screen.FilteredTableView is a subclass of TableView2 with extended
filtering optionsColumnFixAction and RowFixAction. When fixed, the header's
background will show a darker color. For instance, these actions can be
attached to a ContextMenu that can be installed to the row header cells
with rowHeaderContextMenuFactory.
getFixedRows() and getFixedColumns(). But you
are strongly advised to check if it's possible to do so with
isColumnFixable(int) for the fixed columns and with
isRowFixable(int) for the fixed rows.
areRowsFixable(java.util.List) or
areTableViewColumnsFixable(java.util.List)
to verify if you can fix them.
Calling those methods prior every move will ensure that no exception will be thrown.
setRowHeaderVisible(boolean).
By default the row header will show the row index, but you can set the content
with setRowHeader(javafx.scene.control.TableColumn).
TextField2TableCell and
ComboBox2TableCell, providing support for commit on focus lost.
FilteredTableView for extended filtering options.
Let's provide the underlying data model, based on a Person class.
public class Person {
private StringProperty firstName;
public void setFirstName(String value) { firstNameProperty().set(value); }
public String getFirstName() { return firstNameProperty().get(); }
public StringProperty firstNameProperty() {
if (firstName == null) firstName = new SimpleStringProperty(this, "firstName");
return firstName;
}
private StringProperty lastName;
public void setLastName(String value) { lastNameProperty().set(value); }
public String getLastName() { return lastNameProperty().get(); }
public StringProperty lastNameProperty() {
if (lastName == null) lastName = new SimpleStringProperty(this, "lastName");
return lastName;
}
}
A TableView2 can be created, and filled with an observable list of people:
TableView2<Person> table = new TableView2<Person>();
ObservableList<Person> people = getPeople();
table.setItems(people);
Now we add two columns to the table:
TableColumn2<Person,String> firstNameCol = new TableColumn2<>("First Name");
firstNameCol.setCellValueFactory(p -> p.getValue().firstNameProperty());
TableColumn2<Person,String> lastNameCol = new TableColumn2<>("Last Name");
lastNameCol.setCellValueFactory(p -> p.getValue().lastNameProperty());
table.getColumns().setAll(firstNameCol, lastNameCol);
A cell factory that allows commit on focus lost can be set:
firstName.setCellFactory(TextField2TableCell.forTableColumn());
We can fix some row and columns, and also show the row header:
table.getFixedColumns().setAll(firstNameColumn);
table.getFixedRows().setAll(0, 1, 2);
table.setRowHeaderVisible(true);| Type | Property and Description |
|---|---|
javafx.beans.property.ReadOnlyBooleanProperty |
columnFixingEnabled
Return the Boolean property associated with the allowance of fixing or
unfixing some columns.
|
javafx.beans.property.ReadOnlyBooleanProperty |
rowFixingEnabled
Return the Boolean property associated with the allowance of fixing or
unfixing some rows.
|
javafx.beans.property.ObjectProperty<java.util.function.BiFunction<java.lang.Integer,S,javafx.scene.control.ContextMenu>> |
rowHeaderContextMenuFactory
An object property of a
BiFunction that can be used to define the
context menu of each row of the row header. |
javafx.beans.property.ObjectProperty<javafx.scene.control.TableColumn<S,?>> |
rowHeader
The row header property wraps a
TableColumn that can be used to
render the row header. |
javafx.beans.property.BooleanProperty |
rowHeaderVisible
BooleanProperty associated with the row Header.
|
javafx.beans.property.DoubleProperty |
rowHeaderWidth
This DoubleProperty represents the with of the rowHeader.
|
javafx.beans.property.BooleanProperty |
southHeaderBlended
This property allows the developer to blend the south table header row
with the regular table header row, so for each column, the regular header
and the south table column header look like a single one.
|
columnResizePolicy, comparator, editable, editingCell, fixedCellSize, focusModel, items, onScrollToColumn, onScrollTo, onSort, placeholder, rowFactory, selectionModel, sortPolicy, tableMenuButtonVisiblecontextMenu, skinClassName, skin, tooltipbackground, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthaccessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, impl_showMnemonics, impl_treeVisible, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, visible| Modifier and Type | Class and Description |
|---|---|
static class |
TableView2.SpanType
The SpanType describes in which state each cell can be.
|
| Constructor and Description |
|---|
TableView2()
Creates a TableView2 control with no content.
|
TableView2(javafx.collections.ObservableList<S> items)
Creates a TableView2 with the content provided in the items ObservableList.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
areRowsFixable(java.util.List<? extends java.lang.Integer> list)
Indicates whether a List of rows can be fixed or not.
|
javafx.beans.property.ReadOnlyBooleanProperty |
columnFixingEnabledProperty()
Return the Boolean property associated with the allowance of fixing or
unfixing some columns.
|
protected javafx.scene.control.Skin<?> |
createDefaultSkin() |
int |
getColumnSpan(javafx.scene.control.TablePosition<?,?> pos)
Return the current column span.
|
javafx.collections.ObservableList<javafx.scene.control.TableColumn> |
getFixedColumns()
You can fix or unfix a column by modifying this list.
|
javafx.collections.ObservableList<java.lang.Integer> |
getFixedRows()
You can fix or unfix a row by modifying this list.
|
javafx.scene.control.TableColumn<S,?> |
getRowHeader()
Gets the value of the property rowHeader.
|
java.util.function.BiFunction<java.lang.Integer,S,javafx.scene.control.ContextMenu> |
getRowHeaderContextMenuFactory()
Gets the value of the property rowHeaderContextMenuFactory.
|
double |
getRowHeaderWidth() |
int |
getRowSpan(javafx.scene.control.TablePosition<?,?> pos,
int index)
Return the current row span at the given position in
the Table.
|
TableView2.SpanType |
getSpanType(int rowIndex,
int modelColumn)
Return the
TableView2.SpanType of a cell. |
java.lang.String |
getUserAgentStylesheet() |
boolean |
isColumnFixable(int columnIndex)
Indicate whether this column can be fixed or not.
|
boolean |
isColumnFixingEnabled()
Return whether changes to Fixed columns are enabled.
|
boolean |
isRowFixable(int row)
Indicate whether a row can be fixed or not.
|
boolean |
isRowFixingEnabled()
Return whether changes to Fixed rows are enabled.
|
boolean |
isRowHeaderVisible()
Return if the row header is showing.
|
boolean |
isSouthHeaderBlended()
Gets the value of the property southHeaderBlended.
|
javafx.beans.property.ReadOnlyBooleanProperty |
rowFixingEnabledProperty()
Return the Boolean property associated with the allowance of fixing or
unfixing some rows.
|
javafx.beans.property.ObjectProperty<java.util.function.BiFunction<java.lang.Integer,S,javafx.scene.control.ContextMenu>> |
rowHeaderContextMenuFactoryProperty()
An object property of a
BiFunction that can be used to define the
context menu of each row of the row header. |
javafx.beans.property.ObjectProperty<javafx.scene.control.TableColumn<S,?>> |
rowHeaderProperty()
The row header property wraps a
TableColumn that can be used to
render the row header. |
javafx.beans.property.BooleanProperty |
rowHeaderVisibleProperty()
BooleanProperty associated with the row Header.
|
javafx.beans.property.DoubleProperty |
rowHeaderWidthProperty()
This DoubleProperty represents the with of the rowHeader.
|
void |
setColumnFixingEnabled(boolean b)
If set to true, user will be allowed to fix and unfix the columns.
|
void |
setRowFixingEnabled(boolean b)
If set to true, user will be allowed to fix and unfix the rows.
|
void |
setRowHeader(javafx.scene.control.TableColumn<S,?> value)
Sets the value of the property rowHeader.
|
void |
setRowHeaderContextMenuFactory(java.util.function.BiFunction<java.lang.Integer,S,javafx.scene.control.ContextMenu> value)
Sets the value of the property rowHeaderContextMenuFactory.
|
void |
setRowHeaderVisible(boolean b)
Activate and deactivate the row header.
|
void |
setRowHeaderWidth(double value)
Specify a new width for the row header.
|
void |
setSouthHeaderBlended(boolean value)
Sets the value of the property southHeaderBlended.
|
void |
sort()
Overrides
TableView.sort() in order to fire custom sort events
when sorting starts and finishes. |
javafx.beans.property.BooleanProperty |
southHeaderBlendedProperty()
This property allows the developer to blend the south table header row
with the regular table header row, so for each column, the regular header
and the south table column header look like a single one.
|
columnResizePolicyProperty, comparatorProperty, edit, editableProperty, editingCellProperty, fixedCellSizeProperty, focusModelProperty, getClassCssMetaData, getColumnResizePolicy, getColumns, getComparator, getControlCssMetaData, getEditingCell, getFixedCellSize, getFocusModel, getItems, getOnScrollTo, getOnScrollToColumn, getOnSort, getPlaceholder, getRowFactory, getSelectionModel, getSortOrder, getSortPolicy, getVisibleLeafColumn, getVisibleLeafColumns, getVisibleLeafIndex, isEditable, isTableMenuButtonVisible, itemsProperty, onScrollToColumnProperty, onScrollToProperty, onSortProperty, placeholderProperty, queryAccessibleAttribute, refresh, resizeColumn, rowFactoryProperty, scrollTo, scrollTo, scrollToColumn, scrollToColumnIndex, selectionModelProperty, setColumnResizePolicy, setEditable, setFixedCellSize, setFocusModel, setItems, setOnScrollTo, setOnScrollToColumn, setOnSort, setPlaceholder, setRowFactory, setSelectionModel, setSortPolicy, setTableMenuButtonVisible, sortPolicyProperty, tableMenuButtonVisiblePropertycomputeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getContextMenu, getCssMetaData, getSkin, getTooltip, impl_cssGetFocusTraversableInitialValue, impl_processCSS, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinClassNameProperty, skinProperty, tooltipPropertybackgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace, snapToPixelProperty, widthPropertygetChildren, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBoundsaccessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_findStyles, impl_geomChanged, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visiblePropertypublic final javafx.beans.property.ReadOnlyBooleanProperty rowFixingEnabledProperty
isRowFixingEnabled(),
setRowFixingEnabled(boolean)public final javafx.beans.property.ReadOnlyBooleanProperty columnFixingEnabledProperty
public final javafx.beans.property.BooleanProperty rowHeaderVisibleProperty
isRowHeaderVisible(),
setRowHeaderVisible(boolean)public final javafx.beans.property.DoubleProperty rowHeaderWidthProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.control.TableColumn<S,?>> rowHeaderProperty
TableColumn that can be used to
render the row header.
By default, if this property is not set, a TableColumn will be used to
render the number of row, starting from 1.getRowHeader(),
setRowHeader(TableColumn)public final javafx.beans.property.ObjectProperty<java.util.function.BiFunction<java.lang.Integer,S,javafx.scene.control.ContextMenu>> rowHeaderContextMenuFactoryProperty
BiFunction that can be used to define the
context menu of each row of the row header.
See RowFixAction.public final javafx.beans.property.BooleanProperty southHeaderBlendedProperty
public TableView2()
public TableView2(javafx.collections.ObservableList<S> items)
items - The items to insert into the TableView2, and the list to watch
for changes (to automatically show in the TableView2).public int getRowSpan(javafx.scene.control.TablePosition<?,?> pos,
int index)
pos - the TablePositionindex - the indexpublic int getColumnSpan(javafx.scene.control.TablePosition<?,?> pos)
pos - The TablePositionpublic final javafx.collections.ObservableList<java.lang.Integer> getFixedRows()
isRowFixable(int) before trying to fix a row. See
TableView2 description for information.public final boolean isRowFixable(int row)
getFixedRows() .
A row cannot be fixed alone if any cell inside the row has a row span
superior to one.row - the number of rowpublic final boolean areRowsFixable(java.util.List<? extends java.lang.Integer> list)
list - List of rows indicespublic final boolean isRowFixingEnabled()
public final void setRowFixingEnabled(boolean b)
b - If set to true, user will be allowed to fix and unfix the rowspublic final javafx.beans.property.ReadOnlyBooleanProperty rowFixingEnabledProperty()
isRowFixingEnabled(),
setRowFixingEnabled(boolean)public final javafx.collections.ObservableList<javafx.scene.control.TableColumn> getFixedColumns()
public final boolean isColumnFixable(int columnIndex)
columnIndex - the number of columnpublic final boolean isColumnFixingEnabled()
public final void setColumnFixingEnabled(boolean b)
b - If set to true, user will be allowed to fix and unfix the columnspublic final javafx.beans.property.ReadOnlyBooleanProperty columnFixingEnabledProperty()
public final void setRowHeaderVisible(boolean b)
b - boolean to show or hide the headerpublic final boolean isRowHeaderVisible()
public final javafx.beans.property.BooleanProperty rowHeaderVisibleProperty()
isRowHeaderVisible(),
setRowHeaderVisible(boolean)public final javafx.beans.property.DoubleProperty rowHeaderWidthProperty()
public final void setRowHeaderWidth(double value)
value - the new widthpublic final double getRowHeaderWidth()
public final void setRowHeader(javafx.scene.control.TableColumn<S,?> value)
TableColumn that can be used to
render the row header.
By default, if this property is not set, a TableColumn will be used to
render the number of row, starting from 1.public final javafx.scene.control.TableColumn<S,?> getRowHeader()
TableColumn that can be used to
render the row header.
By default, if this property is not set, a TableColumn will be used to
render the number of row, starting from 1.public final javafx.beans.property.ObjectProperty<javafx.scene.control.TableColumn<S,?>> rowHeaderProperty()
TableColumn that can be used to
render the row header.
By default, if this property is not set, a TableColumn will be used to
render the number of row, starting from 1.getRowHeader(),
setRowHeader(TableColumn)public final void setRowHeaderContextMenuFactory(java.util.function.BiFunction<java.lang.Integer,S,javafx.scene.control.ContextMenu> value)
BiFunction that can be used to define the
context menu of each row of the row header.
See RowFixAction.public final java.util.function.BiFunction<java.lang.Integer,S,javafx.scene.control.ContextMenu> getRowHeaderContextMenuFactory()
BiFunction that can be used to define the
context menu of each row of the row header.
See RowFixAction.public final javafx.beans.property.ObjectProperty<java.util.function.BiFunction<java.lang.Integer,S,javafx.scene.control.ContextMenu>> rowHeaderContextMenuFactoryProperty()
BiFunction that can be used to define the
context menu of each row of the row header.
See RowFixAction.public final void setSouthHeaderBlended(boolean value)
public final boolean isSouthHeaderBlended()
public final javafx.beans.property.BooleanProperty southHeaderBlendedProperty()
public TableView2.SpanType getSpanType(int rowIndex, int modelColumn)
TableView2.SpanType of a cell. This is used internally by the
TableView2 but some users may find it useful.rowIndex - the number of rowmodelColumn - the number of columnTableView2.SpanType of a cellpublic void sort()
TableView.sort() in order to fire custom sort events
when sorting starts and finishes.
See TableView.sort() for more details about calling directly this
method.sort in class javafx.scene.control.TableView<S>protected javafx.scene.control.Skin<?> createDefaultSkin()
createDefaultSkin in class javafx.scene.control.TableView<S>public java.lang.String getUserAgentStylesheet()
getUserAgentStylesheet in class javafx.scene.layout.Region