Klasse Eventline

Alle implementierten Schnittstellen:
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

Seit:
1.0
  • Eigenschaftsdetails

  • Konstruktordetails

    • Eventline

      public Eventline(Timeline timeline)
      Constructs a new eventline.
      Parameter:
      timeline - the parent timeline container
      Seit:
      1.0
  • Methodendetails

    • createDefaultSkin

      protected Skin<?> createDefaultSkin()
      Creates the default skin for the event line control.
      Setzt außer Kraft:
      createDefaultSkin in Klasse Control
      Gibt zurück:
      the default skin
    • getUserAgentStylesheet

      public String getUserAgentStylesheet()
      Returns the user agent stylesheet for the event line control.
      Setzt außer Kraft:
      getUserAgentStylesheet in Klasse Region
      Gibt zurück:
      the stylesheet URL
    • getGraphics

      public final SingleRowGraphics<Row<?,?,?>> getGraphics()
      Returns the graphics view shown inside the event line.
      Gibt zurück:
      the embedded graphics view
    • 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.
      Gibt zurück:
      the row header title
      Seit:
      11.11.0
      Siehe auch:
    • getRowHeaderTitle

      public final String getRowHeaderTitle()
      Ruft den Wert der rowHeaderTitle-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      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.
      Gibt zurück:
      Wert der Eigenschaft rowHeaderTitle
      Seit:
      11.11.0
      Siehe auch:
    • setRowHeaderTitle

      public final void setRowHeaderTitle(String rowHeaderTitle)
      Legt den Wert der rowHeaderTitle-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      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.
      Parameter:
      rowHeaderTitle - Wert für die Eigenschaft rowHeaderTitle
      Seit:
      11.11.0
      Siehe auch:
    • getTimeline

      public final Timeline getTimeline()
      Returns the timeline used by the event line.
      Gibt zurück:
      the timeline
    • frozenRowProperty

      public final ObjectProperty<Row<?,?,?>> frozenRowProperty()
      The frozenRow property. Stores the row currently pinned in the event line.
      Gibt zurück:
      the frozenRow property
      Siehe auch:
    • getFrozenRow

      public final Row<?,?,?> getFrozenRow()
      Ruft den Wert der frozenRow-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The frozenRow property. Stores the row currently pinned in the event line.
      Gibt zurück:
      Wert der Eigenschaft frozenRow
      Siehe auch:
    • setFrozenRow

      public final void setFrozenRow(Row<?,?,?> frozenRow)
      Legt den Wert der frozenRow-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The frozenRow property. Stores the row currently pinned in the event line.
      Parameter:
      frozenRow - Wert für die Eigenschaft frozenRow
      Siehe auch:
    • cursorLocationProperty

      public final ReadOnlyDoubleProperty cursorLocationProperty()
      The cursorLocation property. Exposes the horizontal location of the time cursor.
      Gibt zurück:
      the cursorLocation property
      Siehe auch:
    • getCursorLocation

      public final double getCursorLocation()
      Ruft den Wert der cursorLocation-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The cursorLocation property. Exposes the horizontal location of the time cursor.
      Gibt zurück:
      Wert der Eigenschaft cursorLocation
      Siehe auch:
    • cursorTimeProperty

      public final ReadOnlyObjectProperty<Instant> cursorTimeProperty()
      The cursorTime property. Exposes the time shown by the time cursor.
      Gibt zurück:
      the cursorTime property
      Siehe auch:
    • getCursorTime

      public final Instant getCursorTime()
      Ruft den Wert der cursorTime-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The cursorTime property. Exposes the time shown by the time cursor.
      Gibt zurück:
      Wert der Eigenschaft cursorTime
      Siehe auch:
    • showTimeCursorProperty

      public final BooleanProperty showTimeCursorProperty()
      The showTimeCursor property. Controls whether the time cursor is shown.
      Gibt zurück:
      the showTimeCursor property
      Siehe auch:
    • isShowTimeCursor

      public final boolean isShowTimeCursor()
      Ruft den Wert der showTimeCursor-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The showTimeCursor property. Controls whether the time cursor is shown.
      Gibt zurück:
      Wert der Eigenschaft showTimeCursor
      Siehe auch:
    • setShowTimeCursor

      public final void setShowTimeCursor(boolean show)
      Legt den Wert der showTimeCursor-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The showTimeCursor property. Controls whether the time cursor is shown.
      Parameter:
      show - Wert für die Eigenschaft showTimeCursor
      Siehe auch:
    • showDSTMarkerProperty

      public final BooleanProperty showDSTMarkerProperty()
      The showDSTMarker property. Controls whether daylight-saving markers are shown.
      Gibt zurück:
      the showDSTMarker property
      Siehe auch:
    • isShowDSTMarker

      public final boolean isShowDSTMarker()
      Ruft den Wert der showDSTMarker-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The showDSTMarker property. Controls whether daylight-saving markers are shown.
      Gibt zurück:
      Wert der Eigenschaft showDSTMarker
      Siehe auch:
    • setShowDSTMarker

      public final void setShowDSTMarker(boolean show)
      Legt den Wert der showDSTMarker-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The showDSTMarker property. Controls whether daylight-saving markers are shown.
      Parameter:
      show - Wert für die Eigenschaft showDSTMarker
      Siehe auch:
    • dateTimeFormatterProperty

      public final ObjectProperty<DateTimeFormatter> dateTimeFormatterProperty()
      The dateTimeFormatter property. Stores the formatter used for event line time labels.
      Gibt zurück:
      the dateTimeFormatter property
      Siehe auch:
    • getDateTimeFormatter

      public final DateTimeFormatter getDateTimeFormatter()
      Ruft den Wert der dateTimeFormatter-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The dateTimeFormatter property. Stores the formatter used for event line time labels.
      Gibt zurück:
      Wert der Eigenschaft dateTimeFormatter
      Siehe auch:
    • setDateTimeFormatter

      public final void setDateTimeFormatter(DateTimeFormatter formatter)
      Legt den Wert der dateTimeFormatter-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The dateTimeFormatter property. Stores the formatter used for event line time labels.
      Parameter:
      formatter - Wert für die Eigenschaft dateTimeFormatter
      Siehe auch:
    • showMarkedTimeIntervalProperty

      public final BooleanProperty showMarkedTimeIntervalProperty()
      The showMarkedTimeInterval property. Controls whether the marked interval is shown.
      Gibt zurück:
      the showMarkedTimeInterval property
      Siehe auch:
    • isShowMarkedTimeInterval

      public final boolean isShowMarkedTimeInterval()
      Ruft den Wert der showMarkedTimeInterval-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The showMarkedTimeInterval property. Controls whether the marked interval is shown.
      Gibt zurück:
      Wert der Eigenschaft showMarkedTimeInterval
      Siehe auch:
    • setShowMarkedTimeInterval

      public final void setShowMarkedTimeInterval(boolean show)
      Legt den Wert der showMarkedTimeInterval-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The showMarkedTimeInterval property. Controls whether the marked interval is shown.
      Parameter:
      show - Wert für die Eigenschaft showMarkedTimeInterval
      Siehe auch:
    • markedTimeIntervalProperty

      public final ObjectProperty<TimeInterval> markedTimeIntervalProperty()
      The markedTimeInterval property. Stores the interval highlighted in the event line.
      Gibt zurück:
      the markedTimeInterval property
      Siehe auch:
    • getMarkedTimeInterval

      public final TimeInterval getMarkedTimeInterval()
      Ruft den Wert der markedTimeInterval-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The markedTimeInterval property. Stores the interval highlighted in the event line.
      Gibt zurück:
      Wert der Eigenschaft markedTimeInterval
      Siehe auch:
    • setMarkedTimeInterval

      public final void setMarkedTimeInterval(TimeInterval timeInterval)
      Legt den Wert der markedTimeInterval-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The markedTimeInterval property. Stores the interval highlighted in the event line.
      Parameter:
      timeInterval - Wert für die Eigenschaft markedTimeInterval
      Siehe auch: