- All Implemented Interfaces:
Serializable
,Comparable<GanttChart.RowHeaderType>
- Enclosing class:
- GanttChart<R extends Row<?,?,?>>
public static enum GanttChart.RowHeaderType extends Enum<GanttChart.RowHeaderType>
An enum used to control the visuals of the cells in the row header
column.
-
Enum Constant Summary
Enum Constants Enum Constant Description GRAPHIC_NODE
Makes the row header cells display a custom node for each row.LEVEL_NUMBER
Makes the row header cells display the level number of the current row (1, 1.1, 1.2, 2, 2.1, 2.2, 2.3, ...).ROW_NUMBER
Makes the row header cells display the number of the current row (1, 2, 3, ....). -
Method Summary
Modifier and Type Method Description static GanttChart.RowHeaderType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GanttChart.RowHeaderType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ROW_NUMBER
Makes the row header cells display the number of the current row (1, 2, 3, ....).- Since:
- 1.0
-
LEVEL_NUMBER
Makes the row header cells display the level number of the current row (1, 1.1, 1.2, 2, 2.1, 2.2, 2.3, ...).- Since:
- 1.0
-
GRAPHIC_NODE
Makes the row header cells display a custom node for each row.- Since:
- 1.0
- See Also:
GanttChart.setRowHeaderNodeFactory(Callback)
-
-
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
-