Class PlatformTreeCellSkin<T>
java.lang.Object
javafx.scene.control.SkinBase<C>
javafx.scene.control.skin.LabeledSkinBase<C>
javafx.scene.control.skin.CellSkinBase<PlatformTreeCell<T>>
ru.cg.webbpm.studio.platform.api.hierarchy.tree.cell.PlatformTreeCellSkin<T>
- All Implemented Interfaces:
javafx.scene.control.Skin<PlatformTreeCell<T>>
public class PlatformTreeCellSkin<T>
extends javafx.scene.control.skin.CellSkinBase<PlatformTreeCell<T>>
Copy of javafx.scene.control.skin with small fix - overriding default behavior
-
Property Summary
PropertiesTypePropertyDescriptionfinal javafx.beans.property.DoubleProperty
The amount of space to multiply by the treeItem.level to get the left margin for this tree cell.Properties inherited from class javafx.scene.control.skin.CellSkinBase
cellSize
-
Constructor Summary
ConstructorsConstructorDescriptionPlatformTreeCellSkin
(PlatformTreeCell<T> control) Creates a new PlatformTreeCellSkin instance, installing the necessary child well as the necessary input mappings for handling key, mouse, etc events. -
Method Summary
Modifier and TypeMethodDescriptionprotected double
computeMaxHeight
(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected double
computeMinHeight
(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected double
computePrefHeight
(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected double
computePrefWidth
(double height, double topInset, double rightInset, double bottomInset, double leftInset) void
dispose()
static List<javafx.css.CssMetaData<? extends javafx.css.Styleable,
?>> Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,
?>> final double
Gets the value of the property indent.final javafx.beans.property.DoubleProperty
The amount of space to multiply by the treeItem.level to get the left margin for this tree cell.protected void
layoutChildren
(double x, double y, double w, double h) final void
setIndent
(double value) Sets the value of the property indent.protected void
Methods inherited from class javafx.scene.control.skin.CellSkinBase
cellSizeProperty, getCellSize
Methods inherited from class javafx.scene.control.skin.LabeledSkinBase
computeBaselineOffset, computeMaxWidth, computeMinWidth, layoutLabelInArea, layoutLabelInArea, queryAccessibleAttribute
Methods inherited from class javafx.scene.control.SkinBase
consumeMouseEvents, executeAccessibleAction, getChildren, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javafx.scene.control.Skin
install
-
Property Details
-
indent
public final javafx.beans.property.DoubleProperty indentPropertyThe 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:
-
-
Constructor Details
-
PlatformTreeCellSkin
Creates a new PlatformTreeCellSkin instance, installing the necessary child well as the necessary input mappings for handling key, mouse, etc events.- Parameters:
control
- The control that this skin should be installed onto.
-
-
Method Details
-
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 javafx.beans.property.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:
-
dispose
public void dispose()- Specified by:
dispose
in interfacejavafx.scene.control.Skin<T>
- Overrides:
dispose
in classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
updateChildren
protected void updateChildren()- Overrides:
updateChildren
in classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
layoutChildren
protected void layoutChildren(double x, double y, double w, double h) - Overrides:
layoutChildren
in classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
computeMinHeight
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMinHeight
in classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
computePrefHeight
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefHeight
in classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
computeMaxHeight
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMaxHeight
in classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
computePrefWidth
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefWidth
in classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
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
-
getCssMetaData
- Overrides:
getCssMetaData
in classjavafx.scene.control.skin.CellSkinBase<PlatformTreeCell<T>>
-