Package de.gsi.chart.plugins
Interface ValueIndicator
-
- All Known Implementing Classes:
AbstractSingleValueIndicator,XValueIndicator,YValueIndicator
public interface ValueIndicator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AxisgetAxis()returns the Axis that this indicator is associated with.java.lang.StringgetText()doublegetValue()Returns the indicated value.voidsetText(java.lang.String text)voidsetValue(double newValue)Sets the value that should be indicated.javafx.beans.property.DoublePropertyvalueProperty()Value indicated by this plugin.
-
-
-
Method Detail
-
getAxis
Axis getAxis()
returns the Axis that this indicator is associated with.- Returns:
- associated Axis
-
getText
java.lang.String getText()
- Returns:
- text displayed within or next to the indicator
-
getValue
double getValue()
Returns the indicated value.- Returns:
- indicated value
-
setText
void setText(java.lang.String text)
- Parameters:
text- the new text. Ifnull, the label will be hidden.
-
setValue
void setValue(double newValue)
Sets the value that should be indicated.- Parameters:
newValue- value to be indicated
-
valueProperty
javafx.beans.property.DoubleProperty valueProperty()
Value indicated by this plugin.- Returns:
- value property
-
-