java.lang.Object
java.lang.Enum<DayNameFormat>
org.vaadin.addons.componentfactory.schedulexcalendar.util.DayNameFormat
All Implemented Interfaces:
Serializable, Comparable<DayNameFormat>, java.lang.constant.Constable

public enum DayNameFormat extends Enum<DayNameFormat>
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).
  • Enum Constant Details

    • SHORT

      public static final DayNameFormat SHORT
      Display day names in short format (e.g., "Mon")
    • LONG

      public static final DayNameFormat LONG
      Display day names in long format (e.g., "Monday")
    • NARROW

      public static final DayNameFormat NARROW
      Display day names in narrow format (e.g., "M")
  • Method Details

    • values

      public static DayNameFormat[] 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

      public static DayNameFormat valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Gets the string value.
      Returns:
      the string representation of this format