- 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
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 Details
-
STANDARD
Show the tree table view and the graphics view.- Since:
- 1.0
-
TABLE_ONLY
Only display the tree table view.- Since:
- 1.0
-
GRAPHICS_ONLY
Only display the graphics view.- Since:
- 1.0
-
-
Method Details
-
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
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
-