- java.lang.Object
-
- javafx.scene.control.SkinBase<Rating>
-
- impl.org.controlsfx.skin.RatingSkin
-
-
Constructor Summary
Constructors Constructor Description RatingSkin(Rating control)
Constructors
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
protected Node
createButtonNode()
Creates the node for one star.-
Methods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners
-
-
-
-
Constructor Detail
-
RatingSkin
public RatingSkin(Rating control)
Constructors
-
-
Method Detail
-
createButtonNode
protected Node createButtonNode()
Creates the node for one star. By default, an empty region is returned. This method can be overwritten to customize the styling of the star, e.g. to use a font-based icon.
-
computeMaxWidth
protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMaxWidth
in classSkinBase<Rating>
-
-