Package org.apache.groovy.swing.binding
Enum PropertyBinding.UpdateStrategy
- java.lang.Object
-
- java.lang.Enum<PropertyBinding.UpdateStrategy>
-
- org.apache.groovy.swing.binding.PropertyBinding.UpdateStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<PropertyBinding.UpdateStrategy>
- Enclosing class:
- PropertyBinding
public static enum PropertyBinding.UpdateStrategy extends Enum<PropertyBinding.UpdateStrategy>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyBinding.UpdateStrategy
of(String str)
static PropertyBinding.UpdateStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropertyBinding.UpdateStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MIXED
public static final PropertyBinding.UpdateStrategy MIXED
-
ASYNC
public static final PropertyBinding.UpdateStrategy ASYNC
-
SYNC
public static final PropertyBinding.UpdateStrategy SYNC
-
SAME
public static final PropertyBinding.UpdateStrategy SAME
-
OUTSIDE
public static final PropertyBinding.UpdateStrategy OUTSIDE
-
DEFER
public static final PropertyBinding.UpdateStrategy DEFER
-
-
Method Detail
-
values
public static PropertyBinding.UpdateStrategy[] 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 (PropertyBinding.UpdateStrategy c : PropertyBinding.UpdateStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyBinding.UpdateStrategy valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
of
public static PropertyBinding.UpdateStrategy of(String str)
-
-