Class RatingSkin

java.lang.Object
javafx.scene.control.SkinBase<Rating>
impl.org.controlsfx.skin.RatingSkin
All Implemented Interfaces:
javafx.scene.control.Skin<Rating>

public class RatingSkin extends javafx.scene.control.SkinBase<Rating>
  • Constructor Summary

    Constructors
    Constructor
    Description
    RatingSkin(Rating control)
    Constructors
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double
    computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
     
    protected javafx.scene.Node
    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, 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
  • Constructor Details

    • RatingSkin

      public RatingSkin(Rating control)
      Constructors
  • Method Details

    • createButtonNode

      protected javafx.scene.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 class javafx.scene.control.SkinBase<Rating>