Enum Class DayNameFormat
java.lang.Object
java.lang.Enum<DayNameFormat>
org.vaadin.addons.componentfactory.schedulexcalendar.util.DayNameFormat
- All Implemented Interfaces:
Serializable,Comparable<DayNameFormat>,java.lang.constant.Constable
Enumeration for day name format options in the resource scheduler.
Configures how day names are displayed in the daily view.
When not set (null), day names are disabled (equivalent to false).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Gets the string value.static DayNameFormatReturns the enum constant of this class with the specified name.static DayNameFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SHORT
Display day names in short format (e.g., "Mon") -
LONG
Display day names in long format (e.g., "Monday") -
NARROW
Display day names in narrow format (e.g., "M")
-
-
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
-
getValue
Gets the string value.- Returns:
- the string representation of this format
-