Package groovy.util

# Enum Class ObservableMap.ChangeType

java.lang.Object
java.lang.Enum<ObservableMap.ChangeType>
groovy.util.ObservableMap.ChangeType

All Implemented Interfaces:
  `Serializable`, `Comparable<ObservableMap.ChangeType>`, `Constable`

Enclosing class:
  ObservableMap

public static enum ObservableMap.ChangeType extends Enum<ObservableMap.ChangeType>
Enumerates the specialized map change events.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `ADDED`
  A property was added.
  `CLEARED`
  The map was cleared.
  `MULTI`
  Multiple property changes were aggregated.
  `NONE`
  No specialized change type applies.
  `REMOVED`
  A property was removed.
  `UPDATED`
  A property was updated.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final Object`
  `newValue`
  Placeholder new value for aggregated events.
  `static final Object`
  `oldValue`
  Placeholder old value for aggregated events.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static ObservableMap.ChangeType`
  `resolve(int ordinal)`
  Resolves an enum constant from its ordinal.
  `static ObservableMap.ChangeType`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ObservableMap.ChangeType[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### ADDED

    public static final ObservableMap.ChangeType ADDED
    A property was added.

  - ### UPDATED

    public static final ObservableMap.ChangeType UPDATED
    A property was updated.

  - ### REMOVED

    public static final ObservableMap.ChangeType REMOVED
    A property was removed.

  - ### CLEARED

    public static final ObservableMap.ChangeType CLEARED
    The map was cleared.

  - ### MULTI

    public static final ObservableMap.ChangeType MULTI
    Multiple property changes were aggregated.

  - ### NONE

    public static final ObservableMap.ChangeType NONE
    No specialized change type applies.

- ## Field Details

  - ### oldValue

    public static final Object oldValue
    Placeholder old value for aggregated events.

  - ### newValue

    public static final Object newValue
    Placeholder new value for aggregated events.

- ## Method Details

  - ### values

    public static ObservableMap.ChangeType[] 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 ObservableMap.ChangeType 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

  - ### resolve

    public static ObservableMap.ChangeType resolve(int ordinal)
    Resolves an enum constant from its ordinal.
    Parameters:
      `ordinal` - the serialized ordinal value
    Returns:
      the matching change type