Class BasicRoundDailGaugeSkin

java.lang.Object
javafx.scene.control.SkinBase<BasicRoundDailGauge>
jfxtras.internal.scene.control.gauge.linear.skin.AbstractLinearGaugeSkin<BasicRoundDailGaugeSkin,BasicRoundDailGauge>
jfxtras.internal.scene.control.gauge.linear.skin.BasicRoundDailGaugeSkin
All Implemented Interfaces:
javafx.scene.control.Skin<BasicRoundDailGauge>

public class BasicRoundDailGaugeSkin extends AbstractLinearGaugeSkin<BasicRoundDailGaugeSkin,BasicRoundDailGauge>
  • Property Details

  • Field Details

  • Constructor Details

  • Method Details

    • tickColorProperty

      public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> tickColorProperty()
      tickcolor
      Returns:
      the tickColor property
      See Also:
    • setTickColor

      public final void setTickColor(javafx.scene.paint.Paint value)
      Sets the value of the tickColor property.
      Property description:
      tickcolor
      Parameters:
      value - the value for the tickColor property
      See Also:
    • getTickColor

      public final javafx.scene.paint.Paint getTickColor()
      Gets the value of the tickColor property.
      Property description:
      tickcolor
      Returns:
      the value of the tickColor property
      See Also:
    • withTickColor

      public final BasicRoundDailGaugeSkin withTickColor(javafx.scene.paint.Paint value)
    • getClassCssMetaData

      public static List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> getClassCssMetaData()
      Returns:
      The CssMetaData associated with this class, which may include the CssMetaData of its super classes.
    • getCssMetaData

      public List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> getCssMetaData()
      This method should delegate to Node.getClassCssMetaData() so that a Node's CssMetaData can be accessed without the need for reflection.
      Overrides:
      getCssMetaData in class AbstractLinearGaugeSkin<BasicRoundDailGaugeSkin,BasicRoundDailGauge>
      Returns:
      The CssMetaData associated with this node, which may include the CssMetaData of its super classes.
    • constructNodes

      private void constructNodes()
      construct the nodes
    • validateValueAndHandleInvalid

      protected boolean validateValueAndHandleInvalid()
      Overrides:
      validateValueAndHandleInvalid in class AbstractLinearGaugeSkin<BasicRoundDailGaugeSkin,BasicRoundDailGauge>
    • calculatePointOnCircle

      private javafx.geometry.Point2D calculatePointOnCircle(double radius, double angleInDegrees)
      http://www.mathopenref.com/coordparamcircle.html
      Parameters:
      radius -
      angleInDegrees -
      center -
      Returns:
    • calculateRadius

      private double calculateRadius()
      Returns: