- java.lang.Object
-
- javafx.scene.control.SkinBase<C>
-
- javafx.scene.control.skin.LabeledSkinBase<C>
-
- javafx.scene.control.skin.CellSkinBase<C>
-
- javafx.scene.control.skin.TableRowSkinBase<TreeItem<T>,TreeTableRow<T>,TreeTableCell<T,?>>
-
- javafx.scene.control.skin.TreeTableRowSkin<T>
-
- All Implemented Interfaces:
Skin<TreeTableRow<T>>
public class TreeTableRowSkin<T> extends TableRowSkinBase<TreeItem<T>,TreeTableRow<T>,TreeTableCell<T,?>>
Default skin implementation for theTreeTableRowcontrol.- Since:
- 9
- See Also:
TreeTableRow
-
-
Property Summary
Properties Type Property Description protected ObjectProperty<Node>graphicReturns the graphic to draw on the inside of the disclosure node.DoublePropertyindentThe amount of space to multiply by the treeItem.level to get the left margin for this tree cell.-
Properties declared in class javafx.scene.control.skin.CellSkinBase
cellSize
-
Properties declared in class javafx.scene.control.skin.TableRowSkinBase
graphic
-
-
Constructor Summary
Constructors Constructor Description TreeTableRowSkin(TreeTableRow<T> control)Creates a new TreeTableRowSkin instance, installing the necessary child nodes into the Controlchildrenlist, as well as the necessary input mappings for handling key, mouse, etc events.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<CssMetaData<? extends Styleable,?>>getClassCssMetaData()Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.doublegetIndent()Gets the value of the property indent.DoublePropertyindentProperty()The amount of space to multiply by the treeItem.level to get the left margin for this tree cell.voidsetIndent(double value)Sets the value of the property indent.-
Methods declared in class javafx.scene.control.skin.CellSkinBase
cellSizeProperty, getCellSize
-
Methods declared in class javafx.scene.control.skin.LabeledSkinBase
computeMinWidth, layoutChildren, layoutLabelInArea, layoutLabelInArea, updateChildren
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface javafx.scene.control.Skin
dispose, getNode, getSkinnable
-
Methods declared in class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getCssMetaData, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners
-
Methods declared in class javafx.scene.control.skin.TableRowSkinBase
createCell, getTableColumn, getVisibleLeafColumns, graphicProperty, updateCell
-
-
-
-
Property Detail
-
indent
public final DoubleProperty indentProperty
The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS- See Also:
getIndent(),setIndent(double)
-
graphic
protected ObjectProperty<Node> graphicProperty
Returns the graphic to draw on the inside of the disclosure node. Null is acceptable when no graphic should be shown. Commonly this is the graphic associated with a TreeItem (i.e. treeItem.getGraphic()), rather than a graphic associated with a cell.- Overrides:
graphicPropertyin classTableRowSkinBase<TreeItem<T>,TreeTableRow<T>,TreeTableCell<T,?>>
-
-
Constructor Detail
-
TreeTableRowSkin
public TreeTableRowSkin(TreeTableRow<T> control)
Creates a new TreeTableRowSkin instance, installing the necessary child nodes into the Controlchildrenlist, as well as the necessary input mappings for handling key, mouse, etc events.- Parameters:
control- The control that this skin should be installed onto.
-
-
Method Detail
-
setIndent
public final void setIndent(double value)
Sets the value of the property indent.- Property description:
- The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS
-
getIndent
public final double getIndent()
Gets the value of the property indent.- Property description:
- The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS
-
indentProperty
public final DoubleProperty indentProperty()
The amount of space to multiply by the treeItem.level to get the left margin for this tree cell. This is settable from CSS- See Also:
getIndent(),setIndent(double)
-
getClassCssMetaData
public static List<CssMetaData<? extends Styleable,?>> getClassCssMetaData()
Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.- Returns:
- the CssMetaData associated with this class, which may include the CssMetaData of its superclasses
-
-