Module is.codion.swing.common.ui
Enum Class CalendarPanel.KeyboardShortcut
java.lang.Object
java.lang.Enum<CalendarPanel.KeyboardShortcut>
is.codion.swing.common.ui.component.calendar.CalendarPanel.KeyboardShortcut
- All Implemented Interfaces:
Serializable
,Comparable<CalendarPanel.KeyboardShortcut>
,Constable
- Enclosing class:
- CalendarPanel
The available keyboard shortcuts.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSelect the next day.Select the next hour.Select the next minute.Select the next month.Select the next week.Select the next year.Select the previous day.Select the previous hour.Select the previous minute.Select the previous month.Select the previous week.Select the previous year. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CalendarPanel.KeyboardShortcut[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PREVIOUS_YEAR
Select the previous year. -
NEXT_YEAR
Select the next year. -
PREVIOUS_MONTH
Select the previous month. -
NEXT_MONTH
Select the next month. -
PREVIOUS_WEEK
Select the previous week. -
NEXT_WEEK
Select the next week. -
PREVIOUS_DAY
Select the previous day. -
NEXT_DAY
Select the next day. -
PREVIOUS_HOUR
Select the previous hour. -
NEXT_HOUR
Select the next hour. -
PREVIOUS_MINUTE
Select the previous minute. -
NEXT_MINUTE
Select the next minute.
-
-
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
-