- java.lang.Object
-
- java.util.EventObject
-
- com.iamsoft.util.ui.swing.nameditem.UpdateEvent<T>
-
- Type Parameters:
T
- Type of element to be updated/deleted/added.
- All Implemented Interfaces:
Serializable
@Deprecated public class UpdateEvent<T> extends EventObject
Deprecated.Deprecated.Object describing a change in an map entry object (add, update or delete). For an update, the old and new values are non-null. For an add, the old value is null. For a delete, the new value is null.- See Also:
UpdateListener
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description UpdateEvent(NamedItemModel<? super T> pSrc, Map.Entry<String,T> pOldValue, Map.Entry<String,T> pNewValue)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map.Entry<String,T>
getNewValue()
Deprecated.Null if event is a delete.Map.Entry<String,T>
getOldValue()
Deprecated.Null if event is an insert.NamedItemModel<? super T>
getSource()
Deprecated.-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Method Detail
-
getOldValue
public Map.Entry<String,T> getOldValue()
Deprecated.Null if event is an insert. Otherwise, an immutable entry.
-
getNewValue
public Map.Entry<String,T> getNewValue()
Deprecated.Null if event is a delete. Otherwise, an immutable entry.
-
getSource
public NamedItemModel<? super T> getSource()
Deprecated.- Overrides:
getSource
in classEventObject
-
-