Enum CDT.PickerType
- java.lang.Object
-
- java.lang.Enum<CDT.PickerType>
-
- org.eclipse.nebula.widgets.cdatetime.CDT.PickerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CDT.PickerType>
- Enclosing class:
- CDT
public static enum CDT.PickerType extends java.lang.Enum<CDT.PickerType>
- Since:
- 1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AnalogTime
Date
DateTime
DiscreteTime
-
Constructor Summary
Constructors Modifier Constructor Description private
PickerType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CDT.PickerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CDT.PickerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AnalogTime
public static final CDT.PickerType AnalogTime
-
Date
public static final CDT.PickerType Date
-
DateTime
public static final CDT.PickerType DateTime
-
DiscreteTime
public static final CDT.PickerType DiscreteTime
-
-
Method Detail
-
values
public static CDT.PickerType[] 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 (CDT.PickerType c : CDT.PickerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CDT.PickerType 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
-
-