Package com.evolveum.midpoint.prism
Enum Class DisplayHint
- All Implemented Interfaces:
Serializable
,Comparable<DisplayHint>
,Constable
Enumeration for "display" annotation.
"display" annotation enumeration also replaces emphasized=true.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionItem should be visible and collapsed.Item should be visible and emphasized.Item should be visible and expanded.Item shouldn't be visible.Item should be visible, standard visibility behaviour for item. -
Method Summary
Modifier and TypeMethodDescriptionstatic DisplayHint
findByValue
(String value) getValue()
static DisplayHint
Returns the enum constant of this class with the specified name.static DisplayHint[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HIDDEN
Item shouldn't be visible. -
REGULAR
Item should be visible, standard visibility behaviour for item. -
EMPHASIZED
Item should be visible and emphasized. E.g. it should be displayed in bold. -
COLLAPSED
Item should be visible and collapsed. E.g. it should be displayed in collapsed form. Applicable only for containers. -
EXPANDED
Item should be visible and expanded. E.g. it should be displayed in expanded form. Applicable only for containers.
-
-
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
-
findByValue
-
getValue
-