Class TimelineScrollBar

java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.control.Control
org.controlsfx.control.PlusMinusSlider
com.flexganttfx.view.util.TimelineScrollBar
All Implemented Interfaces:
Styleable, EventTarget, Skinnable

public class TimelineScrollBar
extends org.controlsfx.control.PlusMinusSlider
A specialized PlusMinusSlider for controlling the Timeline inside the GanttChart view. Updates the start time property of the underlying TimelineModel.
See Also:
TimelineModel.setStartTime(Instant)
  • Property Details

  • Constructor Details

    • TimelineScrollBar

      public TimelineScrollBar()
      Constructs a new scrollbar.
  • Method Details

    • timelineProperty

      public final ObjectProperty<Timeline> timelineProperty()
      Stores a reference to the timeline that will be controlled by this scrollbar.
      Since:
      1.6.1
      See Also:
      getTimeline(), setTimeline(Timeline)
    • getTimeline

      public final Timeline getTimeline()
      Returns the value of timelineProperty().
      Returns:
      the controlled timeline
      Since:
      1.6.1
    • setTimeline

      public final void setTimeline​(Timeline timeline)
      Sets the value of timelineProperty().
      Parameters:
      timeline - the timeline that will be controlled by this scrollbar
      Since:
      1.6.1
    • getUserAgentStylesheet

      protected final String getUserAgentStylesheet​(Class<?> arg0, String arg1)