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 Details

    • setCurrentValueGuidelineVisible

      ICurrentValuePropertyOwner setCurrentValueGuidelineVisible(boolean currentArgumentLineVisible)
      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

      ICurrentValuePropertyOwner setCurrentValueGuidelineColor(Color color)
      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

      ICurrentValuePropertyOwner setCurrentValueGuidelineColor(javafx.scene.paint.Color color)
      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

      ICurrentValuePropertyOwner setCurrentValueGuidelineWidth(double width)
      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

      ICurrentValuePropertyOwner setCurrentValue(Supplier<Double> currentValue)
      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:
      true if the current value guideline is visible, false otherwise
    • 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