java.lang.Object
javafx.scene.control.ResizeFeaturesBase<S>
- Direct Known Subclasses:
TableView.ResizeFeatures
,TreeTableView.ResizeFeatures
An immutable wrapper class for use by the column resize policies offered by
controls such as
TableView
and TreeTableView
.- Since:
- JavaFX 8.0
-
Constructor Summary
ConstructorDescriptionResizeFeaturesBase
(TableColumnBase<S, ?> column, Double delta) Creates an instance of this class, with the provided TableColumnBase and delta values being set and stored in this immutable instance. -
Method Summary
Modifier and TypeMethodDescriptionTableColumnBase<S,
?> Returns the column upon which the resize is occurring, or null if this ResizeFeatures instance was created as a result of a resize operation.getDelta()
Returns the amount of horizontal space added or removed in the resize operation.
-
Constructor Details
-
ResizeFeaturesBase
Creates an instance of this class, with the provided TableColumnBase and delta values being set and stored in this immutable instance.- Parameters:
column
- The column upon which the resize is occurring, or null if this ResizeFeatures instance is being created as a result of a resize operation.delta
- The amount of horizontal space added or removed in the resize operation.
-
-
Method Details
-
getColumn
Returns the column upon which the resize is occurring, or null if this ResizeFeatures instance was created as a result of a resize operation.- Returns:
- the column upon which the resize is occurring
-
getDelta
Returns the amount of horizontal space added or removed in the resize operation.- Returns:
- the amount of horizontal space added or removed in the resize operation
-