Klasse AgendaLayout

java.lang.Object
com.flexganttfx.model.Layout
com.flexganttfx.model.layout.AgendaLayout

public class AgendaLayout extends Layout
The agenda layout class is used to lay out activities in a style similar to a regular calendar where a vertical scale will display hours. Activities are used to represent appointments for a given day.

Note: Activities shown in agenda layout might be rendered several times. This is, for example, the case when an activity spans several days. Agenda Layout

Seit:
1.0
Siehe auch:
  • Eigenschaftsdetails

  • Konstruktordetails

    • AgendaLayout

      public AgendaLayout()
      Constructs a new agenda layout instance.
      Seit:
      1.0
  • Methodendetails

    • minLineSpacingProperty

      public final DoubleProperty minLineSpacingProperty()
      Stores the minimum space between two hour lines.
      Gibt zurück:
      the minimum space between hour lines
      Siehe auch:
    • setMinLineSpacing

      public final void setMinLineSpacing(double min)
      Sets the value of minLineSpacingProperty().
      Parameter:
      min - the minimum space between hour lines
    • getMinLineSpacing

      public final double getMinLineSpacing()
      Returns the value of minLineSpacingProperty().
      Gibt zurück:
      the minimum space between hour lines
    • startTimeProperty

      public final ObjectProperty<LocalTime> startTimeProperty()
      Returns the property used for storing the start time of the agenda. The start time is used for the vertical time scale. The default value of this property is LocalTime.MIN, which is equivalent to midnight.

      Agenda Scale

      Gibt zurück:
      the start time used for the agenda layout
      Seit:
      1.0
      Siehe auch:
    • getStartTime

      public final LocalTime getStartTime()
      Returns the value of the startTimeProperty().
      Gibt zurück:
      the agenda start time
      Seit:
      1.0
    • setStartTime

      public final void setStartTime(LocalTime time)
      Sets the value of the startTimeProperty().
      Parameter:
      time - the new agenda start time
      Seit:
      1.0
    • endTimeProperty

      public final ObjectProperty<LocalTime> endTimeProperty()
      Returns the property used for storing the end time of the agenda. The end time is used for the vertical time scale. The default value of this property is LocalTime.MAX, which is equivalent to the time just before midnight.

      Agenda Scale

      Gibt zurück:
      the start time used for the agenda layout
      Seit:
      1.0
      Siehe auch:
    • getEndTime

      public final LocalTime getEndTime()
      Returns the value of the endTimeProperty().
      Gibt zurück:
      the agenda end time
      Seit:
      1.0
    • setEndTime

      public final void setEndTime(LocalTime time)
      Sets the value of endTimeProperty().
      Parameter:
      time - the new agenda end time
      Seit:
      1.0
    • minDurationProperty

      public final ObjectProperty<Duration> minDurationProperty()
      A property used to store the minimum duration of activities in the agenda layout.
      Gibt zurück:
      the minimum duration of activities
      Seit:
      1.0
      Siehe auch:
    • getMinDuration

      public final Duration getMinDuration()
      Returns the value of the minDurationProperty().
      Gibt zurück:
      the minimum duration of agenda activities
      Seit:
      1.0
    • setMinDuration

      public final void setMinDuration(Duration duration)
      Sets the value of the minDurationProperty().
      Parameter:
      duration - the new minimum duration of agenda activities
      Seit:
      1.0
    • layoutStrategyProperty

      public final ObjectProperty<AgendaLayout.LayoutStrategy> layoutStrategyProperty()
      The property used to store the strategy that will be applied when the time intervals of activities in agenda layout intersect with each other. The strategy determines if the overlapping activities will be drawn on top of each other or in parallel (swim lanes).
      Gibt zurück:
      the layout strategy property
      Seit:
      1.0
      Siehe auch:
    • getLayoutStrategy

      public final AgendaLayout.LayoutStrategy getLayoutStrategy()
      Returns the value of the layoutStrategyProperty().
      Gibt zurück:
      the currently used layout strategy
      Seit:
      1.0
    • setLayoutStrategy

      public final void setLayoutStrategy(AgendaLayout.LayoutStrategy strategy)
      Sets the value of the layoutStrategyProperty().
      Parameter:
      strategy - the layout strategy to use
      Seit:
      1.0
    • overlapOffsetProperty

      public final DoubleProperty overlapOffsetProperty()
      A property used to store an offset value between 0 and .5 that is used to indent activities when they overlap each other. The value must be between 0 and .5, which will be interpreted as a percentage of the width of the agenda entries. A value of .5 indicates that half the width of an entry will be overlapped by another one.
      Gibt zurück:
      the offset in pixels
      Seit:
      1.0
      Siehe auch:
    • setOverlapOffset

      public final void setOverlapOffset(double offset)
      Sets the value of overlapOffsetProperty(). The value must be between 0 and .5, which will be interpreted as a percentage of the width of the agenda entries. A value of .5 indicates that half the width of an entry will be overlapped by another one.
      Parameter:
      offset - the offset in pixels
      Seit:
      1.0
    • getOverlapOffset

      public final double getOverlapOffset()
      Returns the value of overlapOffsetProperty().
      Gibt zurück:
      the offset in pixels
      Seit:
      1.0
    • isSupportingHorizontalCursorLine

      public boolean isSupportingHorizontalCursorLine()
      Beschreibung aus Klasse kopiert: Layout
      Determines if the UI should be able to show a horizontal cursor line. Currently only the ChartLayout and the AgendaLayout support this.
      Angegeben von:
      isSupportingHorizontalCursorLine in Klasse Layout
      Gibt zurück:
      true if a horizontal cursor line makes sense
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object