Package org.apache.pivot.wtk
Enum BindType
- java.lang.Object
-
- java.lang.Enum<BindType>
-
- org.apache.pivot.wtk.BindType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTH
The binding will be process for bothComponent.load(Object)
andComponent.store(Object)
operations.LOAD
The binding will only be processed forComponent.load(Object)
operations.STORE
The binding will only be processed forComponent.store(Object)
operations.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BindType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BindType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOAD
public static final BindType LOAD
The binding will only be processed forComponent.load(Object)
operations.
-
STORE
public static final BindType STORE
The binding will only be processed forComponent.store(Object)
operations.
-
BOTH
public static final BindType BOTH
The binding will be process for bothComponent.load(Object)
andComponent.store(Object)
operations.
-
-
Method Detail
-
values
public static BindType[] 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 (BindType c : BindType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BindType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-