@OpenApiAll public enum DisplayMode extends java.lang.Enum<DisplayMode>
Enum Constant and Description |
---|
CUSTOM_TEXT
Custom text for referenced element shall be displayed
|
IMAGE_REPRESENTATION_TEXT
Element image and representation text shall be displayed for referenced element
|
NAME
The element name for referenced element shall be displayed
|
REPRESENTATION_TEXT
Element representation text for referenced element shall be displayed
|
Modifier and Type | Method and Description |
---|---|
static DisplayMode |
getDisplayMode(java.lang.String name) |
abstract java.lang.String |
getReferencedElementTextRepresentation(BaseElement element) |
abstract SmartListenerConfig |
getSmartListenerConfig(Element element) |
static DisplayMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayMode NAME
public static final DisplayMode IMAGE_REPRESENTATION_TEXT
public static final DisplayMode REPRESENTATION_TEXT
public static final DisplayMode CUSTOM_TEXT
public static DisplayMode[] values()
for (DisplayMode c : DisplayMode.values()) System.out.println(c);
public static DisplayMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@CheckForNull public abstract SmartListenerConfig getSmartListenerConfig(Element element)
public abstract java.lang.String getReferencedElementTextRepresentation(@CheckForNull BaseElement element)
public static DisplayMode getDisplayMode(java.lang.String name)