public enum DisabledUpdateMode extends Enum<DisabledUpdateMode>
Element.setEnabled(boolean)
,
Element.isEnabled()
,
HasEnabled.setEnabled(boolean)
,
HasEnabled.isEnabled()
Enum Constant and Description |
---|
ALWAYS
If used then updates from the client side are allowed even for disabled
element.
|
ONLY_WHEN_ENABLED
If used then updates from the client side are allowed only if element is
enabled.
|
Modifier and Type | Method and Description |
---|---|
static DisabledUpdateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisabledUpdateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisabledUpdateMode ALWAYS
public static final DisabledUpdateMode ONLY_WHEN_ENABLED
public static DisabledUpdateMode[] values()
for (DisabledUpdateMode c : DisabledUpdateMode.values()) System.out.println(c);
public static DisabledUpdateMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.