Enum Class Display

java.lang.Object
java.lang.Enum<Display>
io.jmix.fullcalendarflowui.component.model.Display
All Implemented Interfaces:
EnumClass<String>, Serializable, Comparable<Display>, Constable

public enum Display extends Enum<Display> implements EnumClass<String>
Represents possible preset rendering styles that the event can use.
  • Enum Constant Details

    • AUTO

      public static final Display AUTO
      Component will render an event:
      • Day Grid view: as a solid rectangle if it is all-day or multi-day. If a timed event, will render it with a dot.
      • Other views: will render normally.
    • BLOCK

      public static final Display BLOCK
      Component will render an event:
      • Day Grid: as a solid rectangle.
      • Other views: will render normally.
    • LIST_ITEM

      public static final Display LIST_ITEM
      Component will render an event:
      • Day Grid: with a dot.
      • Other views: will render normally.
    • BACKGROUND

      public static final Display BACKGROUND
      Component will render an event as a background highlights.
    • INVERSE_BACKGROUND

      public static final Display INVERSE_BACKGROUND
      Component will render an event as a background highlights, but the specified time of event will not be occupied by an event.
    • NONE

      public static final Display NONE
      Component won’t render the event at all.
  • Method Details

    • values

      public static Display[] 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 Display 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
    • getId

      public String getId()
      Specified by:
      getId in interface EnumClass<String>
    • fromId

      @Nullable public static Display fromId(String id)
      Parameters:
      id - the ID of enum instance
      Returns:
      enum instance or null if there is no enum with the provided ID