- 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 Summary
Enum Constants Enum Constant Description GRAPHICS_ONLY
Only display the graphics view.STANDARD
Show the tree table view and the graphics view.TABLE_ONLY
Only display the tree table view.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GanttChart.DisplayMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static GanttChart.DisplayMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static GanttChart.DisplayMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GanttChart.DisplayMode c : GanttChart.DisplayMode.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
-