Enum AgendaLayout.LayoutStrategy

java.lang.Object
java.lang.Enum<AgendaLayout.LayoutStrategy>
com.flexganttfx.model.layout.AgendaLayout.LayoutStrategy
All Implemented Interfaces:
Serializable, Comparable<AgendaLayout.LayoutStrategy>
Enclosing class:
AgendaLayout

public static enum AgendaLayout.LayoutStrategy
extends Enum<AgendaLayout.LayoutStrategy>
An enumerator for the different ways overlapping agenda entries can be laid out.
Since:
1.0
  • Enum Constant Details

    • OVERLAPPING

      public static final AgendaLayout.LayoutStrategy OVERLAPPING
      Intersecting agenda entries will be drawn on top of each other but with one of them being indented by a couple of pixels (see AgendaLayout.setOverlapOffset(double)).
      Since:
      1.0
    • PARALLEL

      public static final AgendaLayout.LayoutStrategy PARALLEL
      Intersecting agenda entries will be displayed in different columns within the same day.
      Since:
      1.0
    • PARALLEL_OVERLAPPING

      public static final AgendaLayout.LayoutStrategy PARALLEL_OVERLAPPING
      Intersecting agenda entries will be displayed in different columns within the same day but overlapping each other.
      Since:
      1.0
  • Method Details

    • values

      public static AgendaLayout.LayoutStrategy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AgendaLayout.LayoutStrategy valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null