Enum Class PropertyBinding.UpdateStrategy

java.lang.Object
java.lang.Enum<PropertyBinding.UpdateStrategy>
org.apache.groovy.swing.binding.PropertyBinding.UpdateStrategy
All Implemented Interfaces:
Serializable, Comparable<PropertyBinding.UpdateStrategy>, Constable
Enclosing class:
PropertyBinding

public static enum PropertyBinding.UpdateStrategy extends Enum<PropertyBinding.UpdateStrategy>
Defines the thread on which target updates should run.
  • Enum Constant Details

  • Method Details

    • values

      public static PropertyBinding.UpdateStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PropertyBinding.UpdateStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static PropertyBinding.UpdateStrategy of(String str)
      Resolves an update strategy name.
      Parameters:
      str - the strategy name
      Returns:
      the matching strategy, or null when the name is not recognized