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
PropertiesTypePropertyDescriptionjavafx.beans.property.StringPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.IntegerPropertyjavafx.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.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>javafx.beans.property.DoublePropertyjavafx.beans.property.StringPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.text.Font>javafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.IntegerPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>javafx.beans.property.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<javafx.geometry.Pos>javafx.beans.property.ObjectProperty<Gauge.KnobType>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<LcdDesign>javafx.beans.property.ObjectProperty<LcdFont>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<Gauge.LedType>javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<Locale>javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<TickMarkType>javafx.beans.property.DoublePropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<TickMarkType>javafx.beans.property.DoublePropertyjavafx.beans.property.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<TickMarkType>javafx.beans.property.DoublePropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.DoublePropertyjavafx.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.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.geometry.Orientation>javafx.beans.property.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<eu.hansolo.toolboxfx.ScaleDirection>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.StringPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.IntegerPropertyjavafx.beans.property.ObjectProperty<TickLabelLocation>javafx.beans.property.ObjectProperty<TickLabelOrientation>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.StringPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.StringPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>Properties inherited from class javafx.scene.control.Control
contextMenu, skin, tooltipProperties inherited from class javafx.scene.layout.Region
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthProperties inherited from class javafx.scene.Parent
needsLayoutProperties 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 ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final javafx.scene.paint.Colorfinal Gauge.ButtonEventfinal Gauge.ButtonEventstatic final javafx.scene.paint.ColorFields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZEFields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT -
Constructor Summary
ConstructorsConstructorDescriptionGauge()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 TypeMethodDescriptionvoidAdds the given Section to the list of areas.voidaddCustomTickLabel(String TICK_LABEL) Adds the given String to the list of custom ticklabelsvoidaddGaugeObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<MedusaEvt> observer) voidAdds the given Marker to the list of markers.voidaddSection(Section SECTION) Adds the given Section to the list of sections.voidaddTickLabelSection(Section SECTION) Adds the given Section to the list of ticklabel sections.voidaddTickMarkSection(Section SECTION) Adds the given Section to the list of tickmark sections.javafx.beans.property.StringPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.IntegerPropertyjavafx.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.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>javafx.beans.property.DoublePropertyjavafx.beans.property.StringPropertyvoidCalling this method will lead to a recalculation of the scalejavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyvoidClears the list of areas.voidClears the list of custom ticklabelsvoidClears the list of markers.voidClears the list of sections.voidClears the list of ticklabel sections.voidClears the list of tickmark sections.protected javafx.scene.control.Skinjavafx.beans.property.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.text.Font>javafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.IntegerPropertyvoidfireGaugeEvt(MedusaEvt evt) javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint>javafx.beans.property.ReadOnlyDoublePropertyReturns the alert message text that could be used in a tooltip in case of an alert.doubleReturns the angle range in degree that will be used to draw the scale of the radial gauge.doubleReturns the value that is calculated by dividing the angleRange by the range.longReturns the duration in milliseconds that will be used to animate the needle/bar of the gauge from the last value to the next value.doubleReturns the distance between the segments in the SIMPLE_DIGITAL skin.booleanReturns true if the icon of the areas should be drawn inside the areas.javafx.collections.ObservableList<Section>getAreas()Returns an observable list of Section objects.booleanReturns true if the areas should be drawndoubleReturns the moving average over the number of values defined by averagingPeriod.javafx.scene.paint.ColorReturns the color that will be used to colorize the average indicator of the gauge.intReturns 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.PaintReturns the Paint object that will be used to fill the gauge background.javafx.scene.paint.ColorReturns the color that will be used to colorize the bar background of the gauge (if it has a bar).javafx.scene.paint.ColorReturns the color that is used to colorize the border of the bar.javafx.scene.paint.ColorReturns the color that will be used to colorize the bar of the gauge (if it has a bar).javafx.scene.paint.PaintReturns the Paint object that will be used to draw the border of the gauge.doubleReturns 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.booleanReturns true if the value of the gauge should be checked against all areas (if areas not empty).booleanReturns true if the value of the gauge should be checked against all sections (if sections not empty).doubleReturns the current value of the Gauge.javafx.scene.text.FontReturns the given custom Font that can be used to render all text elements.doubleReturns the custom font size.booleanReturns 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.booleanReturns true if custom tick labels should be used instead of the automatically calculated ones.intReturns the number of decimals that will be used to format the value of the gauge.javafx.scene.paint.PaintReturns the Paint object that will be used to fill the foreground of the gauge.doubleReturns 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.GradientLookupReturns the GradientLookup that is used to colorize the bar of the gauge (if avaiable)javafx.scene.paint.ColorReturns the color that will be used to colorize the knob of the radial gauges.javafx.geometry.PosReturns 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.ColorReturns 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.ColorReturns the color that will be used to colorize the major tickmarks.doubleReturns the factor that defines the length of the major tick mark.booleanReturns 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.doubleReturns the factor that defines the width of the major tick mark.doubleReturns the value that represents the space between major tickmarks.javafx.collections.ObservableList<Marker>Returns an observable list of Marker objects.booleanReturns true if the markers should be drawndoubleReturns the biggest value that was measured after the last reset.doubleReturns the maximum value of the scale.javafx.scene.paint.ColorReturns the color that will be used to colorize the medium tickmarks.doubleReturns the factor that defines the length of the medium tick mark.booleanReturns 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.doubleReturns the factor that defines the width of the medium tick mark.doubleReturns the smallest value that was measured after the last reset.javafx.scene.paint.ColorReturns the color that will be used to colorize the minor tickmarks.doubleReturns the factor that defines the length of the minor tick mark.booleanReturns true if the minor tickmarks should be drawnReturns the shape that will be used to visualize the minor tickmark.doubleReturns the factor that defines the width of the minor tick mark.doubleReturns the value that represents the space between minor tickmarks.doubleReturns the minimum value of the scale.Returns the moving average objectReturns the behavior of the needle movement.javafx.scene.paint.ColorReturns the color that is used to colorize the border of the needle.javafx.scene.paint.ColorReturns 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.doubleReturns the last value of the Gauge.javafx.geometry.OrientationReturns the orientation of the control.doublegetRange()Always returns the range of the gauge scale (maxValue - minValue).eu.hansolo.toolboxfx.ScaleDirectionReturns the direction of the scale.booleanReturns true if the icon of the sections should be drawn inside the sections.javafx.collections.ObservableList<Section>Returns an observable list of Section objects.booleanReturns true if the sections in the IndicatorSkin will always be visiblebooleanReturns true if the sections will be drawndoubleReturns 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.ColorReturns the color that will be used to colorize the subTitle of the gauge.doubleReturns the threshold value that can be used to visualize a threshold value on the scale.javafx.scene.paint.ColorReturns the color that will be used to colorize the threshold indicator of the gauge.javafx.scene.paint.ColorReturns the color that will be used to colorize the ticklabels.intReturns 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.booleanReturns true if the ticklabel sections should be used to colorize the ticklabels.booleanReturns true if the ticklabels should be drawnjavafx.scene.paint.ColorReturns the color that will be used to colorize the tickmarks.javafx.collections.ObservableList<Section>Returns an observable list of Section objects.booleanReturns true if the tickmark sections should be used to colorize the tickmarks.doublegetTimeBasedAverageOf(Duration DURATION) Returns the moving average over the given duration.getTitle()Returns the title of the gauge.javafx.scene.paint.ColorReturns the color that will be used to colorize the title of the gauge.getUnit()Returns the unit of the gauge.javafx.scene.paint.ColorReturns the color that will be used to colorize the unit of the gauge.doublegetValue()Returns the value of the Gauge.javafx.scene.paint.ColorReturns the color that will be used to colorize the value of the gauge.javafx.scene.paint.ColorReturns 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.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertybooleanisAlert()Returns true if the alert property was set.booleanReturns true if setting the value of the gauge will be animated using the duration defined in animationDuration [ms].booleanReturns true if the text of the areas should be drawn inside the areas.booleanReturns true if the scale will be calculated automatically based on the defined values for min- and maxValue.booleanReturns true if the average indicator should be drawn.booleanReturns true if the averaging functionality is enabled.booleanReturns true if the highlight effect on the gauges like the LinearSkin bar will be drawn.booleanReturns true if the value of the gauge should be checked against the threshold.booleanReturns true if the control uses the given customFont to render all text elements.booleanReturns true if the gradient defined by the gradient lookup will be used to visualize the bar (if available).booleanReturns true if areas should be highlighted in case they contain the current value.booleanReturns true if sections should be highlighted in case they contain the current value.booleanReturns true if an inner shadow should be drawn on the gauge background.booleanReturns true if the gauge is in interactive mode.booleanReturns true if the control should keep it's aspect.booleanReturns true if the knob is visible.booleanReturns true if the crystal effect of the LCD display will be drawn.booleanReturns true if the LCD display is visible (if available) The LCD display won't be visible if valueVisible == false.booleanReturns true if the LED is blinking (if available)booleanisLedOn()Returns true if the LED is on (if available)booleanReturns true if the LED will be drawn (if available)booleanReturns true if the indicator of the maxMeasuredValue is visible.booleanReturns true if the indicator of the minMeasuredValue is visible.booleanReturns true if the old value of the gauge is visible (not implemented)booleanReturns true if only the first and the last ticklabel will be drawn.booleanReturns true if the needle/bar should always return to zero.booleanReturns true if the text of the sections should be drawn inside the sections.booleanReturns true if effects like shadows will be drawn.booleanReturns true when smoothing is enabled.booleanReturns true if the visualization of the value should start from 0.booleanReturns true if the threshold indicator should be drawn.booleanReturns true when an additional ring will be drawn that "connects" the tick marks.booleanReturns true if the visualization of the gauge value is visible.javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<javafx.geometry.Pos>javafx.beans.property.ObjectProperty<Gauge.KnobType>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<LcdDesign>javafx.beans.property.ObjectProperty<LcdFont>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<Gauge.LedType>javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<Locale>javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<TickMarkType>javafx.beans.property.DoublePropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<TickMarkType>javafx.beans.property.DoublePropertyjavafx.beans.property.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<TickMarkType>javafx.beans.property.DoublePropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.DoublePropertyjavafx.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.ReadOnlyDoublePropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.geometry.Orientation>voidpresetGaugeParameters(Gauge.SkinType SKIN_TYPE) javafx.beans.property.ReadOnlyDoublePropertyvoidreInit()voidvoidremoveArea(Section AREA) Removes the given Section from the list of areas.voidremoveCustomTickLabel(String TICK_LABEL) Removes the given String from the list of custom ticklabelsvoidremoveGaugeObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<MedusaEvt> observer) voidremoveMarker(Marker MARKER) Removes the given Marker from the list of markers.voidremoveOnButtonPressed(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER) voidremoveOnButtonReleased(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER) voidremoveOnThresholdExceeded(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER) voidremoveOnThresholdUnderrun(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER) voidremoveSection(Section SECTION) Removes the given Section from the list of sections.voidremoveTickLabelSection(Section SECTION) Removes the given Section from the list of ticklabel sections.voidremoveTickMarkSection(Section SECTION) Removes the given Section from the list of tickmark sections.voidResets the min- and maxMeasuredValue to the value of the gauge.javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<eu.hansolo.toolboxfx.ScaleDirection>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyvoidsetAlert(boolean ALERT) Defines if the alert property should be set.voidsetAlertMessage(String MESSAGE) Defines the text that could be used in a tooltip as an alert message.voidsetAngleRange(double RANGE) Defines the angle range in degree that will be used to draw the scale of the radial gauge.voidsetAnimated(boolean ANIMATED) Defines if setting the value of the gauge should be animated using the duration defined in animationDuration [ms].voidsetAnimationDuration(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.voidsetArcExtend(double ARC_EXTEND) Defines the distance between the segments in the SIMPLE_DIGITAL_SKINvoidsetAreaIconsVisible(boolean VISIBLE) Defines if the icon of the areas should be drawn inside the areas.voidSets the sections to the given array of Section objects.voidSets the sections to the given list of Section objects.voidsetAreasVisible(boolean VISIBLE) Defines if the areas should be drawnvoidsetAreaTextVisible(boolean VISIBLE) Defines if the text of the areas should be drawn inside the areas.voidsetAutoScale(boolean AUTO_SCALE) Defines if the scale should be calculated automatically based on the defined values for min- and maxValue.voidsetAverageColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the average indicator of the gauge.voidsetAverageVisible(boolean VISIBLE) Defines if the average indicator should be drawnvoidsetAveragingEnabled(boolean ENABLED) Defines if the averaging functionality will be enabled.voidsetAveragingPeriod(int PERIOD) Defines the number values that should be used for the averaging of values.voidsetBackgroundPaint(javafx.scene.paint.Paint PAINT) Defines the Paint object that will be used to fill the gauge background.voidsetBarBackgroundColor(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).voidsetBarBorderColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the border of the bar.voidsetBarColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the bar of the gauge (if it has a bar).voidsetBarEffectEnabled(boolean ENABLED) Defines if the the highlight effect on the gauges like the LinearSkin bar will be drawn.voidsetBorderPaint(javafx.scene.paint.Paint PAINT) Defines the Paint object that will be used to draw the border of the gauge.voidsetBorderWidth(double WIDTH) Defines the width in pixels that will be used to draw the border of the gauge.voidsetButtonTooltipText(String TEXT) Defines the text that will be shown in the button tooltip.voidsetCheckAreasForValue(boolean CHECK) Defines if the value of the gauge should be checked against all areas (if areas not empty).voidsetCheckSectionsForValue(boolean CHECK) Defines if the value of the gauge should be checked against all sections (if sections not empty).voidsetCheckThreshold(boolean CHECK) Defines if the value of the gauge should be checked against the threshold.voidsetCustomFont(javafx.scene.text.Font FONT) Defines the custom font that can be used to render all text elements.voidsetCustomFontEnabled(boolean ENABLED) Defines if the control should use the given customFont to render all text elementsvoidsetCustomTickLabelFontSize(double SIZE) Defines the custom font size.voidsetCustomTickLabelFontSizeEnabled(boolean ENABLED) Defines if custom font size for tick labels and/or custom tick labels should be used.voidsetCustomTickLabels(String... TICK_LABELS) Defines a list of Strings that represent the ticklabels that will be used for the scale.voidsetCustomTickLabels(List<String> TICK_LABELS) Defines a list of Strings that represent the ticklabels that will be used for the scale.voidsetCustomTickLabelsEnabled(boolean ENABLED) Defines if custom tick labels should be used instead of the automatically calculated ones.voidsetDecimals(int DECIMALS) Defines the number of decimals that will be used to format the value of the gauge.voidsetForegroundBaseColor(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.voidsetForegroundPaint(javafx.scene.paint.Paint PAINT) Defines the Paint object that will be used to fill the foreground of the gauge.voidsetGradientBarEnabled(boolean ENABLED) Defines if the gradient defined by the gradient lookup will be used to visualize the bar (if available).voidsetGradientBarStops(List<javafx.scene.paint.Stop> STOPS) Defines a list of Stops that will be used to calculate the gradient in the GradientLookup.voidsetGradientBarStops(javafx.scene.paint.Stop... STOPS) Defines a list of Stops that will be used to calculate the gradient in the GradientLookup.voidsetGradientLookup(eu.hansolo.toolboxfx.GradientLookup GRADIENT_LOOKUP) Defines the GradientLookup that is used to colorize the bar of the gauge (if avaiable)voidsetHighlightAreas(boolean HIGHLIGHT) Defines if areas should be highlighted in case they contain the current valuevoidsetHighlightSections(boolean HIGHLIGHT) Defines if sections should be highlighted in case they contain the current valuevoidsetInnerShadowEnabled(boolean ENABLED) Defines if an inner shadow should be drawn on the gauge background.voidsetInteractive(boolean INTERACTIVE) Defines if the gauge is in interactive mode.voidsetKeepAspect(boolean KEEP) Defines if the control should keep it's aspect.voidsetKnobColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the knob of the radial gauges.voidsetKnobPosition(javafx.geometry.Pos POSITION) Defines the position of the knob in radial gauges.voidsetKnobType(Gauge.KnobType TYPE) Defines the type of knob that will be used in the radial gauges.voidsetKnobVisible(boolean VISIBLE) Defines if the knob is visible.voidsetLcdCrystalEnabled(boolean ENABLED) Defines if the crystal effect of the LCD display will be drawn.voidsetLcdDesign(LcdDesign DESIGN) Defines the design that will be used to visualize the LCD display of the gauge (if it has one).voidsetLcdFont(LcdFont FONT) Defines the font that will be used to visualize the LCD value if the gauge has a LCD display.voidsetLcdVisible(boolean VISIBLE) Defines if the LCD display is visible (if available) The LCD display won't be visible if valueVisible == false.voidsetLedBlinking(boolean BLINKING) Defines if the LED is blinking (if available)voidsetLedColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to visualize the LED of the gauge if it has one.voidsetLedOn(boolean ON) Defines if the LED is on (if available)voidsetLedType(Gauge.LedType TYPE) Defines the graphical representation of the LED.voidsetLedVisible(boolean VISIBLE) Defines if the LED will be drawn (if available)voidSets the value of the property locale.voidsetMajorTickMarkColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the major tickmarks.voidsetMajorTickMarkLengthFactor(double FACTOR) The factor defines the length of the major tick mark.voidsetMajorTickMarksVisible(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.voidDefines the shape that will be used to visualize the major tickmark.voidsetMajorTickMarkWidthFactor(double FACTOR) The factor defines the width of the major tick mark.voidsetMajorTickSpace(double SPACE) Defines the value that represents the space between major tickmarks.voidsetMarkers(Marker... MARKERS) Sets the list of markers to the given array of Marker objects.voidsetMarkers(List<Marker> MARKERS) Sets the list of markers to the given list of Marker objects.voidsetMarkersVisible(boolean VISIBLE) Defines if the markers should be drawnvoidsetMaxMeasuredValue(double MAX_MEASURED_VALUE) Sets the maxMeasuredVAlue to the given value.voidsetMaxMeasuredValueVisible(boolean VISIBLE) Defines if the indicator of the maxMeasuredValue should be visible.voidsetMaxValue(double VALUE) Sets the maximum value of the gauge scale to the given valuevoidsetMediumTickMarkColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the medium tickmarks.voidsetMediumTickMarkLengthFactor(double FACTOR) The factor defines the length of the medium tick mark.voidsetMediumTickMarksVisible(boolean VISIBLE) Sets the value of the property mediumTickMarksVisible.voidDefines the shape that will be used to visualize the medium tickmark.voidsetMediumTickMarkWidthFactor(double FACTOR) The factor defines the width of the medium tick mark.voidsetMinMeasuredValue(double MIN_MEASURED_VALUE) Sets the minMeasuredValue to the given value.voidsetMinMeasuredValueVisible(boolean VISIBLE) Defines if the indicator of the minMeasuredValue should be visible.voidsetMinorTickMarkColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the minor tickmarks.voidsetMinorTickMarkLengthFactor(double FACTOR) The factor defines the length of the minor tick mark.voidsetMinorTickMarksVisible(boolean VISIBLE) Defines if the minor tickmarks should be drawnvoidDefines the shape that will be used to visualize the minor tickmark.voidsetMinorTickMarkWidthFactor(double FACTOR) The factor defines the width of the minor tick mark.voidsetMinorTickSpace(double SPACE) Defines the value that represents the space between major tickmarks.voidsetMinValue(double VALUE) Sets the minimum value of the gauge scale to the given valuevoidsetNeedleBehavior(Gauge.NeedleBehavior BEHAVIOR) Defines the behavior of the needle movement.voidsetNeedleBorderColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the border of the needle.voidsetNeedleColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the needle of the radial gauges.voidsetNeedleShape(Gauge.NeedleShape SHAPE) Defines the graphical representation of the needle that will be used.voidDefines the thickness of the needle.voidDefines the shape of the needle that will be used.voidsetOldValueVisible(boolean VISIBLE) Defines if the old value of the gauge should be visible (not implemented)voidsetOnButtonPressed(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER) voidsetOnButtonReleased(javafx.event.EventHandler<Gauge.ButtonEvent> HANDLER) voidsetOnlyFirstAndLastTickLabelVisible(boolean VISIBLE) Defines if only the first and the last ticklabel will be drawn.voidsetOnThresholdExceeded(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER) voidsetOnThresholdUnderrun(javafx.event.EventHandler<Gauge.ThresholdEvent> HANDLER) voidsetOrientation(javafx.geometry.Orientation ORIENTATION) Defines the orientation of the control.voidsetReturnToZero(boolean IS_TRUE) Defines the behavior of the visualization where the needle/bar should always return to 0 after it reached the final value.voidsetScaleDirection(eu.hansolo.toolboxfx.ScaleDirection DIRECTION) Defines the direction of the scale.voidsetSectionIconsVisible(boolean VISIBLE) Defines if the icon of the sections should be drawn inside the sections.voidsetSections(Section... SECTIONS) Sets the sections to the given array of Section objects.voidsetSections(List<Section> SECTIONS) Sets the sections to the given list of Section objects.voidsetSectionsAlwaysVisible(boolean VISIBLE) Defines if the sections will always be visible.voidsetSectionsVisible(boolean VISIBLE) Defines if the sections will be drawnvoidsetSectionTextVisible(boolean VISIBLE) Defines if the text of the sections should be drawn inside the sections.voidsetShadowsEnabled(boolean ENABLED) Defines if effects like shadows should be drawn.voidsetSkinType(Gauge.SkinType SKIN_TYPE) voidsetSmoothing(boolean SMOOTHING) Defines if the smoothing property should be enabled/disabled.voidsetStartAngle(double ANGLE) Defines the angle in degree that defines the start of the scale with it's minValue in a radial gauge.voidsetStartFromZero(boolean IS_TRUE) Defines the behavior of the visualization where the needle/bar should start from 0 instead of the minValue.voidsetSubTitle(String SUBTITLE) Sets the subtitle of the gauge.voidsetSubTitleColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the subTitle of the gauge.voidsetThreshold(double THRESHOLD) Sets the threshold of the gauge to the given value.voidsetThresholdColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the threshold indicator of the gauge.voidsetThresholdVisible(boolean VISIBLE) Defines if the threshold indicator should be drawnvoidsetTickLabelColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the ticklabels.voidsetTickLabelDecimals(int DECIMALS) Defines the number of decimals that will be used to format the value of the gauge.voidsetTickLabelLocation(TickLabelLocation LOCATION) Defines the location of the ticklabels.voidsetTickLabelOrientation(TickLabelOrientation ORIENTATION) Defines the orientation of the ticklabels.voidsetTickLabelSections(Section... SECTIONS) Sets the ticklabel sections to the given array of Section objects.voidsetTickLabelSections(List<Section> SECTIONS) Sets the ticklabel sections to the given list of Section objects.voidsetTickLabelSectionsVisible(boolean VISIBLE) Defines if the ticklabel sections should be used to colorize the ticklabels.voidsetTickLabelsVisible(boolean VISIBLE) Defines if the ticklabels should be drawnvoidsetTickMarkColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the tickmarks.voidsetTickMarkRingVisible(boolean VISIBLE) Defines if an additional ring should be drawn that "connects" the tick marks.voidsetTickMarkSections(Section... SECTIONS) Sets the tickmark sections to the given array of Section objects.voidsetTickMarkSections(List<Section> SECTIONS) Sets the tickmark sections to the given list of Section objects.voidsetTickMarkSectionsVisible(boolean VISIBLE) Defines if the tickmark sections should be used to colorize the tickmarks.voidSets the title of the gauge.voidsetTitleColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the title of the gauge.voidSets the unit of the gauge.voidsetUnitColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the unit of the gauge.voidsetValue(double VALUE) Sets the value of the Gauge to the given double.voidsetValueColor(javafx.scene.paint.Color COLOR) Defines the color that will be used to colorize the value of the gauge.voidsetValueVisible(boolean VISIBLE) Defines if the visualization of the gauge value should be visible.voidsetZeroColor(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.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyvoidstop()Calling this method will stop all threads.javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.StringPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.IntegerPropertyjavafx.beans.property.ObjectProperty<TickLabelLocation>javafx.beans.property.ObjectProperty<TickLabelOrientation>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.StringPropertytoString()javafx.beans.property.DoublePropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.StringPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.DoublePropertyjavafx.beans.property.BooleanPropertyjavafx.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, tooltipPropertyMethods 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, widthPropertyMethods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBoundsMethods 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, visiblePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javafx.css.Styleable
getStyleableNode
-
Property Details
-
value
public javafx.beans.property.DoubleProperty valueProperty- See Also:
-
currentValue
public javafx.beans.property.ReadOnlyDoubleProperty currentValueProperty- See Also:
-
oldValue
public javafx.beans.property.ReadOnlyDoubleProperty oldValueProperty- See Also:
-
formerValue
public javafx.beans.property.ReadOnlyDoubleProperty formerValueProperty- See Also:
-
minValue
public javafx.beans.property.DoubleProperty minValueProperty- See Also:
-
maxValue
public javafx.beans.property.DoubleProperty maxValueProperty- See Also:
-
range
public javafx.beans.property.ReadOnlyDoubleProperty rangeProperty- See Also:
-
treshold
public javafx.beans.property.DoubleProperty tresholdProperty -
title
public javafx.beans.property.StringProperty titleProperty- See Also:
-
subTitle
public javafx.beans.property.StringProperty subTitleProperty- See Also:
-
unit
public javafx.beans.property.StringProperty unitProperty- See Also:
-
averagingEnabled
public javafx.beans.property.BooleanProperty averagingEnabledProperty -
averagingPeriod
public javafx.beans.property.IntegerProperty averagingPeriodProperty- See Also:
-
startFromZero
public javafx.beans.property.BooleanProperty startFromZeroProperty- See Also:
-
returnToZero
public javafx.beans.property.BooleanProperty returnToZeroProperty- See Also:
-
zeroColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> zeroColorProperty- See Also:
-
minMeasuredValue
public javafx.beans.property.ReadOnlyDoubleProperty minMeasuredValueProperty -
maxMeasuredValue
public javafx.beans.property.ReadOnlyDoubleProperty maxMeasuredValueProperty -
minMeasuredValueVisible
public javafx.beans.property.BooleanProperty minMeasuredValueVisibleProperty -
maxMeasuredValueVisible
public javafx.beans.property.BooleanProperty maxMeasuredValueVisibleProperty -
oldValueVisible
public javafx.beans.property.BooleanProperty oldValueVisibleProperty -
valueVisible
public javafx.beans.property.BooleanProperty valueVisibleProperty- See Also:
-
backgroundPaint
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> backgroundPaintProperty -
borderPaint
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> borderPaintProperty- See Also:
-
borderWidth
public javafx.beans.property.DoubleProperty borderWidthProperty- See Also:
-
foregroundPaint
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> foregroundPaintProperty -
knobColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> knobColorProperty- See Also:
-
knobType
- See Also:
-
knobPosition
public javafx.beans.property.ObjectProperty<javafx.geometry.Pos> knobPositionProperty- See Also:
-
knobVisible
public javafx.beans.property.BooleanProperty knobVisibleProperty- See Also:
-
animated
public javafx.beans.property.BooleanProperty animatedProperty- See Also:
-
startAngle
public javafx.beans.property.DoubleProperty startAngleProperty- See Also:
-
angleRange
public javafx.beans.property.DoubleProperty angleRangeProperty- See Also:
-
angleStep
public javafx.beans.property.ReadOnlyDoubleProperty angleStepProperty- See Also:
-
arcExtend
public javafx.beans.property.DoubleProperty arcExtendProperty- See Also:
-
autoScale
public javafx.beans.property.BooleanProperty autoScaleProperty- See Also:
-
shadowsEnabled
public javafx.beans.property.BooleanProperty shadowsEnabledProperty- See Also:
-
barEffectEnabled
public javafx.beans.property.BooleanProperty barEffectEnabledProperty -
scaleDirection
public javafx.beans.property.ObjectProperty<eu.hansolo.toolboxfx.ScaleDirection> scaleDirectionProperty -
tickLabelLocation
-
tickLabelOrientation
-
tickLabelColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> tickLabelColorProperty- See Also:
-
tickMarkColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> tickMarkColorProperty- See Also:
-
majorTickMarkColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> majorTickMarkColorProperty -
majorTickMarkLengthFactor
public javafx.beans.property.DoubleProperty majorTickMarkLengthFactorProperty -
majorTickMarkWidthFactor
public javafx.beans.property.DoubleProperty majorTickMarkWidthFactorProperty -
mediumTickMarkColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> mediumTickMarkColorProperty -
mediumTickMarkLengthFactor
public javafx.beans.property.DoubleProperty mediumTickMarkLengthFactorProperty -
mediumTickMarkWidthFactor
public javafx.beans.property.DoubleProperty mediumTickMarkWidthFactorProperty -
minorTickMarkColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> minorTickMarkColorProperty -
minorTickMarkLengthFactor
public javafx.beans.property.DoubleProperty minorTickMarkLengthFactorProperty -
minorTickMarkWidthFactor
public javafx.beans.property.DoubleProperty minorTickMarkWidthFactorProperty -
majorTickMarkType
-
mediumTickMarkType
-
minorTickMarkType
-
locale
- See Also:
-
decimals
public javafx.beans.property.IntegerProperty decimalsProperty- See Also:
-
tickLabelDecimals
public javafx.beans.property.IntegerProperty tickLabelDecimalsProperty -
needleType
-
needleShape
-
needleSize
-
needleBehavior
-
needleColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> needleColorProperty- See Also:
-
needleBorderColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> needleBorderColorProperty -
barColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> barColorProperty- See Also:
-
barBorderColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> barBorderColorProperty- See Also:
-
barBackgroundColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> barBackgroundColorProperty -
lcdDesign
- See Also:
-
lcdFont
- See Also:
-
ledColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> ledColorProperty- See Also:
-
ledType
- See Also:
-
titleColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> titleColorProperty- See Also:
-
subTitleColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> subTitleColorProperty- See Also:
-
unitColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> unitColorProperty- See Also:
-
valueColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> valueColorProperty- See Also:
-
thresholdColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> thresholdColorProperty- See Also:
-
averageColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> averageColorProperty- See Also:
-
checkSectionsForValue
public javafx.beans.property.BooleanProperty checkSectionsForValueProperty -
checkAreasForValue
public javafx.beans.property.BooleanProperty checkAreasForValueProperty -
checkThreshold
public javafx.beans.property.BooleanProperty checkThresholdProperty- See Also:
-
innerShadowEnabled
public javafx.beans.property.BooleanProperty innerShadowEnabledProperty -
thresholdVisible
public javafx.beans.property.BooleanProperty thresholdVisibleProperty -
averageVisible
public javafx.beans.property.BooleanProperty averageVisibleProperty- See Also:
-
sectionsVisible
public javafx.beans.property.BooleanProperty sectionsVisibleProperty -
sectionsAlwaysVisible
public javafx.beans.property.BooleanProperty sectionsAlwaysVisibleProperty -
sectionTextVisible
public javafx.beans.property.BooleanProperty sectionTextVisibleProperty -
sectionIconsVisible
public javafx.beans.property.BooleanProperty sectionIconsVisibleProperty -
highlightSections
public javafx.beans.property.BooleanProperty highlightSectionsProperty -
areasVisible
public javafx.beans.property.BooleanProperty areasVisibleProperty- See Also:
-
areaTextVisible
public javafx.beans.property.BooleanProperty areaTextVisibleProperty -
areaIconsVisible
public javafx.beans.property.BooleanProperty areaIconsVisibleProperty -
highlightAreas
public javafx.beans.property.BooleanProperty highlightAreasProperty- See Also:
-
tickMarkSectionsVisible
public javafx.beans.property.BooleanProperty tickMarkSectionsVisibleProperty -
tickLabelSectionsVisible
public javafx.beans.property.BooleanProperty tickLabelSectionsVisibleProperty -
markersVisible
public javafx.beans.property.BooleanProperty markersVisibleProperty -
tickLabelsVisible
public javafx.beans.property.BooleanProperty tickLabelsVisibleProperty -
onlyFirstAndLastTickLabelVisible
public javafx.beans.property.BooleanProperty onlyFirstAndLastTickLabelVisibleProperty -
majorTickMarksVisible
public javafx.beans.property.BooleanProperty majorTickMarksVisibleProperty -
mediumTickMarksVisible
public javafx.beans.property.BooleanProperty mediumTickMarksVisibleProperty -
minorTickMarksVisible
public javafx.beans.property.BooleanProperty minorTickMarksVisibleProperty -
tickMarkRingVisible
public javafx.beans.property.BooleanProperty tickMarkRingVisibleProperty -
majorTickSpace
public javafx.beans.property.DoubleProperty majorTickSpaceProperty- See Also:
-
minorTickSpace
public javafx.beans.property.DoubleProperty minorTickSpaceProperty- See Also:
-
lcdVisible
public javafx.beans.property.BooleanProperty lcdVisibleProperty- See Also:
-
lcdCrystalEnabled
public javafx.beans.property.BooleanProperty lcdCrystalEnabledProperty -
ledVisible
public javafx.beans.property.BooleanProperty ledVisibleProperty- See Also:
-
ledOn
public javafx.beans.property.BooleanProperty ledOnProperty- See Also:
-
ledBlinking
public javafx.beans.property.BooleanProperty ledBlinkingProperty- See Also:
-
orientation
public javafx.beans.property.ObjectProperty<javafx.geometry.Orientation> orientationProperty- See Also:
-
gradientBarEnabled
public javafx.beans.property.BooleanProperty gradientBarEnabledProperty -
customTickLabelsEnabled
public javafx.beans.property.BooleanProperty customTickLabelsEnabledProperty -
customTickLabelFontSizeEnabled
public javafx.beans.property.BooleanProperty customTickLabelFontSizeEnabledProperty -
customTickLabelFontSize
public javafx.beans.property.DoubleProperty customTickLabelFontSizeProperty -
interactive
public javafx.beans.property.BooleanProperty interactiveProperty- See Also:
-
buttonTooltipText
public javafx.beans.property.StringProperty buttonTooltipTextProperty -
keepAspect
public javafx.beans.property.BooleanProperty keepAspectProperty- See Also:
-
customFontEnabled
public javafx.beans.property.BooleanProperty customFontEnabledProperty -
customFont
public javafx.beans.property.ObjectProperty<javafx.scene.text.Font> customFontProperty- See Also:
-
alert
public javafx.beans.property.BooleanProperty alertProperty- See Also:
-
alertMessage
public javafx.beans.property.StringProperty alertMessageProperty- See Also:
-
smoothing
public javafx.beans.property.BooleanProperty smoothingProperty- See Also:
-
-
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
-
BTN_RELEASED_EVENT
-
-
Constructor Details
-
Gauge
public Gauge() -
Gauge
-
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
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
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
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
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
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
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
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() -
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
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
Returns the moving average over the given duration.- Parameters:
DURATION-- Returns:
- the moving average over the given duration
-
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
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
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
Adds the given Section to the list of sections. Sections in the Medusa library usually are less eye-catching than Areas.- Parameters:
SECTION-
-
removeSection
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
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
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
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
Adds the given Section to the list of areas. Areas in the Medusa library usually are more eye-catching than Sections.- Parameters:
AREA-
-
removeArea
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
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
Sets the tickmark sections to the given list of Section objects.- Parameters:
SECTIONS-
-
setTickMarkSections
Sets the tickmark sections to the given array of Section objects.- Parameters:
SECTIONS-
-
addTickMarkSection
Adds the given Section to the list of tickmark sections.- Parameters:
SECTION-
-
removeTickMarkSection
Removes the given Section from the list of tickmark sections.- Parameters:
SECTION-
-
clearTickMarkSections
public void clearTickMarkSections()Clears the list of tickmark sections. -
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
Sets the ticklabel sections to the given list of Section objects.- Parameters:
SECTIONS-
-
setTickLabelSections
Sets the ticklabel sections to the given array of Section objects.- Parameters:
SECTIONS-
-
addTickLabelSection
Adds the given Section to the list of ticklabel sections.- Parameters:
SECTION-
-
removeTickLabelSection
Removes the given Section from the list of ticklabel sections.- Parameters:
SECTION-
-
clearTickLabelSections
public void clearTickLabelSections()Clears the list of ticklabel sections. -
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
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
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
Adds the given Marker to the list of markers.- Parameters:
MARKER-
-
removeMarker
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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
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
Defines the type of knob that will be used in the radial gauges. The values are STANDARD, PLAIN, METAL and FLAT.- Parameters:
TYPE-
-
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() -
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() -
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
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
-
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
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
-
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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
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
-
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
Defines the shape that will be used to visualize the medium tickmark. Values are LINE, DOT, TRAPEZOID, BOX and PILL- Parameters:
TYPE-
-
mediumTickMarkTypeProperty
-
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
Defines the shape that will be used to visualize the minor tickmark. Values are LINE, DOT, TRAPEZOID, BOX and PILL- Parameters:
TYPE-
-
minorTickMarkTypeProperty
-
getLocale
Gets the value of the property locale.- Property description:
-
setLocale
Sets the value of the property locale.- Property description:
-
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() -
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
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
-
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
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
-
getNeedleSize
Returns the thickness of the needle. The values are THIN, STANDARD and THICK- Returns:
- the thickness of the needle
-
setNeedleSize
Defines the thickness of the needle. The values are THIN, STANDARD and THICK- Parameters:
SIZE-
-
needleSizeProperty
-
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
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
-
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() -
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() -
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
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
- See Also:
-
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
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
- 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
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
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
- 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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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() -
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
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
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() -
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() -
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
Defines a list of Strings that represent the ticklabels that will be used for the scale.- Parameters:
TICK_LABELS-
-
setCustomTickLabels
Defines a list of Strings that represent the ticklabels that will be used for the scale.- Parameters:
TICK_LABELS-
-
addCustomTickLabel
Adds the given String to the list of custom ticklabels- Parameters:
TICK_LABEL-
-
removeCustomTickLabel
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() -
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
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
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() -
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() -
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
Returns the alert message text that could be used in a tooltip in case of an alert.- Returns:
- the alert message text
-
setAlertMessage
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
-
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
- Overrides:
toStringin classjavafx.scene.Node
-
createDefaultSkin
protected javafx.scene.control.Skin createDefaultSkin()- Overrides:
createDefaultSkinin classjavafx.scene.control.Control
-
getUserAgentStylesheet
- Overrides:
getUserAgentStylesheetin classjavafx.scene.layout.Region
-
getSkinType
-
setSkinType
-
presetGaugeParameters
-
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
-
setOnButtonPressed
-
removeOnButtonPressed
-
setOnButtonReleased
-
removeOnButtonReleased
-
setOnThresholdExceeded
-
removeOnThresholdExceeded
-
setOnThresholdUnderrun
-
removeOnThresholdUnderrun
-