|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ValidationResult.Action>
javax.beans.binding.ValidationResult.Action
public static enum ValidationResult.Action
An enumeration of the action the Binding should take.
| Enum Constant Summary | |
|---|---|
DO_NOTHING
Indicates the Binding should do nothing in response
to this ValidationResult. |
|
SET_TARGET_FROM_SOURCE
Indicates the Binding should revert the target value
by setting it from the source value. |
|
| Method Summary | |
|---|---|
static ValidationResult.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ValidationResult.Action[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ValidationResult.Action DO_NOTHING
Binding should do nothing in response
to this ValidationResult. That results in leaving
the target state INVALID.
public static final ValidationResult.Action SET_TARGET_FROM_SOURCE
Binding should revert the target value
by setting it from the source value. Care must be taken when
specifying this action. It implies a level of reentrancy in setting
values that not all objects are designed to deal with.
| Method Detail |
|---|
public static final ValidationResult.Action[] values()
for(ValidationResult.Action c : ValidationResult.Action.values())
System.out.println(c);
public static ValidationResult.Action 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 name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||