Package groovy.util
Class ObservableSet.ElementEvent
- java.lang.Object
-
- java.util.EventObject
-
- java.beans.PropertyChangeEvent
-
- groovy.util.ObservableSet.ElementEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ObservableSet.ElementAddedEvent
,ObservableSet.ElementClearedEvent
,ObservableSet.ElementRemovedEvent
,ObservableSet.MultiElementAddedEvent
,ObservableSet.MultiElementRemovedEvent
- Enclosing class:
- ObservableSet<E>
public abstract static class ObservableSet.ElementEvent extends PropertyChangeEvent
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ElementEvent(Object source, Object oldValue, Object newValue, ObservableSet.ChangeType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObservableSet.ChangeType
getChangeType()
int
getType()
String
getTypeAsString()
-
Methods inherited from class java.beans.PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toString
-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Constructor Detail
-
ElementEvent
public ElementEvent(Object source, Object oldValue, Object newValue, ObservableSet.ChangeType type)
-
-
Method Detail
-
getType
public int getType()
-
getChangeType
public ObservableSet.ChangeType getChangeType()
-
getTypeAsString
public String getTypeAsString()
-
-