Enum Class DropDownPosition
- All Implemented Interfaces:
Serializable
,Comparable<DropDownPosition>
,Constable
The position of the
DatePicker
and DateRangePicker
dropdown calendar- Since:
- 4.0
- Author:
- JBStrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe calendar will be in the middle of the input field, in theDatePicker
andDateRangePicker
components.The calendar will be on the left side of the input field, in theDatePicker
andDateRangePicker
components.The calendar will be on the right side of the input field, in theDatePicker
andDateRangePicker
components. -
Method Summary
Modifier and TypeMethodDescriptionprotected static DropDownPosition
protected String
static DropDownPosition
Returns the enum constant of this class with the specified name.static DropDownPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEFT
The calendar will be on the left side of the input field, in theDatePicker
andDateRangePicker
components. -
RIGHT
The calendar will be on the right side of the input field, in theDatePicker
andDateRangePicker
components. -
CENTER
The calendar will be in the middle of the input field, in theDatePicker
andDateRangePicker
components.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getJSPosition
- Returns:
- The JS parameter value of the position
-
fromName
- Parameters:
name
- The name of the position which is to be found- Returns:
- The position corresponding to the specified name or
null
, if not found
-