Package groovy.util
Class ObservableList.ElementEvent
- java.lang.Object
-
- java.util.EventObject
-
- java.beans.PropertyChangeEvent
-
- groovy.util.ObservableList.ElementEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ObservableList.ElementAddedEvent
,ObservableList.ElementClearedEvent
,ObservableList.ElementRemovedEvent
,ObservableList.ElementUpdatedEvent
,ObservableList.MultiElementAddedEvent
,ObservableList.MultiElementRemovedEvent
- Enclosing class:
- ObservableList
public abstract static class ObservableList.ElementEvent extends java.beans.PropertyChangeEvent
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementEvent(java.lang.Object source, java.lang.Object oldValue, java.lang.Object newValue, int index, ObservableList.ChangeType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObservableList.ChangeType
getChangeType()
int
getIndex()
int
getType()
java.lang.String
getTypeAsString()
-
-
-
Constructor Detail
-
ElementEvent
public ElementEvent(java.lang.Object source, java.lang.Object oldValue, java.lang.Object newValue, int index, ObservableList.ChangeType type)
-
-
Method Detail
-
getIndex
public int getIndex()
-
getType
public int getType()
-
getChangeType
public ObservableList.ChangeType getChangeType()
-
getTypeAsString
public java.lang.String getTypeAsString()
-
-