TreeTableColumn.
TreeTableCell control.
TreeTableCell
| Modifier and Type | Field and Description |
|---|---|
| private final BehaviorBase |
| Access | Constructor and Description |
|---|---|
| public | TreeTableCellSkin(TreeTableCell<S, T>
The control that this skin should be installed onto. control)Creates a new TreeTableCellSkin instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| private double | |
| protected double | computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Compute and return the minimum width of this Labeled. |
| protected double | computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred height of this |
| 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. |
| protected void | layoutChildren(double x, double y, double w, 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 ReadOnlyObjectProperty | tableColumnProperty()
Implements abstract javafx. The TableColumnBase instance that is responsible for this Cell. |
| behavior | back to summary |
|---|---|
| private final BehaviorBase<TreeTableCell<S, T>> behavior | |
| TreeTableCellSkin | back to summary |
|---|---|
| public TreeTableCellSkin(TreeTableCell<S, T> control) Creates a new TreeTableCellSkin instance, installing the necessary child
nodes into the Control
| |
| calculateIndentation | back to summary |
|---|---|
| private double calculateIndentation() | |
| computeMinWidth | back to summary |
|---|---|
| protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Compute and return the minimum width of this Labeled. The minimum width is the smaller of the width of "..." and the width with the actual text. In this way, if the text width itself is smaller than the ellipsis then we should use that as the min width, otherwise the ellipsis needs to be the min width. We use the same calculation here regardless of whether we are talking about a single or multiline labeled. So a multiline labeled may find that the width of the "..." is as small as it will ever get.
| |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred height of this
| |
| 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
| |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(double x, double y, double w, 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 ReadOnlyObjectProperty Implements abstract javafx. Doc from javafx. The TableColumnBase instance that is responsible for this Cell.
| |