public enum ReadOnlyDisplayAppearance extends java.lang.Enum<ReadOnlyDisplayAppearance> implements ValueEnum
canEdit
is set to false
.Enum Constant and Description |
---|
DISABLED
Item will appear disabled.
|
READONLY
Item should appear unchanged, but user interaction to edit the item will be disallowed.
|
STATIC
Item value should appear within the form as a static block of text, similar to the default appearance of a
StaticTextItem . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ReadOnlyDisplayAppearance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadOnlyDisplayAppearance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadOnlyDisplayAppearance STATIC
StaticTextItem
. This appearance may be modified via readOnlyTextBoxStyle
and clipStaticValue
.public static final ReadOnlyDisplayAppearance READONLY
TextItem
for copy
and paste. Exact implementation may vary by form item type.public static final ReadOnlyDisplayAppearance DISABLED
public static ReadOnlyDisplayAppearance[] values()
for (ReadOnlyDisplayAppearance c : ReadOnlyDisplayAppearance.values()) System.out.println(c);
public static ReadOnlyDisplayAppearance 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