Enum DatePickerSettings.DateArea
java.lang.Object
java.lang.Enum<DatePickerSettings.DateArea>
com.github.lgooddatepicker.components.DatePickerSettings.DateArea
- All Implemented Interfaces:
Serializable
,Comparable<DatePickerSettings.DateArea>
,java.lang.constant.Constable
- Enclosing class:
- DatePickerSettings
DateArea, These enumerations represent areas of the components whose color can be changed.
These values are used with the setColor() function, to set the color of various areas of the
DatePicker or the CalendarPanel. The default color for each area is also defined here.
Note: The text color of disabled (vetoed) dates in the calendar will always be grey (cannot
be modified). This seems to be enforced by the swing setEnabled() function.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic DatePickerSettings.DateArea
Returns the enum constant of this type with the specified name.static DatePickerSettings.DateArea[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BackgroundClearLabel
-
BackgroundMonthAndYearMenuLabels
-
BackgroundCalendarPanelLabelsOnHover
-
BackgroundOverallCalendarPanel
-
BackgroundTodayLabel
-
BackgroundTopLeftLabelAboveWeekNumbers
-
CalendarBackgroundNormalDates
-
CalendarBackgroundSelectedDate
-
CalendarBackgroundVetoedDates
-
CalendarBorderSelectedDate
-
CalendarDefaultBackgroundHighlightedDates
-
CalendarDefaultTextHighlightedDates
-
CalendarTextNormalDates
-
CalendarTextWeekdays
-
CalendarTextWeekNumbers
-
TextClearLabel
-
TextMonthAndYearMenuLabels
-
TextTodayLabel
-
TextCalendarPanelLabelsOnHover
-
TextFieldBackgroundDisallowedEmptyDate
-
TextFieldBackgroundInvalidDate
-
TextFieldBackgroundValidDate
-
TextFieldBackgroundVetoedDate
-
TextFieldBackgroundDisabled
-
DatePickerTextInvalidDate
-
DatePickerTextValidDate
-
DatePickerTextVetoedDate
-
DatePickerTextDisabled
-
-
Field Details
-
defaultColor
-
-
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
-