Package: groovy.util

## [Java] Class ObservableList.ElementClearedEvent

- groovy.util.ObservableList.ElementClearedEvent

-     public static class ObservableList.ElementClearedEvent
      extends ElementEvent

  Event fired when the list is cleared.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ElementClearedEvent(Object source, List values)` Creates a cleared-list event.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public List` | `getValues()` Returns the removed elements.

- - ### Constructor Detail

    - #### public ElementClearedEvent(Object source, List values)

      Creates a cleared-list event.

      Parameters:
        `source` - the event source
        `values` - the removed elements

  - ### Method Detail

    - #### public List getValues()

      Returns the removed elements.

      Returns:
        an unmodifiable view of removed elements