Enum CalendarView.SelectionModel.SelectionMode
java.lang.Object
java.lang.Enum<CalendarView.SelectionModel.SelectionMode>
com.dlsc.gemsfx.CalendarView.SelectionModel.SelectionMode
- All Implemented Interfaces:
Serializable, Comparable<CalendarView.SelectionModel.SelectionMode>
- Enclosing class:
CalendarView.SelectionModel
public static enum CalendarView.SelectionModel.SelectionMode
extends Enum<CalendarView.SelectionModel.SelectionMode>
Defines how many dates can be selected.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUses a start date and an end date for range selection.Allows multiple individual selected dates.Allows at most one selected date. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SINGLE_DATE
Allows at most one selected date. -
MULTIPLE_DATES
Allows multiple individual selected dates. -
DATE_RANGE
Uses a start date and an end date for range selection.
-
-
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
-