Class AbstractLinearGaugeSkin<T,C extends AbstractLinearGauge<?>>

java.lang.Object
javafx.scene.control.SkinBase<C>
jfxtras.internal.scene.control.gauge.linear.skin.AbstractLinearGaugeSkin<T,C>
All Implemented Interfaces:
javafx.scene.control.Skin<C>
Direct Known Subclasses:
BasicRoundDailGaugeSkin, SimpleMetroArcGaugeSkin

public class AbstractLinearGaugeSkin<T,C extends AbstractLinearGauge<?>> extends javafx.scene.control.SkinBase<C>
  • Property Details

  • Field Details

    • animatedProperty

      private javafx.beans.property.ObjectProperty<AbstractLinearGaugeSkin.Animated> animatedProperty
    • valueFormatProperty

      private javafx.css.SimpleStyleableStringProperty valueFormatProperty
  • Constructor Details

    • AbstractLinearGaugeSkin

      public AbstractLinearGaugeSkin(C control)
  • Method Details

    • animatedProperty

      public final javafx.beans.property.ObjectProperty<AbstractLinearGaugeSkin.Animated> animatedProperty()
      animated
      See Also:
    • setAnimated

      public final void setAnimated(AbstractLinearGaugeSkin.Animated value)
      Sets the value of the property animated.
      Property description:
      animated
    • getAnimated

      public final AbstractLinearGaugeSkin.Animated getAnimated()
      Gets the value of the property animated.
      Property description:
      animated
    • withAnimated

      public final T withAnimated(AbstractLinearGaugeSkin.Animated value)
    • valueFormatProperty

      public final javafx.css.SimpleStyleableStringProperty valueFormatProperty()
      valueFormat
      See Also:
    • setValueFormat

      public final void setValueFormat(String value)
      Sets the value of the property valueFormat.
      Property description:
      valueFormat
    • getValueFormat

      public final String getValueFormat()
      Gets the value of the property valueFormat.
      Property description:
      valueFormat
    • withValueFormat

      public final T withValueFormat(String value)
    • valueFormat

      protected String valueFormat(double 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 javafx.scene.control.SkinBase<C extends AbstractLinearGauge<?>>
      Returns:
      The CssMetaData associated with this node, which may include the CssMetaData of its super classes.
    • validateValue

      protected String validateValue()
      Returns:
    • validateSegment

      protected String validateSegment(Segment segment)
      Parameters:
      segment -
      Returns:
    • validateMarker

      protected String validateMarker(Marker marker)
      Parameters:
      marker -
      Returns:
    • validateValueAndHandleInvalid

      protected boolean validateValueAndHandleInvalid()
    • activateSegments

      void activateSegments(Map<Segment,? extends javafx.scene.Node> segmentToNode)
      Make segments active