org.progeeks.util
Class MapPropertyChangeEvent
java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
org.progeeks.util.MapPropertyChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
public class MapPropertyChangeEvent
- extends java.beans.PropertyChangeEvent
An extension to the standard PropertyChangeEvent that provides
information about changes to the Map. Normally the map keys
will be converted to strings and used as the property name in
the standard event. This subclass can also provide the real
keys when needed.
- Version:
- $Revision: 1.2 $
- Author:
- Paul Speed
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.Object |
getKey()
Returns the real object key associated with this event. |
Methods inherited from class java.beans.PropertyChangeEvent |
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MapPropertyChangeEvent
public MapPropertyChangeEvent(java.lang.Object source,
java.lang.Object key,
java.lang.Object oldValue,
java.lang.Object newValue)
MapPropertyChangeEvent
public MapPropertyChangeEvent(java.lang.Object source,
MapPropertyChangeEvent event)
- Creates a copy of the specified event but using a different source.
getKey
public java.lang.Object getKey()
- Returns the real object key associated with this event.
Copyright © 2002-2003 Paul Speed. All Rights Reserved.