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
.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "static".
public static final ReadOnlyDisplayAppearance READONLY
TextItem
for copy
and paste. Exact implementation may vary by form item type.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "readonly".
public static final ReadOnlyDisplayAppearance DISABLED
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "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