Package groovy.util

# Class ObservableList.MultiElementAddedEvent

java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
groovy.util.ObservableList.ElementEvent
groovy.util.ObservableList.MultiElementAddedEvent

All Implemented Interfaces:
  `Serializable`

Enclosing class:
  ObservableList

public static class ObservableList.MultiElementAddedEvent extends ObservableList.ElementEvent
Event fired when multiple elements are added.

See Also:
  - Serialized Form

- ## Field Summary

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

  `source`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MultiElementAddedEvent(Object source, int index, List values)`
  Creates a multi-add event.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List`
  `getValues()`
  Returns the added elements.

  ### Methods inherited from class groovy.util.ObservableList.ElementEvent

  `getChangeType, getIndex, 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

  - ### MultiElementAddedEvent

    public MultiElementAddedEvent(Object source, int index, List values)
    Creates a multi-add event.
    Parameters:
      `source` - the event source
      `index` - the first insertion index
      `values` - the added elements

- ## Method Details

  - ### getValues

    public List getValues()
    Returns the added elements.
    Returns:
      an unmodifiable view of added elements