- java.lang.Object
-
- javafx.scene.control.SkinBase<ProgressIndicator>
-
- javafx.scene.control.skin.ProgressIndicatorSkin
-
- All Implemented Interfaces:
Skin<ProgressIndicator>
- Direct Known Subclasses:
ProgressBarSkin
public class ProgressIndicatorSkin extends SkinBase<ProgressIndicator>
Default skin implementation for theProgressIndicator
control.- Since:
- 9
- See Also:
ProgressIndicator
-
-
Constructor Summary
Constructors Constructor Description ProgressIndicatorSkin(ProgressIndicator control)
Creates a new ProgressIndicatorSkin instance, installing the necessary child nodes into the Controlchildren
list.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Called by a Skinnable when the Skin is replaced on the Skinnable.static List<CssMetaData<? extends Styleable,?>>
getClassCssMetaData()
Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.List<CssMetaData<? extends Styleable,?>>
getCssMetaData()
This method should delegate toNode.getClassCssMetaData()
so that a Node's CssMetaData can be accessed without the need for reflection.protected void
layoutChildren(double x, double y, double w, double h)
Called during the layout pass of the scenegraph.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners
-
-
-
-
Constructor Detail
-
ProgressIndicatorSkin
public ProgressIndicatorSkin(ProgressIndicator control)
Creates a new ProgressIndicatorSkin instance, installing the necessary child nodes into the Controlchildren
list.- Parameters:
control
- The control that this skin should be installed onto.
-
-
Method Detail
-
dispose
public void dispose()
Called by a Skinnable when the Skin is replaced on the Skinnable. This method allows a Skin to implement any logic necessary to clean up itself after the Skin is no longer needed. It may be used to release native resources. The methodsSkin.getSkinnable()
andSkin.getNode()
should return null following a call to dispose. Calling dispose twice has no effect.- Specified by:
dispose
in interfaceSkin<ProgressIndicator>
- Overrides:
dispose
in classSkinBase<ProgressIndicator>
-
layoutChildren
protected void layoutChildren(double x, double y, double w, double h)
Called during the layout pass of the scenegraph.- Overrides:
layoutChildren
in classSkinBase<ProgressIndicator>
- Parameters:
x
- the x positiony
- the y positionw
- the widthh
- the height
-
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
-
getCssMetaData
public List<CssMetaData<? extends Styleable,?>> getCssMetaData()
This method should delegate toNode.getClassCssMetaData()
so that a Node's CssMetaData can be accessed without the need for reflection.- Overrides:
getCssMetaData
in classSkinBase<ProgressIndicator>
- Returns:
- The CssMetaData associated with this node, which may include the CssMetaData of its superclasses.
-
-