TableColumnBase
javafx.scene.control.TableCell and javafx.scene.control.TreeTableCell .
javafx.scene.control.TableCell , javafx.scene.control.TreeTableCell
| Modifier and Type | Field and Description |
|---|---|
| private InvalidationListener | |
| pack-priv boolean | |
| private WeakInvalidationListener |
| Access | Constructor and Description |
|---|---|
| public | TableCellSkinBase(final C
The control that this skin should be installed onto. control)Creates a new TableCellSkinBase instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| protected double | computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred width of this |
| public void | dispose()
Overrides javafx. Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| public final TableColumnBase | |
| protected void | layoutChildren(final double x, final double y, final double w, final double h)
Overrides javafx. The Layout algorithm works like this: - Get the labeled w/h, graphic w/h, text w/h - Compute content w/h based on graphicVPos, graphicHPos, graphicTextGap, and graphic w/h and text w/h - (Note that the text content has been pre-truncated where necessary) - compute content x/y based on content w/h and labeled w/h and the labeled's hpos and vpos - position the graphic and text |
| public abstract ReadOnlyObjectProperty | Returns: the TableColumnBase instance that is responsible for this CellThe TableColumnBase instance that is responsible for this Cell. |
| columnWidthListener | back to summary |
|---|---|
| private InvalidationListener columnWidthListener | |
| isDeferToParentForPrefWidth | back to summary |
|---|---|
| pack-priv boolean isDeferToParentForPrefWidth | |
| weakColumnWidthListener | back to summary |
|---|---|
| private WeakInvalidationListener weakColumnWidthListener | |
| TableCellSkinBase | back to summary |
|---|---|
| public TableCellSkinBase(final C control) Creates a new TableCellSkinBase instance, installing the necessary child
nodes into the Control
| |
| computePrefWidth | back to summary |
|---|---|
| protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred width of this
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. 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,
Calling
| |
| getTableColumn | back to summary |
|---|---|
| public final TableColumnBase | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(final double x, final double y, final double w, final double h) Overrides javafx. Doc from javafx. The Layout algorithm works like this: - Get the labeled w/h, graphic w/h, text w/h - Compute content w/h based on graphicVPos, graphicHPos, graphicTextGap, and graphic w/h and text w/h - (Note that the text content has been pre-truncated where necessary) - compute content x/y based on content w/h and labeled w/h and the labeled's hpos and vpos - position the graphic and text
| |
| tableColumnProperty | back to summary |
|---|---|
| public abstract ReadOnlyObjectProperty The TableColumnBase instance that is responsible for this Cell.
| |