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.DoublePropertyThe 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 doublecomputeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) protected doublecomputePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) voiddispose()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 doubleGets the value of the property indent.final javafx.beans.property.DoublePropertyThe amount of space to multiply by the treeItem.level to get the left margin for this tree cell.protected voidlayoutChildren(double x, double y, double w, double h) final voidsetIndent(double value) Sets the value of the property indent.protected voidMethods inherited from class javafx.scene.control.skin.CellSkinBase
cellSizeProperty, getCellSizeMethods inherited from class javafx.scene.control.skin.LabeledSkinBase
computeBaselineOffset, computeMaxWidth, computeMinWidth, layoutLabelInArea, layoutLabelInArea, queryAccessibleAttributeMethods 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, unregisterListChangeListenersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
disposein interfacejavafx.scene.control.Skin<T>- Overrides:
disposein classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
updateChildren
protected void updateChildren()- Overrides:
updateChildrenin classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
layoutChildren
protected void layoutChildren(double x, double y, double w, double h) - Overrides:
layoutChildrenin classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
computeMinHeight
protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMinHeightin classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
computePrefHeight
protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefHeightin classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
computeMaxHeight
protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMaxHeightin classjavafx.scene.control.skin.LabeledSkinBase<PlatformTreeCell<T>>
-
computePrefWidth
protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computePrefWidthin 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:
getCssMetaDatain classjavafx.scene.control.skin.CellSkinBase<PlatformTreeCell<T>>
-