public class GaugeModel
extends java.lang.Object
Type | Property and Description |
---|---|
javafx.beans.property.DoubleProperty |
animationDuration |
javafx.beans.property.BooleanProperty |
endlessMode |
javafx.beans.property.ReadOnlyDoubleProperty |
formerValue |
javafx.beans.property.BooleanProperty |
largeNumberScale |
javafx.beans.property.BooleanProperty |
lastLabelVisible |
javafx.beans.property.ObjectProperty |
lcdNumberSystem |
javafx.beans.property.BooleanProperty |
lcdThresholdBehaviorInverted |
javafx.beans.property.DoubleProperty |
lcdThreshold |
javafx.beans.property.StringProperty |
lcdUnit |
javafx.beans.property.BooleanProperty |
lcdValueCoupled |
javafx.beans.property.DoubleProperty |
lcdValue |
javafx.beans.property.DoubleProperty |
majorTickSpacing |
javafx.beans.property.DoubleProperty |
maxMeasuredValue |
javafx.beans.property.IntegerProperty |
maxNoOfMajorTicks |
javafx.beans.property.IntegerProperty |
maxNoOfMinorTicks |
javafx.beans.property.ReadOnlyDoubleProperty |
maxValue |
javafx.beans.property.DoubleProperty |
minMeasuredValue |
javafx.beans.property.DoubleProperty |
minorTickSpacing |
javafx.beans.property.ReadOnlyDoubleProperty |
minValue |
javafx.beans.property.BooleanProperty |
niceScaling |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<GaugeModel.GaugeModelEvent>> |
onGaugeModelEvent |
javafx.beans.property.ReadOnlyDoubleProperty |
range |
javafx.beans.property.ReadOnlyDoubleProperty |
realValue |
javafx.beans.property.DoubleProperty |
redrawTolerance |
javafx.beans.property.BooleanProperty |
thresholdBehaviorInverted |
javafx.beans.property.BooleanProperty |
thresholdExceeded |
javafx.beans.property.DoubleProperty |
threshold |
javafx.beans.property.BooleanProperty |
tightScale |
javafx.beans.property.StringProperty |
title |
javafx.beans.property.ObjectProperty<Gauge.Trend> |
trend |
javafx.beans.property.StringProperty |
unit |
javafx.beans.property.BooleanProperty |
valueAnimationEnabled |
javafx.beans.property.DoubleProperty |
value |
Modifier and Type | Class and Description |
---|---|
class |
GaugeModel.GaugeModelEvent |
Constructor and Description |
---|
GaugeModel() |
Modifier and Type | Method and Description |
---|---|
void |
addArea(Section AREA) |
void |
addMarker(Marker MARKER) |
void |
addSection(Section SECTION) |
void |
addTickMarkSection(Section SECTION) |
javafx.beans.property.DoubleProperty |
animationDurationProperty() |
protected void |
calcRange()
Calculate and update values for major and minor tick spacing and nice
minimum and maximum values on the axis.
|
javafx.beans.property.BooleanProperty |
endlessModeProperty() |
void |
fireGaugeModelEvent() |
javafx.beans.property.ReadOnlyDoubleProperty |
formerValueProperty() |
double |
getAnimationDuration()
Gets the value of the property animationDuration.
|
javafx.collections.ObservableList<Section> |
getAreas() |
double |
getFormerValue()
Gets the value of the property formerValue.
|
Gauge.NumberSystem |
getLcdNumberSystem()
Gets the value of the property lcdNumberSystem.
|
double |
getLcdThreshold()
Gets the value of the property lcdThreshold.
|
java.lang.String |
getLcdUnit()
Gets the value of the property lcdUnit.
|
double |
getLcdValue()
Gets the value of the property lcdValue.
|
double |
getMajorTickSpacing()
Gets the value of the property majorTickSpacing.
|
javafx.collections.ObservableList<Marker> |
getMarkers() |
double |
getMaxMeasuredValue()
Gets the value of the property maxMeasuredValue.
|
int |
getMaxNoOfMajorTicks()
Gets the value of the property maxNoOfMajorTicks.
|
int |
getMaxNoOfMinorTicks()
Gets the value of the property maxNoOfMinorTicks.
|
double |
getMaxValue()
Gets the value of the property maxValue.
|
double |
getMinMeasuredValue()
Gets the value of the property minMeasuredValue.
|
double |
getMinorTickSpacing()
Gets the value of the property minorTickSpacing.
|
double |
getMinValue()
Gets the value of the property minValue.
|
javafx.event.EventHandler<GaugeModel.GaugeModelEvent> |
getOnGaugeModelEvent()
Gets the value of the property onGaugeModelEvent.
|
double |
getRange()
Gets the value of the property range.
|
double |
getRealValue()
Gets the value of the property realValue.
|
double |
getRedrawTolerance()
Gets the value of the property redrawTolerance.
|
double |
getRedrawToleranceValue() |
javafx.collections.ObservableList<Section> |
getSections() |
double |
getThreshold()
Gets the value of the property threshold.
|
javafx.collections.ObservableList<Section> |
getTickMarkSections() |
double |
getTightScaleOffset() |
java.lang.String |
getTitle()
Gets the value of the property title.
|
Gauge.Trend |
getTrend()
Gets the value of the property trend.
|
double |
getUncorrectedMaxValue() |
double |
getUncorrectedMinValue() |
java.lang.String |
getUnit()
Gets the value of the property unit.
|
double |
getValue()
Gets the value of the property value.
|
boolean |
isEndlessMode()
Gets the value of the property endlessMode.
|
boolean |
isLargeNumberScale()
Gets the value of the property largeNumberScale.
|
boolean |
isLastLabelVisible()
Gets the value of the property lastLabelVisible.
|
boolean |
isLcdThresholdBehaviorInverted()
Gets the value of the property lcdThresholdBehaviorInverted.
|
boolean |
isLcdValueCoupled()
Gets the value of the property lcdValueCoupled.
|
boolean |
isNiceScaling()
Gets the value of the property niceScaling.
|
boolean |
isThresholdBehaviorInverted()
Gets the value of the property thresholdBehaviorInverted.
|
boolean |
isThresholdExceeded()
Gets the value of the property thresholdExceeded.
|
boolean |
isTightScale()
Gets the value of the property tightScale.
|
boolean |
isValueAnimationEnabled()
Gets the value of the property valueAnimationEnabled.
|
javafx.beans.property.BooleanProperty |
largeNumberScaleProperty() |
javafx.beans.property.BooleanProperty |
lastLabelVisibleProperty() |
javafx.beans.property.ObjectProperty |
lcdNumberSystemProperty() |
javafx.beans.property.BooleanProperty |
lcdThresholdBehaviorInvertedProperty() |
javafx.beans.property.DoubleProperty |
lcdThresholdProperty() |
javafx.beans.property.StringProperty |
lcdUnitProperty() |
javafx.beans.property.BooleanProperty |
lcdValueCoupledProperty() |
javafx.beans.property.DoubleProperty |
lcdValueProperty() |
javafx.beans.property.DoubleProperty |
majorTickSpacingProperty() |
javafx.beans.property.DoubleProperty |
maxMeasuredValueProperty() |
javafx.beans.property.IntegerProperty |
maxNoOfMajorTicksProperty() |
javafx.beans.property.IntegerProperty |
maxNoOfMinorTicksProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
maxValueProperty() |
javafx.beans.property.DoubleProperty |
minMeasuredValueProperty() |
javafx.beans.property.DoubleProperty |
minorTickSpacingProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
minValueProperty() |
javafx.beans.property.BooleanProperty |
niceScalingProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<GaugeModel.GaugeModelEvent>> |
onGaugeModelEventProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
rangeProperty() |
javafx.beans.property.ReadOnlyDoubleProperty |
realValueProperty() |
javafx.beans.property.DoubleProperty |
redrawToleranceProperty() |
void |
removeArea(Section AREA) |
void |
removeMarker(Marker MARKER) |
void |
removeSection(Section SECTION) |
void |
removeTickMarkSection(Section SECTION) |
void |
resetAreas() |
void |
resetMarkers() |
void |
resetMaxMeasuredValue() |
void |
resetMinMaxMeasuredValue() |
void |
resetMinMeasuredValue() |
void |
resetSections() |
void |
resetTickMarkSections() |
void |
setAnimationDuration(double ANIMATION_DURATION)
Sets the value of the property animationDuration.
|
void |
setAreas(java.util.List<Section> AREAS) |
void |
setAreas(Section... AREA_ARRAY) |
void |
setEndlessMode(boolean ENDLESS_MODE)
Sets the value of the property endlessMode.
|
void |
setLargeNumberScale(boolean LARGE_NUMBER_SCALE)
Sets the value of the property largeNumberScale.
|
void |
setLastLabelVisible(boolean LAST_LABEL_VISIBLE)
Sets the value of the property lastLabelVisible.
|
void |
setLcdNumberSystem(Gauge.NumberSystem LCD_NUMBER_SYSTEM)
Sets the value of the property lcdNumberSystem.
|
void |
setLcdThreshold(double LCD_THRESHOLD)
Sets the value of the property lcdThreshold.
|
void |
setLcdThresholdBehaviorInverted(boolean LCD_THRESHOLD_BEHAVIOR_INVERTED)
Sets the value of the property lcdThresholdBehaviorInverted.
|
void |
setLcdUnit(java.lang.String LCD_UNIT_STRING)
Sets the value of the property lcdUnit.
|
void |
setLcdValue(double LCD_VALUE)
Sets the value of the property lcdValue.
|
void |
setLcdValueCoupled(boolean LCD_VALUE_COUPLED)
Sets the value of the property lcdValueCoupled.
|
void |
setMajorTickSpacing(double MAJOR_TICK_SPACING)
Sets the value of the property majorTickSpacing.
|
void |
setMarkers(java.util.List<Marker> MARKERS) |
void |
setMarkers(Marker... MARKER_ARRAY) |
void |
setMaxMeasuredValue(double MAX_MEASURED_VALUE)
Sets the value of the property maxMeasuredValue.
|
void |
setMaxNoOfMajorTicks(int MAX_NO_OF_MAJOR_TICKS)
Sets the value of the property maxNoOfMajorTicks.
|
void |
setMaxNoOfMinorTicks(int MAX_NO_OF_MINOR_TICKS)
Sets the value of the property maxNoOfMinorTicks.
|
void |
setMaxValue(double MAX_VALUE)
Sets the value of the property maxValue.
|
void |
setMinMeasuredValue(double MIN_MEASURED_VALUE)
Sets the value of the property minMeasuredValue.
|
void |
setMinorTickSpacing(double MINOR_TICK_SPACING)
Sets the value of the property minorTickSpacing.
|
void |
setMinValue(double MIN_VALUE)
Sets the value of the property minValue.
|
void |
setNiceScaling(boolean NICE_SCALING)
Sets the value of the property niceScaling.
|
void |
setOnGaugeModelEvent(javafx.event.EventHandler<GaugeModel.GaugeModelEvent> HANDLER)
Sets the value of the property onGaugeModelEvent.
|
void |
setRedrawTolerance(double REDRAW_TOLERANCE)
Sets the value of the property redrawTolerance.
|
void |
setSections(java.util.List<Section> SECTIONS) |
void |
setSections(Section... SECTION_ARRAY) |
void |
setThreshold(double THRESHOLD)
Sets the value of the property threshold.
|
void |
setThresholdBehaviorInverted(boolean THRESHOLD_BEHAVIOR_INVERTED)
Sets the value of the property thresholdBehaviorInverted.
|
void |
setThresholdExceeded(boolean THRESHOLD_EXCEEDED)
Sets the value of the property thresholdExceeded.
|
void |
setTickMarkSections(java.util.List<Section> SECTIONS) |
void |
setTickMarkSections(Section... SECTIONS_ARRAY) |
void |
setTightScale(boolean TIGHT_SCALE)
Sets the value of the property tightScale.
|
void |
setTitle(java.lang.String TITLE)
Sets the value of the property title.
|
void |
setTrend(Gauge.Trend TREND)
Sets the value of the property trend.
|
void |
setUnit(java.lang.String UNIT)
Sets the value of the property unit.
|
void |
setValue(double VALUE)
Sets the value of the property value.
|
void |
setValueAnimationEnabled(boolean VALUE_ANIMATION_ENABLED)
Sets the value of the property valueAnimationEnabled.
|
javafx.beans.property.BooleanProperty |
thresholdBehaviorInvertedProperty() |
javafx.beans.property.BooleanProperty |
thresholdExceededProperty() |
javafx.beans.property.DoubleProperty |
thresholdProperty() |
javafx.beans.property.BooleanProperty |
tightScaleProperty() |
javafx.beans.property.StringProperty |
titleProperty() |
javafx.beans.property.ObjectProperty<Gauge.Trend> |
trendProperty() |
javafx.beans.property.StringProperty |
unitProperty() |
javafx.beans.property.BooleanProperty |
valueAnimationEnabledProperty() |
javafx.beans.property.DoubleProperty |
valueProperty() |
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<GaugeModel.GaugeModelEvent>> onGaugeModelEventProperty()
public final void setOnGaugeModelEvent(javafx.event.EventHandler<GaugeModel.GaugeModelEvent> HANDLER)
public final javafx.event.EventHandler<GaugeModel.GaugeModelEvent> getOnGaugeModelEvent()
public void fireGaugeModelEvent()
public final double getValue()
public final void setValue(double VALUE)
public final javafx.beans.property.DoubleProperty valueProperty()
public final double getRealValue()
public final javafx.beans.property.ReadOnlyDoubleProperty realValueProperty()
public final double getFormerValue()
public final javafx.beans.property.ReadOnlyDoubleProperty formerValueProperty()
public final boolean isValueAnimationEnabled()
public final void setValueAnimationEnabled(boolean VALUE_ANIMATION_ENABLED)
public final javafx.beans.property.BooleanProperty valueAnimationEnabledProperty()
public final double getAnimationDuration()
public final void setAnimationDuration(double ANIMATION_DURATION)
public final javafx.beans.property.DoubleProperty animationDurationProperty()
public final double getRedrawTolerance()
public final void setRedrawTolerance(double REDRAW_TOLERANCE)
public final javafx.beans.property.DoubleProperty redrawToleranceProperty()
public final double getRedrawToleranceValue()
public final double getMinValue()
public final void setMinValue(double MIN_VALUE)
public final javafx.beans.property.ReadOnlyDoubleProperty minValueProperty()
public final double getUncorrectedMinValue()
public final double getMaxValue()
public final void setMaxValue(double MAX_VALUE)
public final javafx.beans.property.ReadOnlyDoubleProperty maxValueProperty()
public final double getUncorrectedMaxValue()
public final double getRange()
public final javafx.beans.property.ReadOnlyDoubleProperty rangeProperty()
public final double getMinMeasuredValue()
public final void setMinMeasuredValue(double MIN_MEASURED_VALUE)
public final javafx.beans.property.DoubleProperty minMeasuredValueProperty()
public final void resetMinMeasuredValue()
public final double getMaxMeasuredValue()
public final void setMaxMeasuredValue(double MAX_MEASURED_VALUE)
public final javafx.beans.property.DoubleProperty maxMeasuredValueProperty()
public final void resetMaxMeasuredValue()
public final void resetMinMaxMeasuredValue()
public final double getThreshold()
public final void setThreshold(double THRESHOLD)
public final javafx.beans.property.DoubleProperty thresholdProperty()
public final boolean isThresholdBehaviorInverted()
public final void setThresholdBehaviorInverted(boolean THRESHOLD_BEHAVIOR_INVERTED)
public final javafx.beans.property.BooleanProperty thresholdBehaviorInvertedProperty()
public final boolean isThresholdExceeded()
public final void setThresholdExceeded(boolean THRESHOLD_EXCEEDED)
public final javafx.beans.property.BooleanProperty thresholdExceededProperty()
public final java.lang.String getTitle()
public final void setTitle(java.lang.String TITLE)
public final javafx.beans.property.StringProperty titleProperty()
public final java.lang.String getUnit()
public final void setUnit(java.lang.String UNIT)
public final javafx.beans.property.StringProperty unitProperty()
public final double getLcdValue()
public final void setLcdValue(double LCD_VALUE)
public final javafx.beans.property.DoubleProperty lcdValueProperty()
public final boolean isLcdValueCoupled()
public final void setLcdValueCoupled(boolean LCD_VALUE_COUPLED)
public final javafx.beans.property.BooleanProperty lcdValueCoupledProperty()
public final double getLcdThreshold()
public final void setLcdThreshold(double LCD_THRESHOLD)
public final javafx.beans.property.DoubleProperty lcdThresholdProperty()
public final boolean isLcdThresholdBehaviorInverted()
public final void setLcdThresholdBehaviorInverted(boolean LCD_THRESHOLD_BEHAVIOR_INVERTED)
public final javafx.beans.property.BooleanProperty lcdThresholdBehaviorInvertedProperty()
public final java.lang.String getLcdUnit()
public final void setLcdUnit(java.lang.String LCD_UNIT_STRING)
public final javafx.beans.property.StringProperty lcdUnitProperty()
public final Gauge.NumberSystem getLcdNumberSystem()
public final void setLcdNumberSystem(Gauge.NumberSystem LCD_NUMBER_SYSTEM)
public final javafx.beans.property.ObjectProperty lcdNumberSystemProperty()
public final int getMaxNoOfMajorTicks()
public final void setMaxNoOfMajorTicks(int MAX_NO_OF_MAJOR_TICKS)
public final javafx.beans.property.IntegerProperty maxNoOfMajorTicksProperty()
public final int getMaxNoOfMinorTicks()
public final void setMaxNoOfMinorTicks(int MAX_NO_OF_MINOR_TICKS)
public final javafx.beans.property.IntegerProperty maxNoOfMinorTicksProperty()
public final double getMajorTickSpacing()
public final void setMajorTickSpacing(double MAJOR_TICK_SPACING)
public final javafx.beans.property.DoubleProperty majorTickSpacingProperty()
public final double getMinorTickSpacing()
public final void setMinorTickSpacing(double MINOR_TICK_SPACING)
public final javafx.beans.property.DoubleProperty minorTickSpacingProperty()
public final Gauge.Trend getTrend()
public final void setTrend(Gauge.Trend TREND)
public final javafx.beans.property.ObjectProperty<Gauge.Trend> trendProperty()
public final boolean isNiceScaling()
public final void setNiceScaling(boolean NICE_SCALING)
public final javafx.beans.property.BooleanProperty niceScalingProperty()
public final boolean isTightScale()
public final void setTightScale(boolean TIGHT_SCALE)
public final javafx.beans.property.BooleanProperty tightScaleProperty()
public final double getTightScaleOffset()
public final boolean isLargeNumberScale()
public final void setLargeNumberScale(boolean LARGE_NUMBER_SCALE)
public final javafx.beans.property.BooleanProperty largeNumberScaleProperty()
public final boolean isLastLabelVisible()
public final void setLastLabelVisible(boolean LAST_LABEL_VISIBLE)
public final javafx.beans.property.BooleanProperty lastLabelVisibleProperty()
public final javafx.collections.ObservableList<Section> getSections()
public final void setSections(Section... SECTION_ARRAY)
public final void setSections(java.util.List<Section> SECTIONS)
public final void addSection(Section SECTION)
public final void removeSection(Section SECTION)
public final void resetSections()
public final javafx.collections.ObservableList<Section> getAreas()
public final void setAreas(Section... AREA_ARRAY)
public final void setAreas(java.util.List<Section> AREAS)
public final void addArea(Section AREA)
public final void removeArea(Section AREA)
public final void resetAreas()
public final javafx.collections.ObservableList<Section> getTickMarkSections()
public final void setTickMarkSections(Section... SECTIONS_ARRAY)
public final void setTickMarkSections(java.util.List<Section> SECTIONS)
public final void addTickMarkSection(Section SECTION)
public final void removeTickMarkSection(Section SECTION)
public final void resetTickMarkSections()
public final javafx.collections.ObservableList<Marker> getMarkers()
public final void setMarkers(Marker... MARKER_ARRAY)
public final void setMarkers(java.util.List<Marker> MARKERS)
public final void addMarker(Marker MARKER)
public final void removeMarker(Marker MARKER)
public final void resetMarkers()
public final boolean isEndlessMode()
public final void setEndlessMode(boolean ENDLESS_MODE)
public final javafx.beans.property.BooleanProperty endlessModeProperty()
protected void calcRange()