Class RatingSkin

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

public class RatingSkin extends SkinBase<Rating>
  • Constructor Details

    • RatingSkin

      public RatingSkin(Rating control)
      Constructors
  • Method Details

    • 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 class SkinBase<Rating>