- java.lang.Object
-
- java.lang.Enum<GanttChart.RowHeaderType>
-
- com.flexganttfx.view.GanttChart.RowHeaderType
-
- 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.- Since:
- 1.0
- See Also:
RowHeader
,GanttChart.setRowHeaderType(RowHeaderType)
,GanttChart.setRowHeaderNodeFactory(Callback)
-
-
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
All Methods Static Methods Concrete Methods 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 Detail
-
ROW_NUMBER
public static final GanttChart.RowHeaderType ROW_NUMBER
Makes the row header cells display the number of the current row (1, 2, 3, ....).- Since:
- 1.0
-
LEVEL_NUMBER
public static final GanttChart.RowHeaderType 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
public static final GanttChart.RowHeaderType GRAPHIC_NODE
Makes the row header cells display a custom node for each row.- Since:
- 1.0
- See Also:
GanttChart.setRowHeaderNodeFactory(Callback)
-
-
Method Detail
-
values
public static GanttChart.RowHeaderType[] 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.RowHeaderType c : GanttChart.RowHeaderType.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.RowHeaderType 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
-
-