TableView and TreeTableView.
| Modifier and Type | Field and Description |
|---|---|
| private final TableColumnBase | |
| private final Double |
| Access | Constructor and Description |
|---|---|
| public | ResizeFeaturesBase(TableColumnBase<S, ?>
The column upon which the resize is occurring, or null
if this ResizeFeatures instance is being created as a result of a
resize operation. column, Double The amount of horizontal space added or removed in the
resize operation. delta)Creates an instance of this class, with the provided TableColumnBase and delta values being set and stored in this immutable instance. |
| Modifier and Type | Method and Description |
|---|---|
| public TableColumnBase | Returns: the column upon which the resize is occurringReturns the column upon which the resize is occurring, or null if this ResizeFeatures instance was created as a result of a resize operation. |
| public abstract double | Returns: the width available for columnsReturns the width of the area available for columns. |
| public Double | Returns: the amount of horizontal space added or removed in the resize operationReturns the amount of horizontal space added or removed in the resize operation. |
| public abstract Control | Returns: the control in which the resize is occurringReturns the associated TreeView or TreeTableView control. |
| public void | setColumnWidth(TableColumnBase<S, ?>
column being changed col, double desired column width width)Sets the column width during the resizing pass. |
| column | back to summary |
|---|---|
| private final TableColumnBase<S, ?> column | |
| delta | back to summary |
|---|---|
| private final Double delta | |
| ResizeFeaturesBase | back to summary |
|---|---|
| public ResizeFeaturesBase(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.
| |
| getColumn | back to summary |
|---|---|
| public TableColumnBase Returns the column upon which the resize is occurring, or null if this ResizeFeatures instance was created as a result of a resize operation.
| |
| getContentWidth | back to summary |
|---|---|
| public abstract double getContentWidth() Returns the width of the area available for columns.
| |
| getDelta | back to summary |
|---|---|
| public Double getDelta() Returns the amount of horizontal space added or removed in the resize operation.
| |
| getTableControl | back to summary |
|---|---|
| public abstract Control getTableControl() Returns the associated TreeView or TreeTableView control.
| |
| setColumnWidth | back to summary |
|---|---|
| public void setColumnWidth(TableColumnBase<S, ?> col, double width) Sets the column width during the resizing pass.
| |