net.refractions.udig.project
Class MapEvent
java.lang.Object
net.refractions.udig.project.UDIGEvent
net.refractions.udig.project.MapEvent
public class MapEvent
- extends UDIGEvent
An event that indicates a change to the map. See the Enum for more information of the types of events taht
are raised.
- Since:
- 1.1.0
- Author:
- Jesse
- See Also:
MapEvent.MapEventType
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MapEvent
public MapEvent(IMap source,
MapEvent.MapEventType type,
java.lang.Object newValue,
java.lang.Object oldValue)
- Construct
EditManagerEvent
.
- Parameters:
source
- the object that raised the event.type
- the type of event this object represents.newValue
- the new value, if this applies.oldValue
- the old value, if this applies.
getType
public MapEvent.MapEventType getType()
- Gets the type of the event.
- Returns:
- the type of the event.
- See Also:
MapEvent.MapEventType
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getSource
public IMap getSource()
- Description copied from class:
UDIGEvent
- Gets the source of the event.
- Specified by:
getSource
in class UDIGEvent
- Returns:
- the source of the event.