Class Eventline

  • All Implemented Interfaces:
    Styleable, EventTarget, Skinnable

    public class Eventline
    extends FlexGanttFXControl
    The eventline is a control that displays time cursors and other information that might be relevant for all rows in the Gantt chart. It also supports a "frozen row", which is basically a single row that does not scroll out of sight. To do this the eventline contains a SingleRowGraphics child node. Activities added to the frozen row (see frozenRowProperty()) will show up inside the graphics node. A frozen row is very useful when applications want to show global events.

    Eventline

    Since:
    1.0
    • Constructor Detail

      • Eventline

        public Eventline​(Timeline timeline)
        Constructs a new eventline.
        Parameters:
        timeline - the parent timeline container
        Since:
        1.0
    • Method Detail

      • showFrozenRowProperty

        public final BooleanProperty showFrozenRowProperty()
      • isShowFrozenRow

        public final boolean isShowFrozenRow()
      • setShowFrozenRow

        public final void setShowFrozenRow​(boolean showFrozenRow)
      • getTimeline

        public final Timeline getTimeline()
      • frozenRowProperty

        public final ObjectProperty<Row<?,​?,​?>> frozenRowProperty()
      • getFrozenRow

        public final Row<?,​?,​?> getFrozenRow()
      • setFrozenRow

        public final void setFrozenRow​(Row<?,​?,​?> frozenRow)
      • getCursorLocation

        public final double getCursorLocation()
      • getCursorTime

        public final Instant getCursorTime()
      • showTimeCursorProperty

        public final BooleanProperty showTimeCursorProperty()
      • isShowTimeCursor

        public final boolean isShowTimeCursor()
      • setShowTimeCursor

        public final void setShowTimeCursor​(boolean show)
      • showDSTMarkerProperty

        public final BooleanProperty showDSTMarkerProperty()
      • isShowDSTMarker

        public final boolean isShowDSTMarker()
      • setShowDSTMarker

        public final void setShowDSTMarker​(boolean show)
      • setDateTimeFormatter

        public final void setDateTimeFormatter​(DateTimeFormatter formatter)
      • showMarkedTimeIntervalProperty

        public final BooleanProperty showMarkedTimeIntervalProperty()
      • isShowMarkedTimeInterval

        public final boolean isShowMarkedTimeInterval()
      • setShowMarkedTimeInterval

        public final void setShowMarkedTimeInterval​(boolean show)
      • setMarkedTimeInterval

        public final void setMarkedTimeInterval​(TimeInterval timeInterval)
      • getMarkedTimeInterval

        public final TimeInterval getMarkedTimeInterval()
      • getPropertySheetItems

        public final List<org.controlsfx.control.PropertySheet.Item> getPropertySheetItems()