Enum BindReadOnly.ReadOnlyType
- java.lang.Object
-
- java.lang.Enum<BindReadOnly.ReadOnlyType>
-
- org.linkki.core.ui.aspects.annotation.BindReadOnly.ReadOnlyType
-
- All Implemented Interfaces:
Serializable,Comparable<BindReadOnly.ReadOnlyType>
- Enclosing class:
- BindReadOnly
public static enum BindReadOnly.ReadOnlyType extends Enum<BindReadOnly.ReadOnlyType>
The type how the read-only state of an UI component is bound.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BindReadOnly.ReadOnlyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BindReadOnly.ReadOnlyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final BindReadOnly.ReadOnlyType ALWAYS
Always displays as read-only.
-
DERIVED
public static final BindReadOnly.ReadOnlyType DERIVED
Behavior as it would be without this annotation.
-
DYNAMIC
public static final BindReadOnly.ReadOnlyType DYNAMIC
Looks for a method "is[PropertyName]ReadOnly()" to determine if it is read-only.
-
-
Method Detail
-
values
public static BindReadOnly.ReadOnlyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BindReadOnly.ReadOnlyType c : BindReadOnly.ReadOnlyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BindReadOnly.ReadOnlyType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-