Enum Class Display
- All Implemented Interfaces:
EnumClass<String>
,Serializable
,Comparable<Display>
,Constable
Represents possible preset rendering styles that the event can use.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionComponent will render an event: Day Grid view: as a solid rectangle if it is all-day or multi-day.Component will render an event as a background highlights.Component will render an event: Day Grid: as a solid rectangle.Component will render an event as a background highlights, but the specified time of event will not be occupied by an event.Component will render an event: Day Grid: with a dot.Component won’t render the event at all. -
Method Summary
-
Enum Constant Details
-
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
Component will render an event:- Day Grid: as a solid rectangle.
- Other views: will render normally.
-
LIST_ITEM
Component will render an event:- Day Grid: with a dot.
- Other views: will render normally.
-
BACKGROUND
Component will render an event as a background highlights. -
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
Component won’t render the event at all.
-
-
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
-
getId
-
fromId
- Parameters:
id
- the ID of enum instance- Returns:
- enum instance or
null
if there is no enum with the provided ID
-