Package org.daypilot.ui.enums.gantt
Enum TaskGroupMode
- java.lang.Object
-
- java.lang.Enum<TaskGroupMode>
-
- org.daypilot.ui.enums.gantt.TaskGroupMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TaskGroupMode>
,java.lang.constant.Constable
public enum TaskGroupMode extends java.lang.Enum<TaskGroupMode>
-
-
Method Summary
Modifier and Type Method Description static TaskGroupMode
fromString(java.lang.String id)
java.lang.String
toString()
static TaskGroupMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TaskGroupMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final TaskGroupMode AUTO
-
MANUAL
public static final TaskGroupMode MANUAL
-
-
Method Detail
-
values
public static TaskGroupMode[] 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 TaskGroupMode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static TaskGroupMode fromString(java.lang.String id)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<TaskGroupMode>
-
-