Class Gauge

java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.control.Control
eu.hansolo.medusa.Gauge
All Implemented Interfaces:
javafx.css.Styleable, javafx.event.EventTarget, javafx.scene.control.Skinnable

public class Gauge extends javafx.scene.control.Control
Created by hansolo on 11.12.15.
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.StringProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.IntegerProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.StringProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.text.Font>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.IntegerProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.geometry.Pos>
     
    javafx.beans.property.ObjectProperty<Gauge.KnobType>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<LcdDesign>
     
    javafx.beans.property.ObjectProperty<LcdFont>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<Gauge.LedType>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<Locale>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<TickMarkType>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<TickMarkType>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<TickMarkType>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.ObjectProperty<Gauge.NeedleBehavior>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<Gauge.NeedleShape>
     
    javafx.beans.property.ObjectProperty<Gauge.NeedleSize>
     
    javafx.beans.property.ObjectProperty<Gauge.NeedleType>
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.geometry.Orientation>
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<eu.hansolo.toolboxfx.ScaleDirection>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.StringProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.IntegerProperty
     
    javafx.beans.property.ObjectProperty<TickLabelLocation>
     
    javafx.beans.property.ObjectProperty<TickLabelOrientation>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.StringProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.StringProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     

    Properties inherited from class javafx.scene.control.Control

    contextMenu, skin, tooltip

    Properties inherited from class javafx.scene.layout.Region

    background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, width

    Properties inherited from class javafx.scene.Parent

    needsLayout

    Properties inherited from class javafx.scene.Node

    accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static enum 
     
    static enum 
     
    static enum 
     
    static enum 
     
    static enum 
     
    static enum 
     
    static enum 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final javafx.scene.paint.Color
     
     
     
    static final javafx.scene.paint.Color
     

    Fields inherited from class javafx.scene.layout.Region

    USE_COMPUTED_SIZE, USE_PREF_SIZE

    Fields inherited from class javafx.scene.Node

    BASELINE_OFFSET_SAME_AS_HEIGHT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Gauge(Gauge.SkinType SKIN_TYPE)
     
    Gauge(Gauge.SkinType skinType, double minValue, double maxValue, double value, double threshold, String title, String subTitle, String unit, boolean averagingEnabled, boolean startFromZero, boolean returnToZero, javafx.scene.paint.Color zeroColor, double minMeasuredValue, double maxMeasuredValue, boolean minMeasuredValueVisible, boolean maxMeasuredValueVisible, boolean oldValueVisible, boolean valueVisible, javafx.scene.paint.Paint backgroundPaint, javafx.scene.paint.Paint borderPaint, javafx.scene.paint.Paint foregroundPaint, double borderWidth, javafx.scene.paint.Color knobColor, Gauge.KnobType knobType, boolean knobVisible, boolean animated, long animationDuration, double startAngle, double angleRange, boolean autoScale, boolean shadowsEnabled, boolean barEffectEnabled, eu.hansolo.toolboxfx.ScaleDirection scaleDirection, TickLabelLocation tickLabelLocation, TickLabelOrientation tickLabelOrientation, javafx.scene.paint.Color tickLabelColor, javafx.scene.paint.Color tickMarkColor, javafx.scene.paint.Color majorTickMarkColor, javafx.scene.paint.Color mediumTickMarkColor, javafx.scene.paint.Color minorTickMarkColor, TickMarkType majorTickMarkType, TickMarkType mediumTickMarkType, TickMarkType minorTickMarkType, Locale locale, int decimals, int tickLabelDecimals, Gauge.NeedleType needleType, Gauge.NeedleShape needleShape, Gauge.NeedleSize needleSize, Gauge.NeedleBehavior needleBehavior, javafx.scene.paint.Color needleColor, javafx.scene.paint.Color needleBorderColor, javafx.scene.paint.Color barColor, javafx.scene.paint.Color barBorderColor, javafx.scene.paint.Color barBackgroundColor, LcdDesign lcdDesign, LcdFont lcdFont, javafx.scene.paint.Color ledColor, Gauge.LedType ledType, javafx.scene.paint.Color titleColor, javafx.scene.paint.Color subTitleColor, javafx.scene.paint.Color unitColor, javafx.scene.paint.Color valueColor, javafx.scene.paint.Color thresholdColor, javafx.scene.paint.Color averageColor, boolean checkSectionsForValue, boolean checkAreasForValue, boolean checkThreshold, boolean innerShadowVisible, boolean thresholdVisible, boolean averageVisible, boolean sectionsVisible, boolean sectionsAlwaysVisible, boolean sectionTextVisible, boolean sectionIconsVisible, boolean highlightSections, boolean areasVisible, boolean areaTextVisible, boolean areaIconsVisible, boolean highlightAreas, boolean tickMarkSectionsVisible, boolean tickLabelSectionsVisible, boolean markersVisible, boolean tickLabelsVisible, boolean onlyFirstAndLastTickLabelVisible, boolean majorTickMarksVisible, boolean mediumTickMarksVisible, boolean minorTickMarksVisible, boolean tickMarkRingVisible, boolean lcdVisible, boolean lcdCrystalEnabled, boolean ledVisible, javafx.geometry.Orientation orientation, boolean keepAspect, boolean gradientBarEnabled, boolean customTickLabelsEnabled, double customTickLabelFontSize, boolean customTickLabelFontSizeEnabled, boolean interactive, String buttonTooltipText, boolean customFontEnabled, javafx.scene.text.Font customFont, boolean alert, String alertMessage, boolean smoothing)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds the given Section to the list of areas.
    void
    Adds the given String to the list of custom ticklabels
    void
    addGaugeObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<MedusaEvt> observer)
     
    void
    addMarker(Marker MARKER)
    Adds the given Marker to the list of markers.
    void
    Adds the given Section to the list of sections.
    void
    Adds the given Section to the list of ticklabel sections.
    void
    Adds the given Section to the list of tickmark sections.
    javafx.beans.property.StringProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.IntegerProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.StringProperty
     
    void
    Calling this method will lead to a recalculation of the scale
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    void
    Clears the list of areas.
    void
    Clears the list of custom ticklabels
    void
    Clears the list of markers.
    void
    Clears the list of sections.
    void
    Clears the list of ticklabel sections.
    void
    Clears the list of tickmark sections.
    protected javafx.scene.control.Skin
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.text.Font>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.IntegerProperty
     
    void
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    Returns the alert message text that could be used in a tooltip in case of an alert.
    double
    Returns the angle range in degree that will be used to draw the scale of the radial gauge.
    double
    Returns the value that is calculated by dividing the angleRange by the range.
    long
    Returns the duration in milliseconds that will be used to animate the needle/bar of the gauge from the last value to the next value.
    double
    Returns the distance between the segments in the SIMPLE_DIGITAL skin.
    boolean
    Returns true if the icon of the areas should be drawn inside the areas.
    javafx.collections.ObservableList<Section>
    Returns an observable list of Section objects.
    boolean
    Returns true if the areas should be drawn
    double
    Returns the moving average over the number of values defined by averagingPeriod.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the average indicator of the gauge.
    int
    Returns the number of values that should be used for the averaging of values.
    Returns the current list of Data objects that will be used to calculate the moving average.
    javafx.scene.paint.Paint
    Returns the Paint object that will be used to fill the gauge background.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the bar background of the gauge (if it has a bar).
    javafx.scene.paint.Color
    Returns the color that is used to colorize the border of the bar.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the bar of the gauge (if it has a bar).
    javafx.scene.paint.Paint
    Returns the Paint object that will be used to draw the border of the gauge.
    double
    Returns the width in pixels that will be used to draw the border of the gauge.
    Returns the text that will be shown in the button tooltip.
    boolean
    Returns true if the value of the gauge should be checked against all areas (if areas not empty).
    boolean
    Returns true if the value of the gauge should be checked against all sections (if sections not empty).
    double
    Returns the current value of the Gauge.
    javafx.scene.text.Font
    Returns the given custom Font that can be used to render all text elements.
    double
    Returns the custom font size.
    boolean
    Returns true if custom font size for tick labels and/or custom tick labels will be used.
    Returns a list of Strings that represent the ticklabels that will be used for the scale.
    boolean
    Returns true if custom tick labels should be used instead of the automatically calculated ones.
    int
    Returns the number of decimals that will be used to format the value of the gauge.
    javafx.scene.paint.Paint
    Returns the Paint object that will be used to fill the foreground of the gauge.
     
    double
    Returns the last value of the Gauge.
    List<javafx.scene.paint.Stop>
    Returns a list of Stops that will be used to calculate the gradient in the GradientLookup.
    eu.hansolo.toolboxfx.GradientLookup
    Returns the GradientLookup that is used to colorize the bar of the gauge (if avaiable)
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the knob of the radial gauges.
    javafx.geometry.Pos
    Returns the position of the knob in radial gauges.
    Returns the type of knob that will be used in the radial gauges.
    Returns the design that will be used to visualize the LCD display of the gauge (if it has one).
    Returns the font that will be used to visualize the LCD value if the gauge has a LCD display.
    javafx.scene.paint.Color
    Returns the color that will be used to visualize the LED of the gauge if it has one.
    Returns the graphical representation of the LED.
    Gets the value of the property locale.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the major tickmarks.
    double
    Returns the factor that defines the length of the major tick mark.
    boolean
    Returns true if the major tickmarks should be drawn If set to false and minorTickmarks == true, a minor tickmark will be drawn instead of the major tickmark.
    Returns the shape that will be used to visualize the major tickmark.
    double
    Returns the factor that defines the width of the major tick mark.
    double
    Returns the value that represents the space between major tickmarks.
    javafx.collections.ObservableList<Marker>
    Returns an observable list of Marker objects.
    boolean
    Returns true if the markers should be drawn
    double
    Returns the biggest value that was measured after the last reset.
    double
    Returns the maximum value of the scale.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the medium tickmarks.
    double
    Returns the factor that defines the length of the medium tick mark.
    boolean
    Returns true if the medium tickmarks should be drawn If set to false and minorTickmarks == true, a minor tickmark will be drawn instead of the medium tickmark.
    Returns the shape that will be used to visualize the medium tickmark.
    double
    Returns the factor that defines the width of the medium tick mark.
    double
    Returns the smallest value that was measured after the last reset.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the minor tickmarks.
    double
    Returns the factor that defines the length of the minor tick mark.
    boolean
    Returns true if the minor tickmarks should be drawn
    Returns the shape that will be used to visualize the minor tickmark.
    double
    Returns the factor that defines the width of the minor tick mark.
    double
    Returns the value that represents the space between minor tickmarks.
    double
    Returns the minimum value of the scale.
    Returns the moving average object
    Returns the behavior of the needle movement.
    javafx.scene.paint.Color
    Returns the color that is used to colorize the border of the needle.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the needle of the radial gauges.
    Returns the graphical representation of the needle that will be used.
    Returns the thickness of the needle.
    Returns the shape of the needle that will be used.
    double
    Returns the last value of the Gauge.
    javafx.geometry.Orientation
    Returns the orientation of the control.
    double
    Always returns the range of the gauge scale (maxValue - minValue).
    eu.hansolo.toolboxfx.ScaleDirection
    Returns the direction of the scale.
    boolean
    Returns true if the icon of the sections should be drawn inside the sections.
    javafx.collections.ObservableList<Section>
    Returns an observable list of Section objects.
    boolean
    Returns true if the sections in the IndicatorSkin will always be visible
    boolean
    Returns true if the sections will be drawn
     
    double
    Returns the angle in degree that defines the start of the scale with it's minValue in a radial gauge.
    Returns the subtitle of the gauge.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the subTitle of the gauge.
    double
    Returns the threshold value that can be used to visualize a threshold value on the scale.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the threshold indicator of the gauge.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the ticklabels.
    int
    Returns the number of decimals that will be used to format the value of the ticklabels.
    Returns the location of the ticklabels.
    Returns the orientation of the ticklabels.
    javafx.collections.ObservableList<Section>
    Returns an observable list of Section objects.
    boolean
    Returns true if the ticklabel sections should be used to colorize the ticklabels.
    boolean
    Returns true if the ticklabels should be drawn
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the tickmarks.
    javafx.collections.ObservableList<Section>
    Returns an observable list of Section objects.
    boolean
    Returns true if the tickmark sections should be used to colorize the tickmarks.
    double
    Returns the moving average over the given duration.
    Returns the title of the gauge.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the title of the gauge.
    Returns the unit of the gauge.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the unit of the gauge.
     
    double
    Returns the value of the Gauge.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the value of the gauge.
    javafx.scene.paint.Color
    Returns the color that will be used to colorize the 0 tickmark and ticklabel when the gauge range has a negative min- and positive maxValue.
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    boolean
    Returns true if the alert property was set.
    boolean
    Returns true if setting the value of the gauge will be animated using the duration defined in animationDuration [ms].
    boolean
    Returns true if the text of the areas should be drawn inside the areas.
    boolean
    Returns true if the scale will be calculated automatically based on the defined values for min- and maxValue.
    boolean
    Returns true if the average indicator should be drawn.
    boolean
    Returns true if the averaging functionality is enabled.
    boolean
    Returns true if the highlight effect on the gauges like the LinearSkin bar will be drawn.
    boolean
    Returns true if the value of the gauge should be checked against the threshold.
    boolean
    Returns true if the control uses the given customFont to render all text elements.
    boolean
    Returns true if the gradient defined by the gradient lookup will be used to visualize the bar (if available).
    boolean
    Returns true if areas should be highlighted in case they contain the current value.
    boolean
    Returns true if sections should be highlighted in case they contain the current value.
    boolean
    Returns true if an inner shadow should be drawn on the gauge background.
    boolean
    Returns true if the gauge is in interactive mode.
    boolean
    Returns true if the control should keep it's aspect.
    boolean
    Returns true if the knob is visible.
    boolean
    Returns true if the crystal effect of the LCD display will be drawn.
    boolean
    Returns true if the LCD display is visible (if available) The LCD display won't be visible if valueVisible == false.
    boolean
    Returns true if the LED is blinking (if available)
    boolean
    Returns true if the LED is on (if available)
    boolean
    Returns true if the LED will be drawn (if available)
    boolean
    Returns true if the indicator of the maxMeasuredValue is visible.
    boolean
    Returns true if the indicator of the minMeasuredValue is visible.
    boolean
    Returns true if the old value of the gauge is visible (not implemented)
    boolean
    Returns true if only the first and the last ticklabel will be drawn.
    boolean
    Returns true if the needle/bar should always return to zero.
    boolean
    Returns true if the text of the sections should be drawn inside the sections.
    boolean
    Returns true if effects like shadows will be drawn.
    boolean
    Returns true when smoothing is enabled.
    boolean
    Returns true if the visualization of the value should start from 0.
    boolean
    Returns true if the threshold indicator should be drawn.
    boolean
    Returns true when an additional ring will be drawn that "connects" the tick marks.
    boolean
    Returns true if the visualization of the gauge value is visible.
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.geometry.Pos>
     
    javafx.beans.property.ObjectProperty<Gauge.KnobType>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<LcdDesign>
     
    javafx.beans.property.ObjectProperty<LcdFont>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<Gauge.LedType>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<Locale>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<TickMarkType>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<TickMarkType>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<TickMarkType>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.ObjectProperty<Gauge.NeedleBehavior>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<Gauge.NeedleShape>
     
    javafx.beans.property.ObjectProperty<Gauge.NeedleSize>
     
    javafx.beans.property.ObjectProperty<Gauge.NeedleType>
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.geometry.Orientation>
     
    void
     
    javafx.beans.property.ReadOnlyDoubleProperty
     
    void
     
    void
     
    void
    Removes the given Section from the list of areas.
    void
    Removes the given String from the list of custom ticklabels
    void
    removeGaugeObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<MedusaEvt> observer)
     
    void
    Removes the given Marker from the list of markers.
    void
    removeOnButtonPressed(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER)
     
    void
    removeOnButtonReleased(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER)
     
    void
    removeOnThresholdExceeded(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER)
     
    void
    removeOnThresholdUnderrun(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER)
     
    void
    Removes the given Section from the list of sections.
    void
    Removes the given Section from the list of ticklabel sections.
    void
    Removes the given Section from the list of tickmark sections.
    void
    Resets the min- and maxMeasuredValue to the value of the gauge.
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<eu.hansolo.toolboxfx.ScaleDirection>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    void
    setAlert(boolean ALERT)
    Defines if the alert property should be set.
    void
    Defines the text that could be used in a tooltip as an alert message.
    void
    setAngleRange(double RANGE)
    Defines the angle range in degree that will be used to draw the scale of the radial gauge.
    void
    setAnimated(boolean ANIMATED)
    Defines if setting the value of the gauge should be animated using the duration defined in animationDuration [ms].
    void
    setAnimationDuration(long ANIMATION_DURATION)
    Defines the duration in milliseconds that will be used to animate the needle/bar of the gauge from the last value to the next value.
    void
    setArcExtend(double ARC_EXTEND)
    Defines the distance between the segments in the SIMPLE_DIGITAL_SKIN
    void
    setAreaIconsVisible(boolean VISIBLE)
    Defines if the icon of the areas should be drawn inside the areas.
    void
    setAreas(Section... AREAS)
    Sets the sections to the given array of Section objects.
    void
    Sets the sections to the given list of Section objects.
    void
    setAreasVisible(boolean VISIBLE)
    Defines if the areas should be drawn
    void
    setAreaTextVisible(boolean VISIBLE)
    Defines if the text of the areas should be drawn inside the areas.
    void
    setAutoScale(boolean AUTO_SCALE)
    Defines if the scale should be calculated automatically based on the defined values for min- and maxValue.
    void
    setAverageColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the average indicator of the gauge.
    void
    setAverageVisible(boolean VISIBLE)
    Defines if the average indicator should be drawn
    void
    setAveragingEnabled(boolean ENABLED)
    Defines if the averaging functionality will be enabled.
    void
    setAveragingPeriod(int PERIOD)
    Defines the number values that should be used for the averaging of values.
    void
    setBackgroundPaint(javafx.scene.paint.Paint PAINT)
    Defines the Paint object that will be used to fill the gauge background.
    void
    setBarBackgroundColor(javafx.scene.paint.Color COLOR)
    Returns the color that will be used to colorize the bar background of the gauge (if it has a bar).
    void
    setBarBorderColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the border of the bar.
    void
    setBarColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the bar of the gauge (if it has a bar).
    void
    setBarEffectEnabled(boolean ENABLED)
    Defines if the the highlight effect on the gauges like the LinearSkin bar will be drawn.
    void
    setBorderPaint(javafx.scene.paint.Paint PAINT)
    Defines the Paint object that will be used to draw the border of the gauge.
    void
    setBorderWidth(double WIDTH)
    Defines the width in pixels that will be used to draw the border of the gauge.
    void
    Defines the text that will be shown in the button tooltip.
    void
    setCheckAreasForValue(boolean CHECK)
    Defines if the value of the gauge should be checked against all areas (if areas not empty).
    void
    setCheckSectionsForValue(boolean CHECK)
    Defines if the value of the gauge should be checked against all sections (if sections not empty).
    void
    setCheckThreshold(boolean CHECK)
    Defines if the value of the gauge should be checked against the threshold.
    void
    setCustomFont(javafx.scene.text.Font FONT)
    Defines the custom font that can be used to render all text elements.
    void
    setCustomFontEnabled(boolean ENABLED)
    Defines if the control should use the given customFont to render all text elements
    void
    Defines the custom font size.
    void
    Defines if custom font size for tick labels and/or custom tick labels should be used.
    void
    setCustomTickLabels(String... TICK_LABELS)
    Defines a list of Strings that represent the ticklabels that will be used for the scale.
    void
    Defines a list of Strings that represent the ticklabels that will be used for the scale.
    void
    setCustomTickLabelsEnabled(boolean ENABLED)
    Defines if custom tick labels should be used instead of the automatically calculated ones.
    void
    setDecimals(int DECIMALS)
    Defines the number of decimals that will be used to format the value of the gauge.
    void
    setForegroundBaseColor(javafx.scene.paint.Color COLOR)
    A convenient method to set the color of foreground elements like title, subTitle, unit, value, tickLabel and tickMark to the given Color.
    void
    setForegroundPaint(javafx.scene.paint.Paint PAINT)
    Defines the Paint object that will be used to fill the foreground of the gauge.
    void
    setGradientBarEnabled(boolean ENABLED)
    Defines if the gradient defined by the gradient lookup will be used to visualize the bar (if available).
    void
    setGradientBarStops(List<javafx.scene.paint.Stop> STOPS)
    Defines a list of Stops that will be used to calculate the gradient in the GradientLookup.
    void
    setGradientBarStops(javafx.scene.paint.Stop... STOPS)
    Defines a list of Stops that will be used to calculate the gradient in the GradientLookup.
    void
    setGradientLookup(eu.hansolo.toolboxfx.GradientLookup GRADIENT_LOOKUP)
    Defines the GradientLookup that is used to colorize the bar of the gauge (if avaiable)
    void
    setHighlightAreas(boolean HIGHLIGHT)
    Defines if areas should be highlighted in case they contain the current value
    void
    setHighlightSections(boolean HIGHLIGHT)
    Defines if sections should be highlighted in case they contain the current value
    void
    setInnerShadowEnabled(boolean ENABLED)
    Defines if an inner shadow should be drawn on the gauge background.
    void
    setInteractive(boolean INTERACTIVE)
    Defines if the gauge is in interactive mode.
    void
    setKeepAspect(boolean KEEP)
    Defines if the control should keep it's aspect.
    void
    setKnobColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the knob of the radial gauges.
    void
    setKnobPosition(javafx.geometry.Pos POSITION)
    Defines the position of the knob in radial gauges.
    void
    Defines the type of knob that will be used in the radial gauges.
    void
    setKnobVisible(boolean VISIBLE)
    Defines if the knob is visible.
    void
    setLcdCrystalEnabled(boolean ENABLED)
    Defines if the crystal effect of the LCD display will be drawn.
    void
    Defines the design that will be used to visualize the LCD display of the gauge (if it has one).
    void
    Defines the font that will be used to visualize the LCD value if the gauge has a LCD display.
    void
    setLcdVisible(boolean VISIBLE)
    Defines if the LCD display is visible (if available) The LCD display won't be visible if valueVisible == false.
    void
    setLedBlinking(boolean BLINKING)
    Defines if the LED is blinking (if available)
    void
    setLedColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to visualize the LED of the gauge if it has one.
    void
    setLedOn(boolean ON)
    Defines if the LED is on (if available)
    void
    Defines the graphical representation of the LED.
    void
    setLedVisible(boolean VISIBLE)
    Defines if the LED will be drawn (if available)
    void
    setLocale(Locale LOCALE)
    Sets the value of the property locale.
    void
    setMajorTickMarkColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the major tickmarks.
    void
    The factor defines the length of the major tick mark.
    void
    setMajorTickMarksVisible(boolean VISIBLE)
    Defines if the major tickmarks should be drawn If set to false and minorTickmarks == true, a minor tickmark will be drawn instead of the major tickmark.
    void
    Defines the shape that will be used to visualize the major tickmark.
    void
    The factor defines the width of the major tick mark.
    void
    setMajorTickSpace(double SPACE)
    Defines the value that represents the space between major tickmarks.
    void
    setMarkers(Marker... MARKERS)
    Sets the list of markers to the given array of Marker objects.
    void
    Sets the list of markers to the given list of Marker objects.
    void
    setMarkersVisible(boolean VISIBLE)
    Defines if the markers should be drawn
    void
    setMaxMeasuredValue(double MAX_MEASURED_VALUE)
    Sets the maxMeasuredVAlue to the given value.
    void
    setMaxMeasuredValueVisible(boolean VISIBLE)
    Defines if the indicator of the maxMeasuredValue should be visible.
    void
    setMaxValue(double VALUE)
    Sets the maximum value of the gauge scale to the given value
    void
    setMediumTickMarkColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the medium tickmarks.
    void
    The factor defines the length of the medium tick mark.
    void
    setMediumTickMarksVisible(boolean VISIBLE)
    Sets the value of the property mediumTickMarksVisible.
    void
    Defines the shape that will be used to visualize the medium tickmark.
    void
    The factor defines the width of the medium tick mark.
    void
    setMinMeasuredValue(double MIN_MEASURED_VALUE)
    Sets the minMeasuredValue to the given value.
    void
    setMinMeasuredValueVisible(boolean VISIBLE)
    Defines if the indicator of the minMeasuredValue should be visible.
    void
    setMinorTickMarkColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the minor tickmarks.
    void
    The factor defines the length of the minor tick mark.
    void
    setMinorTickMarksVisible(boolean VISIBLE)
    Defines if the minor tickmarks should be drawn
    void
    Defines the shape that will be used to visualize the minor tickmark.
    void
    The factor defines the width of the minor tick mark.
    void
    setMinorTickSpace(double SPACE)
    Defines the value that represents the space between major tickmarks.
    void
    setMinValue(double VALUE)
    Sets the minimum value of the gauge scale to the given value
    void
    Defines the behavior of the needle movement.
    void
    setNeedleBorderColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the border of the needle.
    void
    setNeedleColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the needle of the radial gauges.
    void
    Defines the graphical representation of the needle that will be used.
    void
    Defines the thickness of the needle.
    void
    Defines the shape of the needle that will be used.
    void
    setOldValueVisible(boolean VISIBLE)
    Defines if the old value of the gauge should be visible (not implemented)
    void
    setOnButtonPressed(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER)
     
    void
    setOnButtonReleased(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER)
     
    void
    Defines if only the first and the last ticklabel will be drawn.
    void
    setOnThresholdExceeded(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER)
     
    void
    setOnThresholdUnderrun(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER)
     
    void
    setOrientation(javafx.geometry.Orientation ORIENTATION)
    Defines the orientation of the control.
    void
    setReturnToZero(boolean IS_TRUE)
    Defines the behavior of the visualization where the needle/bar should always return to 0 after it reached the final value.
    void
    setScaleDirection(eu.hansolo.toolboxfx.ScaleDirection DIRECTION)
    Defines the direction of the scale.
    void
    setSectionIconsVisible(boolean VISIBLE)
    Defines if the icon of the sections should be drawn inside the sections.
    void
    setSections(Section... SECTIONS)
    Sets the sections to the given array of Section objects.
    void
    Sets the sections to the given list of Section objects.
    void
    setSectionsAlwaysVisible(boolean VISIBLE)
    Defines if the sections will always be visible.
    void
    setSectionsVisible(boolean VISIBLE)
    Defines if the sections will be drawn
    void
    setSectionTextVisible(boolean VISIBLE)
    Defines if the text of the sections should be drawn inside the sections.
    void
    setShadowsEnabled(boolean ENABLED)
    Defines if effects like shadows should be drawn.
    void
     
    void
    setSmoothing(boolean SMOOTHING)
    Defines if the smoothing property should be enabled/disabled.
    void
    setStartAngle(double ANGLE)
    Defines the angle in degree that defines the start of the scale with it's minValue in a radial gauge.
    void
    setStartFromZero(boolean IS_TRUE)
    Defines the behavior of the visualization where the needle/bar should start from 0 instead of the minValue.
    void
    setSubTitle(String SUBTITLE)
    Sets the subtitle of the gauge.
    void
    setSubTitleColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the subTitle of the gauge.
    void
    setThreshold(double THRESHOLD)
    Sets the threshold of the gauge to the given value.
    void
    setThresholdColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the threshold indicator of the gauge.
    void
    setThresholdVisible(boolean VISIBLE)
    Defines if the threshold indicator should be drawn
    void
    setTickLabelColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the ticklabels.
    void
    setTickLabelDecimals(int DECIMALS)
    Defines the number of decimals that will be used to format the value of the gauge.
    void
    Defines the location of the ticklabels.
    void
    Defines the orientation of the ticklabels.
    void
    Sets the ticklabel sections to the given array of Section objects.
    void
    Sets the ticklabel sections to the given list of Section objects.
    void
    setTickLabelSectionsVisible(boolean VISIBLE)
    Defines if the ticklabel sections should be used to colorize the ticklabels.
    void
    setTickLabelsVisible(boolean VISIBLE)
    Defines if the ticklabels should be drawn
    void
    setTickMarkColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the tickmarks.
    void
    setTickMarkRingVisible(boolean VISIBLE)
    Defines if an additional ring should be drawn that "connects" the tick marks.
    void
    Sets the tickmark sections to the given array of Section objects.
    void
    Sets the tickmark sections to the given list of Section objects.
    void
    setTickMarkSectionsVisible(boolean VISIBLE)
    Defines if the tickmark sections should be used to colorize the tickmarks.
    void
    Sets the title of the gauge.
    void
    setTitleColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the title of the gauge.
    void
    Sets the unit of the gauge.
    void
    setUnitColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the unit of the gauge.
    void
    setValue(double VALUE)
    Sets the value of the Gauge to the given double.
    void
    setValueColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the value of the gauge.
    void
    setValueVisible(boolean VISIBLE)
    Defines if the visualization of the gauge value should be visible.
    void
    setZeroColor(javafx.scene.paint.Color COLOR)
    Defines the color that will be used to colorize the 0 tickmark and ticklabel when the gauge range has a negative min- and positive maxValue.
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    void
    Calling this method will stop all threads.
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.StringProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.IntegerProperty
     
    javafx.beans.property.ObjectProperty<TickLabelLocation>
     
    javafx.beans.property.ObjectProperty<TickLabelOrientation>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.StringProperty
     
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.StringProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.DoubleProperty
     
    javafx.beans.property.BooleanProperty
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     

    Methods inherited from class javafx.scene.control.Control

    computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty

    Methods inherited from class javafx.scene.layout.Region

    backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty

    Methods inherited from class javafx.scene.Parent

    getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds

    Methods inherited from class javafx.scene.Node

    accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface javafx.css.Styleable

    getStyleableNode
  • Property Details

  • Field Details

    • DARK_COLOR

      public static final javafx.scene.paint.Color DARK_COLOR
    • BRIGHT_COLOR

      public static final javafx.scene.paint.Color BRIGHT_COLOR
    • BTN_PRESSED_EVENT

      public final Gauge.ButtonEvent BTN_PRESSED_EVENT
    • BTN_RELEASED_EVENT

      public final Gauge.ButtonEvent BTN_RELEASED_EVENT
  • Constructor Details

    • Gauge

      public Gauge()
    • Gauge

      public Gauge(Gauge.SkinType SKIN_TYPE)
    • Gauge

      public Gauge(Gauge.SkinType skinType, double minValue, double maxValue, double value, double threshold, String title, String subTitle, String unit, boolean averagingEnabled, boolean startFromZero, boolean returnToZero, javafx.scene.paint.Color zeroColor, double minMeasuredValue, double maxMeasuredValue, boolean minMeasuredValueVisible, boolean maxMeasuredValueVisible, boolean oldValueVisible, boolean valueVisible, javafx.scene.paint.Paint backgroundPaint, javafx.scene.paint.Paint borderPaint, javafx.scene.paint.Paint foregroundPaint, double borderWidth, javafx.scene.paint.Color knobColor, Gauge.KnobType knobType, boolean knobVisible, boolean animated, long animationDuration, double startAngle, double angleRange, boolean autoScale, boolean shadowsEnabled, boolean barEffectEnabled, eu.hansolo.toolboxfx.ScaleDirection scaleDirection, TickLabelLocation tickLabelLocation, TickLabelOrientation tickLabelOrientation, javafx.scene.paint.Color tickLabelColor, javafx.scene.paint.Color tickMarkColor, javafx.scene.paint.Color majorTickMarkColor, javafx.scene.paint.Color mediumTickMarkColor, javafx.scene.paint.Color minorTickMarkColor, TickMarkType majorTickMarkType, TickMarkType mediumTickMarkType, TickMarkType minorTickMarkType, Locale locale, int decimals, int tickLabelDecimals, Gauge.NeedleType needleType, Gauge.NeedleShape needleShape, Gauge.NeedleSize needleSize, Gauge.NeedleBehavior needleBehavior, javafx.scene.paint.Color needleColor, javafx.scene.paint.Color needleBorderColor, javafx.scene.paint.Color barColor, javafx.scene.paint.Color barBorderColor, javafx.scene.paint.Color barBackgroundColor, LcdDesign lcdDesign, LcdFont lcdFont, javafx.scene.paint.Color ledColor, Gauge.LedType ledType, javafx.scene.paint.Color titleColor, javafx.scene.paint.Color subTitleColor, javafx.scene.paint.Color unitColor, javafx.scene.paint.Color valueColor, javafx.scene.paint.Color thresholdColor, javafx.scene.paint.Color averageColor, boolean checkSectionsForValue, boolean checkAreasForValue, boolean checkThreshold, boolean innerShadowVisible, boolean thresholdVisible, boolean averageVisible, boolean sectionsVisible, boolean sectionsAlwaysVisible, boolean sectionTextVisible, boolean sectionIconsVisible, boolean highlightSections, boolean areasVisible, boolean areaTextVisible, boolean areaIconsVisible, boolean highlightAreas, boolean tickMarkSectionsVisible, boolean tickLabelSectionsVisible, boolean markersVisible, boolean tickLabelsVisible, boolean onlyFirstAndLastTickLabelVisible, boolean majorTickMarksVisible, boolean mediumTickMarksVisible, boolean minorTickMarksVisible, boolean tickMarkRingVisible, boolean lcdVisible, boolean lcdCrystalEnabled, boolean ledVisible, javafx.geometry.Orientation orientation, boolean keepAspect, boolean gradientBarEnabled, boolean customTickLabelsEnabled, double customTickLabelFontSize, boolean customTickLabelFontSizeEnabled, boolean interactive, String buttonTooltipText, boolean customFontEnabled, javafx.scene.text.Font customFont, boolean alert, String alertMessage, boolean smoothing)
  • Method Details

    • reInit

      public void reInit()
    • getValue

      public double getValue()
      Returns the value of the Gauge. If animated == true this value represents the value at the end of the animation. Where currentValue represents the current value during the animation.
      Returns:
      the value of the gauge
    • setValue

      public void setValue(double VALUE)
      Sets the value of the Gauge to the given double. If animated == true this value will be the end value after the animation is finished.
      Parameters:
      VALUE -
    • valueProperty

      public javafx.beans.property.DoubleProperty valueProperty()
      See Also:
    • getCurrentValue

      public double getCurrentValue()
      Returns the current value of the Gauge. If animated == true this value represents the current value during the animation. Otherwise it's returns the same value as the getValue() method.
      Returns:
      the current value of the gauge
    • currentValueProperty

      public javafx.beans.property.ReadOnlyDoubleProperty currentValueProperty()
      See Also:
    • getOldValue

      public double getOldValue()
      Returns the last value of the Gauge. This will not be the last value during an animation but the final last value after the animation was finished. If you need to get the last value during an animation you should use formerValue instead.
      Returns:
      the last value of the gauge
    • oldValueProperty

      public javafx.beans.property.ReadOnlyDoubleProperty oldValueProperty()
      See Also:
    • getFormerValue

      public double getFormerValue()
      Returns the last value of the Gauge. This will be the last value during an animation. If you need to get the last value after the animation is finished or if you don't use animation at all (when using real values) you should use oldValue instead.
      Returns:
      the last value of the gauge during an animation
    • formerValueProperty

      public javafx.beans.property.ReadOnlyDoubleProperty formerValueProperty()
      See Also:
    • getMinValue

      public double getMinValue()
      Returns the minimum value of the scale. This value represents the lower limit of the visible gauge values.
      Returns:
      the minimum value of the gauge scale
    • setMinValue

      public void setMinValue(double VALUE)
      Sets the minimum value of the gauge scale to the given value
      Parameters:
      VALUE -
    • minValueProperty

      public javafx.beans.property.DoubleProperty minValueProperty()
      See Also:
    • getMaxValue

      public double getMaxValue()
      Returns the maximum value of the scale. This value represents the upper limit of the visible gauge values.
      Returns:
      the maximum value of the gauge scale
    • setMaxValue

      public void setMaxValue(double VALUE)
      Sets the maximum value of the gauge scale to the given value
      Parameters:
      VALUE -
    • maxValueProperty

      public javafx.beans.property.DoubleProperty maxValueProperty()
      See Also:
    • getRange

      public double getRange()
      Always returns the range of the gauge scale (maxValue - minValue). This value will be automatically calculated each time the min- or maxValue will change.
      Returns:
      the range of the gauge scale
    • rangeProperty

      public javafx.beans.property.ReadOnlyDoubleProperty rangeProperty()
      See Also:
    • getThreshold

      public double getThreshold()
      Returns the threshold value that can be used to visualize a threshold value on the scale. There are also events that will be fired if the threshold was exceeded or underrun. The value will be clamped to range of the gauge.
      Returns:
      the threshold value of the gauge
    • setThreshold

      public void setThreshold(double THRESHOLD)
      Sets the threshold of the gauge to the given value. The value will be clamped to the range of the gauge.
      Parameters:
      THRESHOLD -
    • tresholdProperty

      public javafx.beans.property.DoubleProperty tresholdProperty()
    • getTitle

      public String getTitle()
      Returns the title of the gauge. This title will usually only be visible if it is not empty.
      Returns:
      the title of the gauge
    • setTitle

      public void setTitle(String TITLE)
      Sets the title of the gauge. This title will only be visible if it is not empty.
      Parameters:
      TITLE -
    • titleProperty

      public javafx.beans.property.StringProperty titleProperty()
      See Also:
    • getSubTitle

      public String getSubTitle()
      Returns the subtitle of the gauge. This subtitle will usually only be visible if it is not empty.
      Returns:
      the subtitle of the gauge
    • setSubTitle

      public void setSubTitle(String SUBTITLE)
      Sets the subtitle of the gauge. This subtitle will usually only be visible if it is not empty.
      Parameters:
      SUBTITLE -
    • subTitleProperty

      public javafx.beans.property.StringProperty subTitleProperty()
      See Also:
    • getUnit

      public String getUnit()
      Returns the unit of the gauge. This unit will usually only be visible if it is not empty.
      Returns:
      the unit of the gauge
    • setUnit

      public void setUnit(String UNIT)
      Sets the unit of the gauge. This unit will usually only be visible if it is not empty.
      Parameters:
      UNIT -
    • unitProperty

      public javafx.beans.property.StringProperty unitProperty()
      See Also:
    • getMovingAverage

      public MovingAverage getMovingAverage()
      Returns the moving average object
      Returns:
      the moving average object
    • isAveragingEnabled

      public boolean isAveragingEnabled()
      Returns true if the averaging functionality is enabled.
      Returns:
      true if the averaging functionality is enabled
    • setAveragingEnabled

      public void setAveragingEnabled(boolean ENABLED)
      Defines if the averaging functionality will be enabled.
    • averagingEnabledProperty

      public javafx.beans.property.BooleanProperty averagingEnabledProperty()
      See Also:
    • getAveragingPeriod

      public int getAveragingPeriod()
      Returns the number of values that should be used for the averaging of values. The value must be in the range of 1 - 1000.
      Returns:
      the number of values used for averaging
    • setAveragingPeriod

      public void setAveragingPeriod(int PERIOD)
      Defines the number values that should be used for the averaging of values. The value must be in the range of 1 - 1000.
      Parameters:
      PERIOD -
    • averagingPeriodProperty

      public javafx.beans.property.IntegerProperty averagingPeriodProperty()
      See Also:
    • getAveragingWindow

      public Queue<Data> getAveragingWindow()
      Returns the current list of Data objects that will be used to calculate the moving average.
      Returns:
      the current list of Data objects used for the moving average
    • getAverage

      public double getAverage()
      Returns the moving average over the number of values defined by averagingPeriod.
      Returns:
      the moving the average over the number of values defined by averagingPeriod
    • getTimeBasedAverageOf

      public double getTimeBasedAverageOf(Duration DURATION)
      Returns the moving average over the given duration.
      Parameters:
      DURATION -
      Returns:
      the moving average over the given duration
    • getSections

      public javafx.collections.ObservableList<Section> getSections()
      Returns an observable list of Section objects. The sections will be used to colorize areas with a special meaning such as the red area in a rpm gauge. Sections in the Medusa library usually are less eye-catching than Areas.
      Returns:
      an observable list of Section objects
    • setSections

      public void setSections(List<Section> SECTIONS)
      Sets the sections to the given list of Section objects. The sections will be used to colorize areas with a special meaning such as the red area in a rpm gauge. Sections in the Medusa library usually are less eye-catching than Areas.
      Parameters:
      SECTIONS -
    • setSections

      public void setSections(Section... SECTIONS)
      Sets the sections to the given array of Section objects. The sections will be used to colorize areas with a special meaning such as the red area in a rpm gauge.
      Parameters:
      SECTIONS -
    • addSection

      public void addSection(Section SECTION)
      Adds the given Section to the list of sections. Sections in the Medusa library usually are less eye-catching than Areas.
      Parameters:
      SECTION -
    • removeSection

      public void removeSection(Section SECTION)
      Removes the given Section from the list of sections. Sections in the Medusa library usually are less eye-catching than Areas.
      Parameters:
      SECTION -
    • clearSections

      public void clearSections()
      Clears the list of sections.
    • getAreas

      public javafx.collections.ObservableList<Section> getAreas()
      Returns an observable list of Section objects. The sections will be used to colorize areas with a special meaning such as the red area in a rpm gauge. Areas in the Medusa library usually are more eye-catching than Sections.
      Returns:
      an observable list of Section objects
    • setAreas

      public void setAreas(List<Section> AREAS)
      Sets the sections to the given list of Section objects. The sections will be used to colorize areas with a special meaning such as the red area in a rpm gauge. Areas in the Medusa library usually are more eye-catching than Sections.
      Parameters:
      AREAS -
    • setAreas

      public void setAreas(Section... AREAS)
      Sets the sections to the given array of Section objects. The sections will be used to colorize areas with a special meaning such as the red area in a rpm gauge. Areas in the Medusa library usually are more eye-catching than Sections.
      Parameters:
      AREAS -
    • addArea

      public void addArea(Section AREA)
      Adds the given Section to the list of areas. Areas in the Medusa library usually are more eye-catching than Sections.
      Parameters:
      AREA -
    • removeArea

      public void removeArea(Section AREA)
      Removes the given Section from the list of areas. Areas in the Medusa library usually are more eye-catching than Sections.
      Parameters:
      AREA -
    • clearAreas

      public void clearAreas()
      Clears the list of areas.
    • getTickMarkSections

      public javafx.collections.ObservableList<Section> getTickMarkSections()
      Returns an observable list of Section objects. The sections will be used to colorize tickmarks with a special meaning such as the red area in a rpm gauge.
      Returns:
      an observable list of Section objects
    • setTickMarkSections

      public void setTickMarkSections(List<Section> SECTIONS)
      Sets the tickmark sections to the given list of Section objects.
      Parameters:
      SECTIONS -
    • setTickMarkSections

      public void setTickMarkSections(Section... SECTIONS)
      Sets the tickmark sections to the given array of Section objects.
      Parameters:
      SECTIONS -
    • addTickMarkSection

      public void addTickMarkSection(Section SECTION)
      Adds the given Section to the list of tickmark sections.
      Parameters:
      SECTION -
    • removeTickMarkSection

      public void removeTickMarkSection(Section SECTION)
      Removes the given Section from the list of tickmark sections.
      Parameters:
      SECTION -
    • clearTickMarkSections

      public void clearTickMarkSections()
      Clears the list of tickmark sections.
    • getTickLabelSections

      public javafx.collections.ObservableList<Section> getTickLabelSections()
      Returns an observable list of Section objects. The sections will be used to colorize ticklabels with a special meaning such as the red area in a rpm gauge.
      Returns:
      an observable list of Section objects
    • setTickLabelSections

      public void setTickLabelSections(List<Section> SECTIONS)
      Sets the ticklabel sections to the given list of Section objects.
      Parameters:
      SECTIONS -
    • setTickLabelSections

      public void setTickLabelSections(Section... SECTIONS)
      Sets the ticklabel sections to the given array of Section objects.
      Parameters:
      SECTIONS -
    • addTickLabelSection

      public void addTickLabelSection(Section SECTION)
      Adds the given Section to the list of ticklabel sections.
      Parameters:
      SECTION -
    • removeTickLabelSection

      public void removeTickLabelSection(Section SECTION)
      Removes the given Section from the list of ticklabel sections.
      Parameters:
      SECTION -
    • clearTickLabelSections

      public void clearTickLabelSections()
      Clears the list of ticklabel sections.
    • getMarkers

      public javafx.collections.ObservableList<Marker> getMarkers()
      Returns an observable list of Marker objects. Like the threshold the markers are used to visualize specific values. The markers will be visualized using nodes with mouse event support (pressed, released) and tooltip.
      Returns:
      an observable list of Marker objects
    • setMarkers

      public void setMarkers(List<Marker> MARKERS)
      Sets the list of markers to the given list of Marker objects. The markers will be visualized using nodes with mouse event support (pressed, released) and tooltip.
      Parameters:
      MARKERS -
    • setMarkers

      public void setMarkers(Marker... MARKERS)
      Sets the list of markers to the given array of Marker objects. The markers will be visualuzed using nodes with mouse event support (pressed, released) and tooltip.
      Parameters:
      MARKERS -
    • addMarker

      public void addMarker(Marker MARKER)
      Adds the given Marker to the list of markers.
      Parameters:
      MARKER -
    • removeMarker

      public void removeMarker(Marker MARKER)
      Removes the given Marker from the list of markers.
      Parameters:
      MARKER -
    • clearMarkers

      public void clearMarkers()
      Clears the list of markers.
    • setForegroundBaseColor

      public void setForegroundBaseColor(javafx.scene.paint.Color COLOR)
      A convenient method to set the color of foreground elements like title, subTitle, unit, value, tickLabel and tickMark to the given Color.
      Parameters:
      COLOR -
    • isStartFromZero

      public boolean isStartFromZero()
      Returns true if the visualization of the value should start from 0. This is especially useful when you work for example with a gauge that has a range with a negative minValue
      Returns:
      true if the visualization of the value should start from 0
    • setStartFromZero

      public void setStartFromZero(boolean IS_TRUE)
      Defines the behavior of the visualization where the needle/bar should start from 0 instead of the minValue. This is especially useful when working with a gauge that has a range with a negative minValue
      Parameters:
      IS_TRUE -
    • startFromZeroProperty

      public javafx.beans.property.BooleanProperty startFromZeroProperty()
      See Also:
    • isReturnToZero

      public boolean isReturnToZero()
      Returns true if the needle/bar should always return to zero. This setting only makes sense if animated == true and the data rate is not too high. Set to false when using real measured live data.
      Returns:
      true if the needle/bar should always return to zero.
    • setReturnToZero

      public void setReturnToZero(boolean IS_TRUE)
      Defines the behavior of the visualization where the needle/bar should always return to 0 after it reached the final value. This setting only makes sense if animated == true and the data rate is not too high. Set to false when using real measured live data.
      Parameters:
      IS_TRUE -
    • returnToZeroProperty

      public javafx.beans.property.BooleanProperty returnToZeroProperty()
      See Also:
    • getZeroColor

      public javafx.scene.paint.Color getZeroColor()
      Returns the color that will be used to colorize the 0 tickmark and ticklabel when the gauge range has a negative min- and positive maxValue.
      Returns:
      the color that will used to visualize the 0 tickmark and ticklabel
    • setZeroColor

      public void setZeroColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the 0 tickmark and ticklabel when the gauge range has a negative min- and positive maxValue.
      Parameters:
      COLOR -
    • zeroColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> zeroColorProperty()
      See Also:
    • getMinMeasuredValue

      public double getMinMeasuredValue()
      Returns the smallest value that was measured after the last reset. The default value is the maxValue of the gauge.
      Returns:
      the smallest value that was measured after the last reset
    • setMinMeasuredValue

      public void setMinMeasuredValue(double MIN_MEASURED_VALUE)
      Sets the minMeasuredValue to the given value.
      Parameters:
      MIN_MEASURED_VALUE -
    • minMeasuredValueProperty

      public javafx.beans.property.ReadOnlyDoubleProperty minMeasuredValueProperty()
      See Also:
    • getMaxMeasuredValue

      public double getMaxMeasuredValue()
      Returns the biggest value that was measured after the last reset. The default value is the minValue of the gauge.
      Returns:
      the biggest value that was measured after the last reset
    • setMaxMeasuredValue

      public void setMaxMeasuredValue(double MAX_MEASURED_VALUE)
      Sets the maxMeasuredVAlue to the given value.
      Parameters:
      MAX_MEASURED_VALUE -
    • maxMeasuredValueProperty

      public javafx.beans.property.ReadOnlyDoubleProperty maxMeasuredValueProperty()
      See Also:
    • resetMeasuredValues

      public void resetMeasuredValues()
      Resets the min- and maxMeasuredValue to the value of the gauge.
    • isMinMeasuredValueVisible

      public boolean isMinMeasuredValueVisible()
      Returns true if the indicator of the minMeasuredValue is visible.
      Returns:
      true if the indicator of the minMeasuredValue is visible
    • setMinMeasuredValueVisible

      public void setMinMeasuredValueVisible(boolean VISIBLE)
      Defines if the indicator of the minMeasuredValue should be visible.
      Parameters:
      VISIBLE -
    • minMeasuredValueVisibleProperty

      public javafx.beans.property.BooleanProperty minMeasuredValueVisibleProperty()
      See Also:
    • isMaxMeasuredValueVisible

      public boolean isMaxMeasuredValueVisible()
      Returns true if the indicator of the maxMeasuredValue is visible.
      Returns:
      true if the indicator of the maxMeasuredValue is visible
    • setMaxMeasuredValueVisible

      public void setMaxMeasuredValueVisible(boolean VISIBLE)
      Defines if the indicator of the maxMeasuredValue should be visible.
      Parameters:
      VISIBLE -
    • maxMeasuredValueVisibleProperty

      public javafx.beans.property.BooleanProperty maxMeasuredValueVisibleProperty()
      See Also:
    • isOldValueVisible

      public boolean isOldValueVisible()
      Returns true if the old value of the gauge is visible (not implemented)
      Returns:
      true if the old value of the gauge is visible (not implemented)
    • setOldValueVisible

      public void setOldValueVisible(boolean VISIBLE)
      Defines if the old value of the gauge should be visible (not implemented)
      Parameters:
      VISIBLE -
    • oldValueVisibleProperty

      public javafx.beans.property.BooleanProperty oldValueVisibleProperty()
      See Also:
    • isValueVisible

      public boolean isValueVisible()
      Returns true if the visualization of the gauge value is visible. Usually this is a Label or Text node.
      Returns:
      true if the visualization of the gauge value is visible
    • setValueVisible

      public void setValueVisible(boolean VISIBLE)
      Defines if the visualization of the gauge value should be visible.
      Parameters:
      VISIBLE -
    • valueVisibleProperty

      public javafx.beans.property.BooleanProperty valueVisibleProperty()
      See Also:
    • getBackgroundPaint

      public javafx.scene.paint.Paint getBackgroundPaint()
      Returns the Paint object that will be used to fill the gauge background. This is usally a Color object.
      Returns:
      the Paint object that will be used to fill the gauge background
    • setBackgroundPaint

      public void setBackgroundPaint(javafx.scene.paint.Paint PAINT)
      Defines the Paint object that will be used to fill the gauge background.
      Parameters:
      PAINT -
    • backgroundPaintProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> backgroundPaintProperty()
      See Also:
    • getBorderPaint

      public javafx.scene.paint.Paint getBorderPaint()
      Returns the Paint object that will be used to draw the border of the gauge. Usually this is a Color object.
      Returns:
      the Paint object that will be used to draw the border of the gauge
    • setBorderPaint

      public void setBorderPaint(javafx.scene.paint.Paint PAINT)
      Defines the Paint object that will be used to draw the border of the gauge.
      Parameters:
      PAINT -
    • borderPaintProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> borderPaintProperty()
      See Also:
    • getBorderWidth

      public double getBorderWidth()
      Returns the width in pixels that will be used to draw the border of the gauge. The value will be clamped between 0 and 50 pixels.
      Returns:
      the width in pixels that will be used to draw the border of the gauge
    • setBorderWidth

      public void setBorderWidth(double WIDTH)
      Defines the width in pixels that will be used to draw the border of the gauge. The value will be clamped between 0 and 50 pixels.
      Parameters:
      WIDTH -
    • borderWidthProperty

      public javafx.beans.property.DoubleProperty borderWidthProperty()
      See Also:
    • getForegroundPaint

      public javafx.scene.paint.Paint getForegroundPaint()
      Returns the Paint object that will be used to fill the foreground of the gauge. This could be used to visualize glass effects etc. and is only rarely used.
      Returns:
      the Paint object that will be used to fill the foreground of the gauge
    • setForegroundPaint

      public void setForegroundPaint(javafx.scene.paint.Paint PAINT)
      Defines the Paint object that will be used to fill the foreground of the gauge. This could be used to visualize glass effects etc. and is only rarely used.
      Parameters:
      PAINT -
    • foregroundPaintProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> foregroundPaintProperty()
      See Also:
    • getKnobColor

      public javafx.scene.paint.Color getKnobColor()
      Returns the color that will be used to colorize the knob of the radial gauges.
      Returns:
      the color that will be used to colorize the knob of the radial gauges
    • setKnobColor

      public void setKnobColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the knob of the radial gauges.
      Parameters:
      COLOR -
    • knobColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> knobColorProperty()
      See Also:
    • getKnobType

      public Gauge.KnobType getKnobType()
      Returns the type of knob that will be used in the radial gauges. The values are STANDARD, PLAIN, METAL and FLAT.
      Returns:
      the type of knob that will be used in the radial gauges
    • setKnobType

      public void setKnobType(Gauge.KnobType TYPE)
      Defines the type of knob that will be used in the radial gauges. The values are STANDARD, PLAIN, METAL and FLAT.
      Parameters:
      TYPE -
    • knobTypeProperty

      public javafx.beans.property.ObjectProperty<Gauge.KnobType> knobTypeProperty()
      See Also:
    • getKnobPosition

      public javafx.geometry.Pos getKnobPosition()
      Returns the position of the knob in radial gauges. This position also defines where the needle will be placed. Dependent on the SkinType you can use the following values GaugeSkin : CENTER HSkin : TOP_CENTER, BOTTOM_CENTER VSkin : CENTER_LEFT, CENTER_RIGHT QuarterSkin: TOP_RIGHT, BOTTOM_RIGHT, BOTTOM_LEFT, TOP_LEFT
      Returns:
      the position of the knob in the radial gauges
    • setKnobPosition

      public void setKnobPosition(javafx.geometry.Pos POSITION)
      Defines the position of the knob in radial gauges. This position also defines where the needle will be placed. Dependent on the SkinType you can use the following values GaugeSkin : CENTER HSkin : TOP_CENTER, BOTTOM_CENTER VSkin : CENTER_LEFT, CENTER_RIGHT QuarterSkin: TOP_RIGHT, BOTTOM_RIGHT, BOTTOM_LEFT, TOP_LEFT
      Parameters:
      POSITION -
    • knobPositionProperty

      public javafx.beans.property.ObjectProperty<javafx.geometry.Pos> knobPositionProperty()
      See Also:
    • isKnobVisible

      public boolean isKnobVisible()
      Returns true if the knob is visible.
      Returns:
      true if the knob is visible
    • setKnobVisible

      public void setKnobVisible(boolean VISIBLE)
      Defines if the knob is visible.
      Parameters:
      VISIBLE -
    • knobVisibleProperty

      public javafx.beans.property.BooleanProperty knobVisibleProperty()
      See Also:
    • isAnimated

      public boolean isAnimated()
      Returns true if setting the value of the gauge will be animated using the duration defined in animationDuration [ms]. Keep in mind that it only makes sense to animate the setting if the data rate is low (more than 1 value per second). If you use real live measured data you should set animated to false.
      Returns:
      true if setting the value of the gauge will be animated
    • setAnimated

      public void setAnimated(boolean ANIMATED)
      Defines if setting the value of the gauge should be animated using the duration defined in animationDuration [ms]. Keep in mind that it only makes sense to animate the setting if the data rate is low (more than 1 value per second). If you use real live measured data you should set animated to false.
      Parameters:
      ANIMATED -
    • animatedProperty

      public javafx.beans.property.BooleanProperty animatedProperty()
      See Also:
    • getAnimationDuration

      public long getAnimationDuration()
      Returns the duration in milliseconds that will be used to animate the needle/bar of the gauge from the last value to the next value. This will only be used if animated == true. This value will be clamped in the range of 10ms - 10s.
      Returns:
      the duration in ms that will be used to animate the needle/bar
    • setAnimationDuration

      public void setAnimationDuration(long ANIMATION_DURATION)
      Defines the duration in milliseconds that will be used to animate the needle/bar of the gauge from the last value to the next value. This will only be used if animated == true. This value will be clamped in the range of 10ms - 10s.
      Parameters:
      ANIMATION_DURATION -
    • getStartAngle

      public double getStartAngle()
      Returns the angle in degree that defines the start of the scale with it's minValue in a radial gauge. If set to 0 the scale will start at the bottom center and the direction of counting is mathematical correct counter-clockwise. Means if you would like to start the scale on the left side in the middle of the gauge height the startAngle should be set to 270 degrees.
      Returns:
      the angle in degree that defines the start of the scale
    • setStartAngle

      public void setStartAngle(double ANGLE)
      Defines the angle in degree that defines the start of the scale with it's minValue in a radial gauge. If set to 0 the scale will start at the bottom center and the direction of counting is mathematical correct counter-clockwise. Means if you would like to start the scale on the left side in the middle of the gauge height the startAngle should be set to 270 degrees.
      Parameters:
      ANGLE -
    • startAngleProperty

      public javafx.beans.property.DoubleProperty startAngleProperty()
      See Also:
    • getAngleRange

      public double getAngleRange()
      Returns the angle range in degree that will be used to draw the scale of the radial gauge. The given range will be clamped in the range of 0 - 360 degrees and will be drawn in the direction dependent on the scaleDirection.
      Returns:
      the angle range in degree that will be used to draw the scale
    • setAngleRange

      public void setAngleRange(double RANGE)
      Defines the angle range in degree that will be used to draw the scale of the radial gauge. The given range will be clamped in the range of 0 - 360 degrees. The range will start at the startAngle and will be drawn in the direction dependent on the scaleDirection.
      Parameters:
      RANGE -
    • angleRangeProperty

      public javafx.beans.property.DoubleProperty angleRangeProperty()
      See Also:
    • getAngleStep

      public double getAngleStep()
      Returns the value that is calculated by dividing the angleRange by the range. The angleStep will always be recalculated when changing the min-, maxValue or angleRange. E.g. angleRange = 180 degrees, range = 0 - 100 will lead to angleStep = 180/100 = 1.8
      Returns:
      the value that is calculated by dividing the angleRange by the range
    • angleStepProperty

      public javafx.beans.property.ReadOnlyDoubleProperty angleStepProperty()
      See Also:
    • getArcExtend

      public double getArcExtend()
      Returns the distance between the segments in the SIMPLE_DIGITAL skin.
      Returns:
      the distance between the segments in the SIMPLE_DIGITAL skin.
    • setArcExtend

      public void setArcExtend(double ARC_EXTEND)
      Defines the distance between the segments in the SIMPLE_DIGITAL_SKIN
      Parameters:
      ARC_EXTEND -
    • arcExtendProperty

      public javafx.beans.property.DoubleProperty arcExtendProperty()
      See Also:
    • isAutoScale

      public boolean isAutoScale()
      Returns true if the scale will be calculated automatically based on the defined values for min- and maxValue. The autoscaling is on per default because otherwise you will run into problems when having very large or very small scales like 0 - 10000 or 0 - 1.
      Returns:
      true if the scale will be calculated automatically
    • setAutoScale

      public void setAutoScale(boolean AUTO_SCALE)
      Defines if the scale should be calculated automatically based on the defined values for min- and maxValue. The autoscaling is on per default because otherwise you will run into problems when having very large or very small scales like 0 - 10000 or 0 - 1.
      Parameters:
      AUTO_SCALE -
    • autoScaleProperty

      public javafx.beans.property.BooleanProperty autoScaleProperty()
      See Also:
    • isShadowsEnabled

      public boolean isShadowsEnabled()
      Returns true if effects like shadows will be drawn. In some gauges inner- and dropshadows will be used which will be switched on/off by setting the shadowsEnabled property.
      Returns:
      true if effects like shadows will be drawn
    • setShadowsEnabled

      public void setShadowsEnabled(boolean ENABLED)
      Defines if effects like shadows should be drawn. In some gauges inner- and dropshadows will be used which will be switched on/off by setting the shadowsEnabled property.
      Parameters:
      ENABLED -
    • shadowsEnabledProperty

      public javafx.beans.property.BooleanProperty shadowsEnabledProperty()
      See Also:
    • isBarEffectEnabled

      public boolean isBarEffectEnabled()
      Returns true if the highlight effect on the gauges like the LinearSkin bar will be drawn. If you would like to have a more flat style you should set this to false.
      Returns:
      true if the highlight effect on a bar will be drawn
    • setBarEffectEnabled

      public void setBarEffectEnabled(boolean ENABLED)
      Defines if the the highlight effect on the gauges like the LinearSkin bar will be drawn. If you would like to have a more flat style you should set this to false.
      Parameters:
      ENABLED -
    • barEffectEnabledProperty

      public javafx.beans.property.BooleanProperty barEffectEnabledProperty()
      See Also:
    • getScaleDirection

      public eu.hansolo.toolboxfx.ScaleDirection getScaleDirection()
      Returns the direction of the scale. The values are CLOCKWISE and COUNTER_CLOCKWISE. This property is needed to realize gauges like in QuarterSkin where the needle and knob should be placed on the upper right corner and the scale should start at the bottom. Here you need a counter-clockwise direction of the scale.
      Returns:
      the direction of the scale
    • setScaleDirection

      public void setScaleDirection(eu.hansolo.toolboxfx.ScaleDirection DIRECTION)
      Defines the direction of the scale. The values are CLOCKWISE and COUNTER_CLOCKWISE. This property is needed to realize gauges like in QuarterSkin where the needle and knob should be placed on the upper right corner and the scale should start at the bottom. Here you need a counter-clockwise direction of the scale.
      Parameters:
      DIRECTION -
    • scaleDirectionProperty

      public javafx.beans.property.ObjectProperty<eu.hansolo.toolboxfx.ScaleDirection> scaleDirectionProperty()
      See Also:
    • getTickLabelLocation

      public TickLabelLocation getTickLabelLocation()
      Returns the location of the ticklabels. The values are INSIDE and OUTSIDE. The location of the ticklabels has an influence on the size of the tickmarks and length of the needle.
      Returns:
      the location of the ticklabels
    • setTickLabelLocation

      public void setTickLabelLocation(TickLabelLocation LOCATION)
      Defines the location of the ticklabels. The values are INSIDE and OUTSIDE. The location of the ticklabels has an influence on the size of the tickmarks and length of the needle.
      Parameters:
      LOCATION -
    • tickLabelLocationProperty

      public javafx.beans.property.ObjectProperty<TickLabelLocation> tickLabelLocationProperty()
      See Also:
    • getTickLabelOrientation

      public TickLabelOrientation getTickLabelOrientation()
      Returns the orientation of the ticklabels. The values are HORIZONTAL, ORTHOGONAL and TANGENT. Especially the ORTHOGONAL setting can be useful when using scales with big numbers.
      Returns:
      the orientation of the ticklabels
    • setTickLabelOrientation

      public void setTickLabelOrientation(TickLabelOrientation ORIENTATION)
      Defines the orientation of the ticklabels. The values are HORIZONTAL, ORTHOGONAL and TANGENT. Especially the ORTHOGONAL setting can be useful when using scales with big numbers.
      Parameters:
      ORIENTATION -
    • tickLabelOrientationProperty

      public javafx.beans.property.ObjectProperty<TickLabelOrientation> tickLabelOrientationProperty()
      See Also:
    • getTickLabelColor

      public javafx.scene.paint.Color getTickLabelColor()
      Returns the color that will be used to colorize the ticklabels. This color will only be used if no ticklabel section defines a different color.
      Returns:
      the color that will be used to colorize the ticklabels
    • setTickLabelColor

      public void setTickLabelColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the ticklabels. This color will only be used if no ticklabel section defines a different color.
      Parameters:
      COLOR -
    • tickLabelColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> tickLabelColorProperty()
      See Also:
    • getTickMarkColor

      public javafx.scene.paint.Color getTickMarkColor()
      Returns the color that will be used to colorize the tickmarks. This color will only be used if no tickmark section or major-, medium- and minorTickMarkColor is defined at the position of the tickmark.
      Returns:
      the color that will be used to colorize the tickmarks
    • setTickMarkColor

      public void setTickMarkColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the tickmarks. This color will only be used if no tickmark section or major-, medium- and minorTickMarkColor is defined at the position of the tickmark.
      Parameters:
      COLOR -
    • tickMarkColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> tickMarkColorProperty()
      See Also:
    • getMajorTickMarkColor

      public javafx.scene.paint.Color getMajorTickMarkColor()
      Returns the color that will be used to colorize the major tickmarks. This color will only be used if no tickmark section is defined at the position of the tickmark.
      Returns:
      the color that will be used to colorize the major tickmarks
    • setMajorTickMarkColor

      public void setMajorTickMarkColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the major tickmarks. This color will only be used if no tickmark section is defined at the position of the tickmark.
      Parameters:
      COLOR -
    • majorTickMarkColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> majorTickMarkColorProperty()
      See Also:
    • getMajorTickMarkLengthFactor

      public double getMajorTickMarkLengthFactor()
      Returns the factor that defines the length of the major tick mark. The value can be in the range from 0 - 1;
      Returns:
      the factor that defines the length of the major tick mark
    • setMajorTickMarkLengthFactor

      public void setMajorTickMarkLengthFactor(double FACTOR)
      The factor defines the length of the major tick mark. It can be in the range from 0 - 1.
      Parameters:
      FACTOR -
    • majorTickMarkLengthFactorProperty

      public javafx.beans.property.DoubleProperty majorTickMarkLengthFactorProperty()
      See Also:
    • getMajorTickMarkWidthFactor

      public double getMajorTickMarkWidthFactor()
      Returns the factor that defines the width of the major tick mark. The value can be in the range from 0 - 1.
      Returns:
      the factor that defines the width of the major tick mark
    • setMajorTickMarkWidthFactor

      public void setMajorTickMarkWidthFactor(double FACTOR)
      The factor defines the width of the major tick mark. It can be in the range from 0 - 1.
      Parameters:
      FACTOR -
    • majorTickMarkWidthFactorProperty

      public javafx.beans.property.DoubleProperty majorTickMarkWidthFactorProperty()
      See Also:
    • getMediumTickMarkColor

      public javafx.scene.paint.Color getMediumTickMarkColor()
      Returns the color that will be used to colorize the medium tickmarks. This color will only be used if no tickmark section is defined at the position of the tickmark.
      Returns:
      the color that will be used to colorize the medium tickmark
    • setMediumTickMarkColor

      public void setMediumTickMarkColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the medium tickmarks. This color will only be used if no tickmark section is defined at the position of the tickmark.
      Parameters:
      COLOR -
    • mediumTickMarkColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> mediumTickMarkColorProperty()
      See Also:
    • getMediumTickMarkLengthFactor

      public double getMediumTickMarkLengthFactor()
      Returns the factor that defines the length of the medium tick mark. The value can be in the range from 0 - 1;
      Returns:
      the factor that defines the length of the medium tick mark
    • setMediumTickMarkLengthFactor

      public void setMediumTickMarkLengthFactor(double FACTOR)
      The factor defines the length of the medium tick mark. It can be in the range from 0 - 1.
      Parameters:
      FACTOR -
    • mediumTickMarkLengthFactorProperty

      public javafx.beans.property.DoubleProperty mediumTickMarkLengthFactorProperty()
      See Also:
    • getMediumTickMarkWidthFactor

      public double getMediumTickMarkWidthFactor()
      Returns the factor that defines the width of the medium tick mark. The value can be in the range from 0 - 1.
      Returns:
      the factor that defines the width of the medium tick mark
    • setMediumTickMarkWidthFactor

      public void setMediumTickMarkWidthFactor(double FACTOR)
      The factor defines the width of the medium tick mark. It can be in the range from 0 - 1.
      Parameters:
      FACTOR -
    • mediumTickMarkWidthFactorProperty

      public javafx.beans.property.DoubleProperty mediumTickMarkWidthFactorProperty()
      See Also:
    • getMinorTickMarkColor

      public javafx.scene.paint.Color getMinorTickMarkColor()
      Returns the color that will be used to colorize the minor tickmarks. This color will only be used if no tickmark section is defined at the position of the tickmark.
      Returns:
      the color that will be used to colorize the minor tickmark
    • setMinorTickMarkColor

      public void setMinorTickMarkColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the minor tickmarks. This color will only be used if no tickmark section is defined at the position of the tickmark.
      Parameters:
      COLOR -
    • minorTickMarkColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> minorTickMarkColorProperty()
      See Also:
    • getMinorTickMarkLengthFactor

      public double getMinorTickMarkLengthFactor()
      Returns the factor that defines the length of the minor tick mark. The value can be in the range from 0 - 1;
      Returns:
      the factor that defines the length of the minor tick mark
    • setMinorTickMarkLengthFactor

      public void setMinorTickMarkLengthFactor(double FACTOR)
      The factor defines the length of the minor tick mark. It can be in the range from 0 - 1.
      Parameters:
      FACTOR -
    • minorTickMarkLengthFactorProperty

      public javafx.beans.property.DoubleProperty minorTickMarkLengthFactorProperty()
      See Also:
    • getMinorTickMarkWidthFactor

      public double getMinorTickMarkWidthFactor()
      Returns the factor that defines the width of the minor tick mark. The value can be in the range from 0 - 1.
      Returns:
      the factor that defines the width of the minor tick mark
    • setMinorTickMarkWidthFactor

      public void setMinorTickMarkWidthFactor(double FACTOR)
      The factor defines the width of the minor tick mark. It can be in the range from 0 - 1.
      Parameters:
      FACTOR -
    • minorTickMarkWidthFactorProperty

      public javafx.beans.property.DoubleProperty minorTickMarkWidthFactorProperty()
      See Also:
    • getMajorTickMarkType

      public TickMarkType getMajorTickMarkType()
      Returns the shape that will be used to visualize the major tickmark. Values are LINE, DOT, TRAPEZOID, BOX, TICK_LABEL and PILL
      Returns:
      the shape that will be used to visualize the major tickmark
    • setMajorTickMarkType

      public void setMajorTickMarkType(TickMarkType TYPE)
      Defines the shape that will be used to visualize the major tickmark. Values are LINE, DOT, TRAPEZOID, BOX, TICK_LABEL and PILL
      Parameters:
      TYPE -
    • majorTickMarkTypeProperty

      public javafx.beans.property.ObjectProperty<TickMarkType> majorTickMarkTypeProperty()
      See Also:
    • getMediumTickMarkType

      public TickMarkType getMediumTickMarkType()
      Returns the shape that will be used to visualize the medium tickmark. Values are LINE, DOT, TRAPEZOID, BOX and PILL
      Returns:
      the shape that will be used to visualize the medium tickmark
    • setMediumTickMarkType

      public void setMediumTickMarkType(TickMarkType TYPE)
      Defines the shape that will be used to visualize the medium tickmark. Values are LINE, DOT, TRAPEZOID, BOX and PILL
      Parameters:
      TYPE -
    • mediumTickMarkTypeProperty

      public javafx.beans.property.ObjectProperty<TickMarkType> mediumTickMarkTypeProperty()
      See Also:
    • getMinorTickMarkType

      public TickMarkType getMinorTickMarkType()
      Returns the shape that will be used to visualize the minor tickmark. Values are LINE, DOT, TRAPEZOID, BOX and PILL
      Returns:
      the shape that will be used to visualize the minor tickmark
    • setMinorTickMarkType

      public void setMinorTickMarkType(TickMarkType TYPE)
      Defines the shape that will be used to visualize the minor tickmark. Values are LINE, DOT, TRAPEZOID, BOX and PILL
      Parameters:
      TYPE -
    • minorTickMarkTypeProperty

      public javafx.beans.property.ObjectProperty<TickMarkType> minorTickMarkTypeProperty()
      See Also:
    • getLocale

      public Locale getLocale()
      Gets the value of the property locale.
      Property description:
    • setLocale

      public void setLocale(Locale LOCALE)
      Sets the value of the property locale.
      Property description:
    • localeProperty

      public javafx.beans.property.ObjectProperty<Locale> localeProperty()
      See Also:
    • getDecimals

      public int getDecimals()
      Returns the number of decimals that will be used to format the value of the gauge. The number of decimals will be clamped to a value between 0-3.
      Returns:
      the number of decimals that will be used to format the value
    • setDecimals

      public void setDecimals(int DECIMALS)
      Defines the number of decimals that will be used to format the value of the gauge. The number of decimals will be clamped to a value between 0-3.
      Parameters:
      DECIMALS -
    • decimalsProperty

      public javafx.beans.property.IntegerProperty decimalsProperty()
      See Also:
    • getTickLabelDecimals

      public int getTickLabelDecimals()
      Returns the number of decimals that will be used to format the value of the ticklabels. The number of decimals will be clamped to a value between 0-3.
      Returns:
    • setTickLabelDecimals

      public void setTickLabelDecimals(int DECIMALS)
      Defines the number of decimals that will be used to format the value of the gauge. The number of decimals will be clamped to a value between 0-3.
      Parameters:
      DECIMALS -
    • tickLabelDecimalsProperty

      public javafx.beans.property.IntegerProperty tickLabelDecimalsProperty()
      See Also:
    • getNeedleType

      public Gauge.NeedleType getNeedleType()
      Returns the shape of the needle that will be used. This is dependent on the used SkinType. Values are GaugeSkin : STANDARD, FAT HSkin : STANDARD VSkin : STANDARD QuarterSkin: STANDARD
      Returns:
      the shape of the needle that will be used
    • setNeedleType

      public void setNeedleType(Gauge.NeedleType TYPE)
      Defines the shape of the needle that will be used. This is dependent on the used SkinType. Values are GaugeSkin : STANDARD, FAT HSkin : STANDARD VSkin : STANDARD QuarterSkin: STANDARD
      Parameters:
      TYPE -
    • needleTypeProperty

      public javafx.beans.property.ObjectProperty<Gauge.NeedleType> needleTypeProperty()
      See Also:
    • getNeedleShape

      public Gauge.NeedleShape getNeedleShape()
      Returns the graphical representation of the needle that will be used. Values are ANGLED, ROUND and FLAT In principle it defines how the needle will be filled (gradient, color)
      Returns:
      the graphical representation of the needle
    • setNeedleShape

      public void setNeedleShape(Gauge.NeedleShape SHAPE)
      Defines the graphical representation of the needle that will be used. Values are ANGLED, ROUND and FLAT In principle it defines how the needle will be filled (gradient, color)
      Parameters:
      SHAPE -
    • needleShapeProperty

      public javafx.beans.property.ObjectProperty<Gauge.NeedleShape> needleShapeProperty()
      See Also:
    • getNeedleSize

      public Gauge.NeedleSize getNeedleSize()
      Returns the thickness of the needle. The values are THIN, STANDARD and THICK
      Returns:
      the thickness of the needle
    • setNeedleSize

      public void setNeedleSize(Gauge.NeedleSize SIZE)
      Defines the thickness of the needle. The values are THIN, STANDARD and THICK
      Parameters:
      SIZE -
    • needleSizeProperty

      public javafx.beans.property.ObjectProperty<Gauge.NeedleSize> needleSizeProperty()
      See Also:
    • getNeedleBehavior

      public Gauge.NeedleBehavior getNeedleBehavior()
      Returns the behavior of the needle movement. The values are STANDARD and OPTIMIZED This is an experimental feature that only makes sense in gauges that use an angleRange of 360 degrees and where the needle should be able to use the shortest way to the target value. As an example one can think of a compass. If the value in a compass changes from 20 degrees to 290 degrees the needle will take the shortest way to the value, in this case this means it will rotate counter-clockwise.
      Returns:
      the behavior of the needle movement (EXPERIMENTAL)
    • setNeedleBehavior

      public void setNeedleBehavior(Gauge.NeedleBehavior BEHAVIOR)
      Defines the behavior of the needle movement. The values are STANDARD and OPTIMIZED This is an experimental feature that only makes sense in gauges that use an angleRange of 360 degrees and where the needle should be able to use the shortest way to the target value. As an example one can think of a compass. If the value in a compass changes from 20 degrees to 290 degrees the needle will take the shortest way to the value, in this case this means it will rotate counter-clockwise.
      Parameters:
      BEHAVIOR -
    • needleBehaviorProperty

      public javafx.beans.property.ObjectProperty<Gauge.NeedleBehavior> needleBehaviorProperty()
      See Also:
    • getNeedleColor

      public javafx.scene.paint.Color getNeedleColor()
      Returns the color that will be used to colorize the needle of the radial gauges.
      Returns:
      the color that wil be used to colorize the needle
    • setNeedleColor

      public void setNeedleColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the needle of the radial gauges.
      Parameters:
      COLOR -
    • needleColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> needleColorProperty()
      See Also:
    • getNeedleBorderColor

      public javafx.scene.paint.Color getNeedleBorderColor()
      Returns the color that is used to colorize the border of the needle.
      Returns:
      the color that is used to colorize the border of the needle
    • setNeedleBorderColor

      public void setNeedleBorderColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the border of the needle.
      Parameters:
      COLOR -
    • needleBorderColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> needleBorderColorProperty()
      See Also:
    • getBarColor

      public javafx.scene.paint.Color getBarColor()
      Returns the color that will be used to colorize the bar of the gauge (if it has a bar).
      Returns:
      the color that will be used to colorized the bar (if available)
    • setBarColor

      public void setBarColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the bar of the gauge (if it has a bar).
      Parameters:
      COLOR -
    • barColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> barColorProperty()
      See Also:
    • getBarBorderColor

      public javafx.scene.paint.Color getBarBorderColor()
      Returns the color that is used to colorize the border of the bar.
      Returns:
      the color that is used to colorize the border of the bar
    • setBarBorderColor

      public void setBarBorderColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the border of the bar.
      Parameters:
      COLOR -
    • barBorderColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> barBorderColorProperty()
      See Also:
    • getBarBackgroundColor

      public javafx.scene.paint.Color getBarBackgroundColor()
      Returns the color that will be used to colorize the bar background of the gauge (if it has a bar).
      Returns:
      the color that will be used to colorize the bar background
    • setBarBackgroundColor

      public void setBarBackgroundColor(javafx.scene.paint.Color COLOR)
      Returns the color that will be used to colorize the bar background of the gauge (if it has a bar).
      Parameters:
      COLOR -
    • barBackgroundColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> barBackgroundColorProperty()
      See Also:
    • getLcdDesign

      public LcdDesign getLcdDesign()
      Returns the design that will be used to visualize the LCD display of the gauge (if it has one). The values are BEIGE, BLACK, BLUE, ORANGE, RED, YELLOW, WHITE, GRAY, BLACK, GREEN, GREEN_DARKGREEN, BLUE2, BLUE_BLACK, BLUE_DARKBLUE, BLUE_LIGHTBLUE, BLUE_GRAY, STANDARD, LIGHTGREEN, STANDARD_GREEN, BLUE_BLUE, RED_DARKRED, DARKBLUE, PURPLE, BLACK_RED, DARKGREEN, AMBER, LIGHTBLUE, GREEN_BLACK, YELLOW_BLACK, BLACK_YELLOW, LIGHTGREEN_BLACK, DARKPURPLE, DARKAMBER, BLUE_LIGHTBLUE2, GRAY_PURPLE, YOCTOPUCE, SECTIONS, FLAT_CUSTOM
      Returns:
      the design that will be used to visualize the LCD display (if available)
    • setLcdDesign

      public void setLcdDesign(LcdDesign DESIGN)
      Defines the design that will be used to visualize the LCD display of the gauge (if it has one). The values are BEIGE, BLACK, BLUE, ORANGE, RED, YELLOW, WHITE, GRAY, BLACK, GREEN, GREEN_DARKGREEN, BLUE2, BLUE_BLACK, BLUE_DARKBLUE, BLUE_LIGHTBLUE, BLUE_GRAY, STANDARD, LIGHTGREEN, STANDARD_GREEN, BLUE_BLUE, RED_DARKRED, DARKBLUE, PURPLE, BLACK_RED, DARKGREEN, AMBER, LIGHTBLUE, GREEN_BLACK, YELLOW_BLACK, BLACK_YELLOW, LIGHTGREEN_BLACK, DARKPURPLE, DARKAMBER, BLUE_LIGHTBLUE2, GRAY_PURPLE, YOCTOPUCE, SECTIONS, FLAT_CUSTOM
      Parameters:
      DESIGN -
    • lcdDesignProperty

      public javafx.beans.property.ObjectProperty<LcdDesign> lcdDesignProperty()
      See Also:
    • getLcdFont

      public LcdFont getLcdFont()
      Returns the font that will be used to visualize the LCD value if the gauge has a LCD display. The values are STANDARD, LCD, SLIM, DIGITAL_BOLD, ELEKTRA
      Returns:
      the font that will be used to visualize the LCD value
    • setLcdFont

      public void setLcdFont(LcdFont FONT)
      Defines the font that will be used to visualize the LCD value if the gauge has a LCD display. The values are STANDARD, LCD, SLIM, DIGITAL_BOLD, ELEKTRA
      Parameters:
      FONT -
    • lcdFontProperty

      public javafx.beans.property.ObjectProperty<LcdFont> lcdFontProperty()
      See Also:
    • getLedColor

      public javafx.scene.paint.Color getLedColor()
      Returns the color that will be used to visualize the LED of the gauge if it has one.
      Returns:
      the color that will be used to visualize the LED
    • setLedColor

      public void setLedColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to visualize the LED of the gauge if it has one.
      Parameters:
      COLOR -
    • ledColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> ledColorProperty()
      See Also:
    • getLedType

      public Gauge.LedType getLedType()
      Returns the graphical representation of the LED. The values are STANDARD and FLAT In principle this represents how the LED will be filled (gradient or color).
      Returns:
      the graphical representation of the LED
    • setLedType

      public void setLedType(Gauge.LedType TYPE)
      Defines the graphical representation of the LED. The values are STANDARD and FLAT In principle this represents how the LED will be filled (gradient or color).
      Parameters:
      TYPE -
    • ledTypeProperty

      public javafx.beans.property.ObjectProperty<Gauge.LedType> ledTypeProperty()
      See Also:
    • getTitleColor

      public javafx.scene.paint.Color getTitleColor()
      Returns the color that will be used to colorize the title of the gauge.
      Returns:
      the color that will be used to colorize the title
    • setTitleColor

      public void setTitleColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the title of the gauge.
      Parameters:
      COLOR -
    • titleColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> titleColorProperty()
      See Also:
    • getSubTitleColor

      public javafx.scene.paint.Color getSubTitleColor()
      Returns the color that will be used to colorize the subTitle of the gauge.
      Returns:
      the color that will be used to colorize the subTitle
    • setSubTitleColor

      public void setSubTitleColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the subTitle of the gauge.
      Parameters:
      COLOR -
    • subTitleColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> subTitleColorProperty()
      See Also:
    • getUnitColor

      public javafx.scene.paint.Color getUnitColor()
      Returns the color that will be used to colorize the unit of the gauge.
      Returns:
      the color that will be used to colorize the unit
    • setUnitColor

      public void setUnitColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the unit of the gauge.
      Parameters:
      COLOR -
    • unitColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> unitColorProperty()
      See Also:
    • getValueColor

      public javafx.scene.paint.Color getValueColor()
      Returns the color that will be used to colorize the value of the gauge.
      Returns:
      the color that will be used to colorize the value
    • setValueColor

      public void setValueColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the value of the gauge.
      Parameters:
      COLOR -
    • valueColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> valueColorProperty()
      See Also:
    • getThresholdColor

      public javafx.scene.paint.Color getThresholdColor()
      Returns the color that will be used to colorize the threshold indicator of the gauge.
      Returns:
      the color that will be used to colorize the threshold indicator
    • setThresholdColor

      public void setThresholdColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the threshold indicator of the gauge.
      Parameters:
      COLOR -
    • thresholdColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> thresholdColorProperty()
      See Also:
    • getAverageColor

      public javafx.scene.paint.Color getAverageColor()
      Returns the color that will be used to colorize the average indicator of the gauge.
      Returns:
      the color that will be used to colorize the average indicator
    • setAverageColor

      public void setAverageColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the average indicator of the gauge.
      Parameters:
      COLOR -
    • averageColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> averageColorProperty()
      See Also:
    • getCheckSectionsForValue

      public boolean getCheckSectionsForValue()
      Returns true if the value of the gauge should be checked against all sections (if sections not empty). If a value enters a section or leaves a section it will fire an event. The check will be performed after the animation is finished (if animated == true).
      Returns:
      true if the value of the gauge should be checked against all sections
    • setCheckSectionsForValue

      public void setCheckSectionsForValue(boolean CHECK)
      Defines if the value of the gauge should be checked against all sections (if sections not empty). If a value enters a section or leaves a section it will fire an event. The check will be performed after the animation is finished (if animated == true).
      Parameters:
      CHECK -
    • checkSectionsForValueProperty

      public javafx.beans.property.BooleanProperty checkSectionsForValueProperty()
      See Also:
    • getCheckAreasForValue

      public boolean getCheckAreasForValue()
      Returns true if the value of the gauge should be checked against all areas (if areas not empty). If a value enters an area or leaves an area it will fire an event. The check will be performed after the animation is finished (if animated == true).
      Returns:
      true if the the value of the gauge should be checked against all areas
    • setCheckAreasForValue

      public void setCheckAreasForValue(boolean CHECK)
      Defines if the value of the gauge should be checked against all areas (if areas not empty). If a value enters an area or leaves an area it will fire an event. The check will be performed after the animation is finished (if animated == true).
      Parameters:
      CHECK -
    • checkAreasForValueProperty

      public javafx.beans.property.BooleanProperty checkAreasForValueProperty()
      See Also:
    • isCheckThreshold

      public boolean isCheckThreshold()
      Returns true if the value of the gauge should be checked against the threshold. If a value crosses the threshold it will fire an event (EXCEEDED and UNDERRUN. The check will be performed after the animation is finished (if animated == true).
      Returns:
      true if the value of the gauge should be checked against the threshold
    • setCheckThreshold

      public void setCheckThreshold(boolean CHECK)
      Defines if the value of the gauge should be checked against the threshold. If a value crosses the threshold it will fire an event (EXCEEDED and UNDERRUN. The check will be performed after the animation is finished (if animated == true).
      Parameters:
      CHECK -
    • checkThresholdProperty

      public javafx.beans.property.BooleanProperty checkThresholdProperty()
      See Also:
    • isInnerShadowEnabled

      public boolean isInnerShadowEnabled()
      Returns true if an inner shadow should be drawn on the gauge background.
      Returns:
      true if an inner shadow should be drawn on the gauge background
    • setInnerShadowEnabled

      public void setInnerShadowEnabled(boolean ENABLED)
      Defines if an inner shadow should be drawn on the gauge background.
      Parameters:
      ENABLED -
    • innerShadowEnabledProperty

      public javafx.beans.property.BooleanProperty innerShadowEnabledProperty()
      See Also:
    • isThresholdVisible

      public boolean isThresholdVisible()
      Returns true if the threshold indicator should be drawn.
      Returns:
      true if the threshold indicator should be drawn
    • setThresholdVisible

      public void setThresholdVisible(boolean VISIBLE)
      Defines if the threshold indicator should be drawn
      Parameters:
      VISIBLE -
    • thresholdVisibleProperty

      public javafx.beans.property.BooleanProperty thresholdVisibleProperty()
      See Also:
    • isAverageVisible

      public boolean isAverageVisible()
      Returns true if the average indicator should be drawn.
      Returns:
      true if the average indicator should be drawn
    • setAverageVisible

      public void setAverageVisible(boolean VISIBLE)
      Defines if the average indicator should be drawn
      Parameters:
      VISIBLE -
    • averageVisibleProperty

      public javafx.beans.property.BooleanProperty averageVisibleProperty()
      See Also:
    • getSectionsVisible

      public boolean getSectionsVisible()
      Returns true if the sections will be drawn
      Returns:
      true if the sections will be drawn
    • setSectionsVisible

      public void setSectionsVisible(boolean VISIBLE)
      Defines if the sections will be drawn
      Parameters:
      VISIBLE -
    • sectionsVisibleProperty

      public javafx.beans.property.BooleanProperty sectionsVisibleProperty()
      See Also:
    • getSectionsAlwaysVisible

      public boolean getSectionsAlwaysVisible()
      Returns true if the sections in the IndicatorSkin will always be visible
      Returns:
    • setSectionsAlwaysVisible

      public void setSectionsAlwaysVisible(boolean VISIBLE)
      Defines if the sections will always be visible. This is currently only used in the IndicatorSkin
      Parameters:
      VISIBLE -
    • sectionsAlwaysVisibleProperty

      public javafx.beans.property.BooleanProperty sectionsAlwaysVisibleProperty()
      See Also:
    • isSectionTextVisible

      public boolean isSectionTextVisible()
      Returns true if the text of the sections should be drawn inside the sections. This is currently only used in the SimpleSkin.
      Returns:
      true if the text of the sections should be drawn
    • setSectionTextVisible

      public void setSectionTextVisible(boolean VISIBLE)
      Defines if the text of the sections should be drawn inside the sections. This is currently only used in the SimpleSkin.
      Parameters:
      VISIBLE -
    • sectionTextVisibleProperty

      public javafx.beans.property.BooleanProperty sectionTextVisibleProperty()
      See Also:
    • getSectionIconsVisible

      public boolean getSectionIconsVisible()
      Returns true if the icon of the sections should be drawn inside the sections. This is currently only used in the SimpleSkin.
      Returns:
      true if the icon of the sections should be drawn
    • setSectionIconsVisible

      public void setSectionIconsVisible(boolean VISIBLE)
      Defines if the icon of the sections should be drawn inside the sections. This is currently only used in the SimpleSkin.
      Parameters:
      VISIBLE -
    • sectionIconsVisibleProperty

      public javafx.beans.property.BooleanProperty sectionIconsVisibleProperty()
      See Also:
    • isHighlightSections

      public boolean isHighlightSections()
      Returns true if sections should be highlighted in case they contain the current value.
      Returns:
      true if sections should be highlighted
    • setHighlightSections

      public void setHighlightSections(boolean HIGHLIGHT)
      Defines if sections should be highlighted in case they contain the current value
      Parameters:
      HIGHLIGHT -
    • highlightSectionsProperty

      public javafx.beans.property.BooleanProperty highlightSectionsProperty()
      See Also:
    • getAreasVisible

      public boolean getAreasVisible()
      Returns true if the areas should be drawn
      Returns:
      true if the areas should be drawn
    • setAreasVisible

      public void setAreasVisible(boolean VISIBLE)
      Defines if the areas should be drawn
      Parameters:
      VISIBLE -
    • areasVisibleProperty

      public javafx.beans.property.BooleanProperty areasVisibleProperty()
      See Also:
    • isAreaTextVisible

      public boolean isAreaTextVisible()
      Returns true if the text of the areas should be drawn inside the areas. This is currently only used in the SimpleSkin.
      Returns:
      true if the text of the areas should be drawn
    • setAreaTextVisible

      public void setAreaTextVisible(boolean VISIBLE)
      Defines if the text of the areas should be drawn inside the areas.
      Parameters:
      VISIBLE -
    • areaTextVisibleProperty

      public javafx.beans.property.BooleanProperty areaTextVisibleProperty()
      See Also:
    • getAreaIconsVisible

      public boolean getAreaIconsVisible()
      Returns true if the icon of the areas should be drawn inside the areas.
      Returns:
      true if the icon of the areas should be drawn
    • setAreaIconsVisible

      public void setAreaIconsVisible(boolean VISIBLE)
      Defines if the icon of the areas should be drawn inside the areas.
      Parameters:
      VISIBLE -
    • areaIconsVisibleProperty

      public javafx.beans.property.BooleanProperty areaIconsVisibleProperty()
      See Also:
    • isHighlightAreas

      public boolean isHighlightAreas()
      Returns true if areas should be highlighted in case they contain the current value.
      Returns:
      true if areas should be highlighted
    • setHighlightAreas

      public void setHighlightAreas(boolean HIGHLIGHT)
      Defines if areas should be highlighted in case they contain the current value
      Parameters:
      HIGHLIGHT -
    • highlightAreasProperty

      public javafx.beans.property.BooleanProperty highlightAreasProperty()
      See Also:
    • getTickMarkSectionsVisible

      public boolean getTickMarkSectionsVisible()
      Returns true if the tickmark sections should be used to colorize the tickmarks.
      Returns:
      true if the tickmark sections should be used
    • setTickMarkSectionsVisible

      public void setTickMarkSectionsVisible(boolean VISIBLE)
      Defines if the tickmark sections should be used to colorize the tickmarks.
      Parameters:
      VISIBLE -
    • tickMarkSectionsVisibleProperty

      public javafx.beans.property.BooleanProperty tickMarkSectionsVisibleProperty()
      See Also:
    • getTickLabelSectionsVisible

      public boolean getTickLabelSectionsVisible()
      Returns true if the ticklabel sections should be used to colorize the ticklabels.
      Returns:
      true if the ticklabel sections should be used
    • setTickLabelSectionsVisible

      public void setTickLabelSectionsVisible(boolean VISIBLE)
      Defines if the ticklabel sections should be used to colorize the ticklabels.
      Parameters:
      VISIBLE -
    • tickLabelSectionsVisibleProperty

      public javafx.beans.property.BooleanProperty tickLabelSectionsVisibleProperty()
      See Also:
    • getMarkersVisible

      public boolean getMarkersVisible()
      Returns true if the markers should be drawn
      Returns:
      true if the markser should be drawn
    • setMarkersVisible

      public void setMarkersVisible(boolean VISIBLE)
      Defines if the markers should be drawn
      Parameters:
      VISIBLE -
    • markersVisibleProperty

      public javafx.beans.property.BooleanProperty markersVisibleProperty()
      See Also:
    • getTickLabelsVisible

      public boolean getTickLabelsVisible()
      Returns true if the ticklabels should be drawn
      Returns:
      true if the ticklabels should be drawn
    • setTickLabelsVisible

      public void setTickLabelsVisible(boolean VISIBLE)
      Defines if the ticklabels should be drawn
      Parameters:
      VISIBLE -
    • tickLabelsVisibleProperty

      public javafx.beans.property.BooleanProperty tickLabelsVisibleProperty()
      See Also:
    • isOnlyFirstAndLastTickLabelVisible

      public boolean isOnlyFirstAndLastTickLabelVisible()
      Returns true if only the first and the last ticklabel will be drawn. Sometimes this could be useful if a gauge should for example only should show 0 and 1000.
      Returns:
      true if only the first and last ticklabel will be drawn
    • setOnlyFirstAndLastTickLabelVisible

      public void setOnlyFirstAndLastTickLabelVisible(boolean VISIBLE)
      Defines if only the first and the last ticklabel will be drawn. Sometimes this could be useful if a gauge should for example only should show 0 and 1000.
      Parameters:
      VISIBLE -
    • onlyFirstAndLastTickLabelVisibleProperty

      public javafx.beans.property.BooleanProperty onlyFirstAndLastTickLabelVisibleProperty()
      See Also:
    • getMajorTickMarksVisible

      public boolean getMajorTickMarksVisible()
      Returns true if the major tickmarks should be drawn If set to false and minorTickmarks == true, a minor tickmark will be drawn instead of the major tickmark.
      Returns:
      true if the major tickmarks should be drawn
    • setMajorTickMarksVisible

      public void setMajorTickMarksVisible(boolean VISIBLE)
      Defines if the major tickmarks should be drawn If set to false and minorTickmarks == true, a minor tickmark will be drawn instead of the major tickmark.
      Parameters:
      VISIBLE -
    • majorTickMarksVisibleProperty

      public javafx.beans.property.BooleanProperty majorTickMarksVisibleProperty()
      See Also:
    • getMediumTickMarksVisible

      public boolean getMediumTickMarksVisible()
      Returns true if the medium tickmarks should be drawn If set to false and minorTickmarks == true, a minor tickmark will be drawn instead of the medium tickmark.
      Returns:
      true if the medium tickmarks should be drawn
    • setMediumTickMarksVisible

      public void setMediumTickMarksVisible(boolean VISIBLE)
      Sets the value of the property mediumTickMarksVisible.
      Property description:
    • mediumTickMarksVisibleProperty

      public javafx.beans.property.BooleanProperty mediumTickMarksVisibleProperty()
      See Also:
    • getMinorTickMarksVisible

      public boolean getMinorTickMarksVisible()
      Returns true if the minor tickmarks should be drawn
      Returns:
      true if the minor tickmarks should be drawn
    • setMinorTickMarksVisible

      public void setMinorTickMarksVisible(boolean VISIBLE)
      Defines if the minor tickmarks should be drawn
      Parameters:
      VISIBLE -
    • minorTickMarksVisibleProperty

      public javafx.beans.property.BooleanProperty minorTickMarksVisibleProperty()
      See Also:
    • isTickMarkRingVisible

      public boolean isTickMarkRingVisible()
      Returns true when an additional ring will be drawn that "connects" the tick marks.
      Returns:
      true when an additional ring will be drawn that "connects" the tick marks
    • setTickMarkRingVisible

      public void setTickMarkRingVisible(boolean VISIBLE)
      Defines if an additional ring should be drawn that "connects" the tick marks.
      Parameters:
      VISIBLE -
    • tickMarkRingVisibleProperty

      public javafx.beans.property.BooleanProperty tickMarkRingVisibleProperty()
      See Also:
    • getMajorTickSpace

      public double getMajorTickSpace()
      Returns the value that represents the space between major tickmarks. This value will be automatically set by the autoscale property. Be careful when changing it manually.
      Returns:
      the value that represents the space between major tickmarks
    • setMajorTickSpace

      public void setMajorTickSpace(double SPACE)
      Defines the value that represents the space between major tickmarks. This value will be automatically set by the autoscale property. Be careful when changing it manually.
      Parameters:
      SPACE -
    • majorTickSpaceProperty

      public javafx.beans.property.DoubleProperty majorTickSpaceProperty()
      See Also:
    • getMinorTickSpace

      public double getMinorTickSpace()
      Returns the value that represents the space between minor tickmarks. This value will be automatically set by the autoscale property. Be careful when changing it manually.
      Returns:
      the value that represents the space between minor tickmarks
    • setMinorTickSpace

      public void setMinorTickSpace(double SPACE)
      Defines the value that represents the space between major tickmarks. This value will be automatically set by the autoscale property. Be careful when changing it manually.
      Parameters:
      SPACE -
    • minorTickSpaceProperty

      public javafx.beans.property.DoubleProperty minorTickSpaceProperty()
      See Also:
    • isLcdVisible

      public boolean isLcdVisible()
      Returns true if the LCD display is visible (if available) The LCD display won't be visible if valueVisible == false.
      Returns:
      true if the LCD display is visible
    • setLcdVisible

      public void setLcdVisible(boolean VISIBLE)
      Defines if the LCD display is visible (if available) The LCD display won't be visible if valueVisible == false.
      Parameters:
      VISIBLE -
    • lcdVisibleProperty

      public javafx.beans.property.BooleanProperty lcdVisibleProperty()
      See Also:
    • isLcdCrystalEnabled

      public boolean isLcdCrystalEnabled()
      Returns true if the crystal effect of the LCD display will be drawn. This feature could decrease the performance if you run it on embedded devices because it will calculate a bitmap image where each pixel will be calculated.
      Returns:
      true if the crystal effect of the LCD display will be drawn
    • setLcdCrystalEnabled

      public void setLcdCrystalEnabled(boolean ENABLED)
      Defines if the crystal effect of the LCD display will be drawn. This feature could decrease the performance if you run it on embedded devices because it will calculate a bitmap image where each pixel will be calculated.
      Parameters:
      ENABLED -
    • lcdCrystalEnabledProperty

      public javafx.beans.property.BooleanProperty lcdCrystalEnabledProperty()
      See Also:
    • isLedVisible

      public boolean isLedVisible()
      Returns true if the LED will be drawn (if available)
      Returns:
      true if the LED will be drawn
    • setLedVisible

      public void setLedVisible(boolean VISIBLE)
      Defines if the LED will be drawn (if available)
      Parameters:
      VISIBLE -
    • ledVisibleProperty

      public javafx.beans.property.BooleanProperty ledVisibleProperty()
      See Also:
    • isLedOn

      public boolean isLedOn()
      Returns true if the LED is on (if available)
      Returns:
      true if the LED is on
    • setLedOn

      public void setLedOn(boolean ON)
      Defines if the LED is on (if available)
      Parameters:
      ON -
    • ledOnProperty

      public javafx.beans.property.BooleanProperty ledOnProperty()
      See Also:
    • isLedBlinking

      public boolean isLedBlinking()
      Returns true if the LED is blinking (if available)
      Returns:
      true if the LED is blinking
    • setLedBlinking

      public void setLedBlinking(boolean BLINKING)
      Defines if the LED is blinking (if available)
      Parameters:
      BLINKING -
    • ledBlinkingProperty

      public javafx.beans.property.BooleanProperty ledBlinkingProperty()
      See Also:
    • getOrientation

      public javafx.geometry.Orientation getOrientation()
      Returns the orientation of the control. This feature will only be used in the BulletChartSkin and LinearSkin. Values are HORIZONTAL and VERTICAL
      Returns:
      the orientation of the control
    • setOrientation

      public void setOrientation(javafx.geometry.Orientation ORIENTATION)
      Defines the orientation of the control. This feature will only be used in the BulletChartSkin and LinearSkin. Values are HORIZONTAL and VERTICAL
      Parameters:
      ORIENTATION -
    • orientationProperty

      public javafx.beans.property.ObjectProperty<javafx.geometry.Orientation> orientationProperty()
      See Also:
    • isGradientBarEnabled

      public boolean isGradientBarEnabled()
      Returns true if the gradient defined by the gradient lookup will be used to visualize the bar (if available).
      Returns:
      true if the gradient defined by the gradient lookup will be used to visualize the bar
    • setGradientBarEnabled

      public void setGradientBarEnabled(boolean ENABLED)
      Defines if the gradient defined by the gradient lookup will be used to visualize the bar (if available).
      Parameters:
      ENABLED -
    • gradientBarEnabledProperty

      public javafx.beans.property.BooleanProperty gradientBarEnabledProperty()
      See Also:
    • getGradientLookup

      public eu.hansolo.toolboxfx.GradientLookup getGradientLookup()
      Returns the GradientLookup that is used to colorize the bar of the gauge (if avaiable)
      Returns:
      the GradientLookup that is used to colorize the bar
    • setGradientLookup

      public void setGradientLookup(eu.hansolo.toolboxfx.GradientLookup GRADIENT_LOOKUP)
      Defines the GradientLookup that is used to colorize the bar of the gauge (if avaiable)
      Parameters:
      GRADIENT_LOOKUP -
    • getGradientBarStops

      public List<javafx.scene.paint.Stop> getGradientBarStops()
      Returns a list of Stops that will be used to calculate the gradient in the GradientLookup.
      Returns:
      a list of Stops that will be used to calculate the gradient in the GradientLookup
    • setGradientBarStops

      public void setGradientBarStops(javafx.scene.paint.Stop... STOPS)
      Defines a list of Stops that will be used to calculate the gradient in the GradientLookup.
      Parameters:
      STOPS -
    • setGradientBarStops

      public void setGradientBarStops(List<javafx.scene.paint.Stop> STOPS)
      Defines a list of Stops that will be used to calculate the gradient in the GradientLookup.
      Parameters:
      STOPS -
    • getCustomTickLabelsEnabled

      public boolean getCustomTickLabelsEnabled()
      Returns true if custom tick labels should be used instead of the automatically calculated ones. This could be useful for gauges like a compass where you need "N", "E", "S" and "W" instead of numbers.
      Returns:
      true if custom tick labels should be used
    • setCustomTickLabelsEnabled

      public void setCustomTickLabelsEnabled(boolean ENABLED)
      Defines if custom tick labels should be used instead of the automatically calculated ones. This could be useful for gauges like a compass where you need "N", "E", "S" and "W" instead of numbers.
      Parameters:
      ENABLED -
    • customTickLabelsEnabledProperty

      public javafx.beans.property.BooleanProperty customTickLabelsEnabledProperty()
      See Also:
    • getCustomTickLabelFontSizeEnabled

      public boolean getCustomTickLabelFontSizeEnabled()
      Returns true if custom font size for tick labels and/or custom tick labels will be used.
      Returns:
      true if custom font size for tick labels and/or custom tick labels will be used
    • setCustomTickLabelFontSizeEnabled

      public void setCustomTickLabelFontSizeEnabled(boolean ENABLED)
      Defines if custom font size for tick labels and/or custom tick labels should be used.
      Parameters:
      ENABLED -
    • customTickLabelFontSizeEnabledProperty

      public javafx.beans.property.BooleanProperty customTickLabelFontSizeEnabledProperty()
      See Also:
    • getCustomTickLabels

      public List<String> getCustomTickLabels()
      Returns a list of Strings that represent the ticklabels that will be used for the scale.
      Returns:
      a list of Strings that represent the ticklabels
    • setCustomTickLabels

      public void setCustomTickLabels(List<String> TICK_LABELS)
      Defines a list of Strings that represent the ticklabels that will be used for the scale.
      Parameters:
      TICK_LABELS -
    • setCustomTickLabels

      public void setCustomTickLabels(String... TICK_LABELS)
      Defines a list of Strings that represent the ticklabels that will be used for the scale.
      Parameters:
      TICK_LABELS -
    • addCustomTickLabel

      public void addCustomTickLabel(String TICK_LABEL)
      Adds the given String to the list of custom ticklabels
      Parameters:
      TICK_LABEL -
    • removeCustomTickLabel

      public void removeCustomTickLabel(String TICK_LABEL)
      Removes the given String from the list of custom ticklabels
      Parameters:
      TICK_LABEL -
    • clearCustomTickLabels

      public void clearCustomTickLabels()
      Clears the list of custom ticklabels
    • getCustomTickLabelFontSize

      public double getCustomTickLabelFontSize()
      Returns the custom font size. The default font size is 18px at a size of 250px. This value will be used to calculate the current font size for the ticklabels when scaling.
      Returns:
      the custom font size
    • setCustomTickLabelFontSize

      public void setCustomTickLabelFontSize(double SIZE)
      Defines the custom font size. The default font size is 18px at a size of 250px. This value will be used to calculate the current font size for the ticklabels when scaling.
      Parameters:
      SIZE -
    • customTickLabelFontSizeProperty

      public javafx.beans.property.DoubleProperty customTickLabelFontSizeProperty()
      See Also:
    • isInteractive

      public boolean isInteractive()
      Returns true if the gauge is in interactive mode. This is currently implemented in the radial gauges that have a knob. If interactive == true the knob can be pressed to trigger something.
      Returns:
      true if the gauge is in interactive mode
    • setInteractive

      public void setInteractive(boolean INTERACTIVE)
      Defines if the gauge is in interactive mode. This is currently implemented in the radial gauges that have a knob. If interactive == true the knob can be pressed to trigger something.
      Parameters:
      INTERACTIVE -
    • interactiveProperty

      public javafx.beans.property.BooleanProperty interactiveProperty()
      See Also:
    • getButtonTooltipText

      public String getButtonTooltipText()
      Returns the text that will be shown in the button tooltip. The knob in the radial gauges acts as button if interactive == true.
      Returns:
      the text that will be shown in the button tooltip
    • setButtonTooltipText

      public void setButtonTooltipText(String TEXT)
      Defines the text that will be shown in the button tooltip. The knob in the radial gauges acts as button if interactive == true.
      Parameters:
      TEXT -
    • buttonTooltipTextProperty

      public javafx.beans.property.StringProperty buttonTooltipTextProperty()
      See Also:
    • isKeepAspect

      public boolean isKeepAspect()
      Returns true if the control should keep it's aspect. This is in principle only needed if the control has different width and height.
      Returns:
      true if the control should keep it's aspect
    • setKeepAspect

      public void setKeepAspect(boolean KEEP)
      Defines if the control should keep it's aspect. This is in principle only needed if the control has different width and height.
      Parameters:
      KEEP -
    • keepAspectProperty

      public javafx.beans.property.BooleanProperty keepAspectProperty()
      See Also:
    • isCustomFontEnabled

      public boolean isCustomFontEnabled()
      Returns true if the control uses the given customFont to render all text elements.
      Returns:
      true if the control uses the given customFont
    • setCustomFontEnabled

      public void setCustomFontEnabled(boolean ENABLED)
      Defines if the control should use the given customFont to render all text elements
      Parameters:
      ENABLED -
    • customFontEnabledProperty

      public javafx.beans.property.BooleanProperty customFontEnabledProperty()
      See Also:
    • getCustomFont

      public javafx.scene.text.Font getCustomFont()
      Returns the given custom Font that can be used to render all text elements. To enable the custom font one has to set customFontEnabled = true
      Returns:
      the given custom Font
    • setCustomFont

      public void setCustomFont(javafx.scene.text.Font FONT)
      Defines the custom font that can be used to render all text elements. To enable the custom font one has to set customFontEnabled = true
      Parameters:
      FONT -
    • customFontProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.text.Font> customFontProperty()
      See Also:
    • isAlert

      public boolean isAlert()
      Returns true if the alert property was set. This property can be used to visualize an alert situation in a skin.
      Returns:
      true if the alert property was set
    • setAlert

      public void setAlert(boolean ALERT)
      Defines if the alert property should be set. This property can be used to visualize an alert situation in the skin.
      Parameters:
      ALERT -
    • alertProperty

      public javafx.beans.property.BooleanProperty alertProperty()
      See Also:
    • getAlertMessage

      public String getAlertMessage()
      Returns the alert message text that could be used in a tooltip in case of an alert.
      Returns:
      the alert message text
    • setAlertMessage

      public void setAlertMessage(String MESSAGE)
      Defines the text that could be used in a tooltip as an alert message.
      Parameters:
      MESSAGE -
    • alertMessageProperty

      public javafx.beans.property.StringProperty alertMessageProperty()
      See Also:
    • isSmoothing

      public boolean isSmoothing()
      Returns true when smoothing is enabled. This property is only used in the TileSparklineSkin to smooth the path. In a custom skin it could be also used for other things.
      Returns:
      true when smoothing is enabled
    • setSmoothing

      public void setSmoothing(boolean SMOOTHING)
      Defines if the smoothing property should be enabled/disabled. At the moment this is only used in the TileSparklineSkin.
      Parameters:
      SMOOTHING -
    • smoothingProperty

      public javafx.beans.property.BooleanProperty smoothingProperty()
      See Also:
    • getFormatString

      public String getFormatString()
    • calcAutoScale

      public void calcAutoScale()
      Calling this method will lead to a recalculation of the scale
    • stop

      public void stop()
      Calling this method will stop all threads. This is needed when using JavaFX on mobile devices when the device goes to sleep mode.
    • toString

      public String toString()
      Overrides:
      toString in class javafx.scene.Node
    • createDefaultSkin

      protected javafx.scene.control.Skin createDefaultSkin()
      Overrides:
      createDefaultSkin in class javafx.scene.control.Control
    • getUserAgentStylesheet

      public String getUserAgentStylesheet()
      Overrides:
      getUserAgentStylesheet in class javafx.scene.layout.Region
    • getSkinType

      public Gauge.SkinType getSkinType()
    • setSkinType

      public void setSkinType(Gauge.SkinType SKIN_TYPE)
    • presetGaugeParameters

      public void presetGaugeParameters(Gauge.SkinType SKIN_TYPE)
    • addGaugeObserver

      public void addGaugeObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<MedusaEvt> observer)
    • removeGaugeObserver

      public void removeGaugeObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<MedusaEvt> observer)
    • removeAllObservers

      public void removeAllObservers()
    • fireGaugeEvt

      public void fireGaugeEvt(MedusaEvt evt)
    • setOnButtonPressed

      public void setOnButtonPressed(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER)
    • removeOnButtonPressed

      public void removeOnButtonPressed(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER)
    • setOnButtonReleased

      public void setOnButtonReleased(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER)
    • removeOnButtonReleased

      public void removeOnButtonReleased(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER)
    • setOnThresholdExceeded

      public void setOnThresholdExceeded(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER)
    • removeOnThresholdExceeded

      public void removeOnThresholdExceeded(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER)
    • setOnThresholdUnderrun

      public void setOnThresholdUnderrun(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER)
    • removeOnThresholdUnderrun

      public void removeOnThresholdUnderrun(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER)