Interface ICurrentValuePropertyOwner
- All Known Subinterfaces:
ISetNumericDisplayedRangePropertyOwner,ISetTimeDisplayedRangePropertyOwner
- All Known Implementing Classes:
GanttChartNumericXAxis,GanttChartTimeXAxis,LineChartNumericXAxis,LineChartTimeXAxis
public interface ICurrentValuePropertyOwner
Interface of current value property owners. Provides a set of methods
corresponding to it.
- Author:
- Aleksey Kirillov
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns this axis current value.javafx.scene.paint.ColorReturns the color of the current value guideline.doubleReturns the width of the current value guideline, in pixels.booleanChecks if the current value guideline is visible.setCurrentValue(Supplier<Double> currentValue) Sets this axis current value.Sets the color of the current value guideline.setCurrentValueGuidelineColor(javafx.scene.paint.Color color) Sets the color of the current value guideline.setCurrentValueGuidelineVisible(boolean currentArgumentLineVisible) Specifies whether the current value guideline should be drawn.setCurrentValueGuidelineWidth(double width) Sets the width of the current value guideline, in pixels.
-
Method Details
-
setCurrentValueGuidelineVisible
Specifies whether the current value guideline should be drawn. Redraws this axis and it's parent chart if visibility is changed.- Parameters:
currentArgumentLineVisible- new current value guideline visibility- Returns:
- reference to this object
- See Also:
-
setCurrentValueGuidelineColor
Sets the color of the current value guideline. Transparent and semi-transparent colors are allowed. Redraws this axis and it's parent chart if color is changed.- Parameters:
color- new current value guideline color- Returns:
- reference to this object
- See Also:
-
setCurrentValueGuidelineColor
Sets the color of the current value guideline. Transparent and semi-transparent colors are allowed. Redraws this axis and it's parent chart if color is changed.- Parameters:
color- new current value guideline color- Returns:
- reference to this object
- See Also:
-
setCurrentValueGuidelineWidth
Sets the width of the current value guideline, in pixels. Redraws this axis and it's parent chart if width is changed.- Parameters:
width- new current value guideline width, in pixels- Returns:
- reference to this object
- See Also:
-
setCurrentValue
Sets this axis current value.- Parameters:
currentValue- new axis current value- Returns:
- reference to this object
-
isCurrentValueGuidelineVisible
boolean isCurrentValueGuidelineVisible()Checks if the current value guideline is visible.- Returns:
trueif the current value guideline is visible,falseotherwise
-
getCurrentValueGuidelineColor
javafx.scene.paint.Color getCurrentValueGuidelineColor()Returns the color of the current value guideline.- Returns:
- the color of the current value guideline
-
getCurrentValueGuidelineWidth
double getCurrentValueGuidelineWidth()Returns the width of the current value guideline, in pixels.- Returns:
- the width of the current value guideline, in pixels
-
getCurrentValue
double getCurrentValue()Returns this axis current value.- Returns:
- this axis current value
-