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

      • rowHeaderTitleProperty

        public final StringProperty rowHeaderTitleProperty()
        Stores the title text used for the row header "column" on the right-hand side. The header can also be completely replaced by retrieving the graphics from the eventline and registering a new row header factory on it.
        Returns:
        the row header title
        Since:
        11.11.0
        See Also:
        getGraphics(), GraphicsBase.setRowHeaderFactory(Callback)
      • getRowHeaderTitle

        public final String getRowHeaderTitle()
      • setRowHeaderTitle

        public final void setRowHeaderTitle​(String rowHeaderTitle)
      • 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)
      • getMarkedTimeInterval

        public final TimeInterval getMarkedTimeInterval()
      • setMarkedTimeInterval

        public final void setMarkedTimeInterval​(TimeInterval timeInterval)