Package groovy.util

# Class ObservableMap.PropertyClearedEvent

java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
groovy.util.ObservableMap.PropertyEvent
groovy.util.ObservableMap.PropertyClearedEvent

All Implemented Interfaces:
  `Serializable`

Enclosing class:
  ObservableMap

public static class ObservableMap.PropertyClearedEvent extends ObservableMap.PropertyEvent
Event fired when the map is cleared.

See Also:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class java.util.EventObject

  `source`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PropertyClearedEvent(Object source, Map values)`
  Creates a map-cleared event.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Map`
  `getValues()`
  Returns the removed entries.

  ### Methods inherited from class groovy.util.ObservableMap.PropertyEvent

  `getChangeType, getType, getTypeAsString`

  ### Methods inherited from class java.beans.PropertyChangeEvent

  `getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toString`

  ### Methods inherited from class java.util.EventObject

  `getSource`

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

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### PropertyClearedEvent

    public PropertyClearedEvent(Object source, Map values)
    Creates a map-cleared event.
    Parameters:
      `source` - the event source
      `values` - the removed entries

- ## Method Details

  - ### getValues

    public Map getValues()
    Returns the removed entries.
    Returns:
      an unmodifiable view of removed entries