Enum Class DisplayMode
- All Implemented Interfaces:
Serializable
,Comparable<DisplayMode>
,Constable
The display mode is used to determine how an element reference will be displayed in text
-
Enum Constant Summary
Enum ConstantDescriptionCustom text for referenced element shall be displayedElement image and representation text shall be displayed for referenced elementThe element name for referenced element shall be displayedElement representation text for referenced element shall be displayed -
Method Summary
Modifier and TypeMethodDescriptionstatic DisplayMode
getDisplayMode
(String name) abstract String
abstract SmartListenerConfig
getSmartListenerConfig
(Element element) static DisplayMode
Returns the enum constant of this class with the specified name.static DisplayMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
The element name for referenced element shall be displayed -
IMAGE_REPRESENTATION_TEXT
Element image and representation text shall be displayed for referenced element -
REPRESENTATION_TEXT
Element representation text for referenced element shall be displayed -
CUSTOM_TEXT
Custom text for referenced element shall be displayed
-
-
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
-
getSmartListenerConfig
-
getReferencedElementTextRepresentation
-
getDisplayMode
-