Enum GanttChart.DisplayMode

java.lang.Object
java.lang.Enum<GanttChart.DisplayMode>
com.flexganttfx.view.GanttChart.DisplayMode
All Implemented Interfaces:
Serializable, Comparable<GanttChart.DisplayMode>
Enclosing class:
GanttChart<R extends Row<?,​?,​?>>

public static enum GanttChart.DisplayMode
extends Enum<GanttChart.DisplayMode>
An enum used for specifying how to layout the Gantt chart.
Since:
1.0
See Also:
GanttChart.setDisplayMode(DisplayMode)
  • Enum Constant Details

    • STANDARD

      public static final GanttChart.DisplayMode STANDARD
      Show the tree table view and the graphics view.
      Since:
      1.0
    • TABLE_ONLY

      public static final GanttChart.DisplayMode TABLE_ONLY
      Only display the tree table view.
      Since:
      1.0
    • GRAPHICS_ONLY

      public static final GanttChart.DisplayMode GRAPHICS_ONLY
      Only display the graphics view.
      Since:
      1.0
  • Method Details

    • values

      public static GanttChart.DisplayMode[] 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 GanttChart.DisplayMode 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