net.refractions.udig.project
Class UDIGEvent

java.lang.Object
  extended by net.refractions.udig.project.UDIGEvent
Direct Known Subclasses:
EditManagerEvent, MapCompositionEvent, MapEvent, ViewportModelEvent

public abstract class UDIGEvent
extends java.lang.Object

A superclass for udig model events.

Since:
1.1.0
Author:
Jesse

Field Summary
protected  java.lang.Object newValue
           
protected  java.lang.Object oldValue
           
protected  java.lang.Object source
           
 
Constructor Summary
protected UDIGEvent(java.lang.Object source2, java.lang.Object newValue2, java.lang.Object oldValue2)
           
 
Method Summary
 java.lang.Object getNewValue()
          Gets the new value, if it applies.
 java.lang.Object getOldValue()
          Gets the old value, if it applies.
abstract  java.lang.Object getSource()
          Gets the source of the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected final java.lang.Object source

oldValue

protected final java.lang.Object oldValue

newValue

protected final java.lang.Object newValue
Constructor Detail

UDIGEvent

protected UDIGEvent(java.lang.Object source2,
                    java.lang.Object newValue2,
                    java.lang.Object oldValue2)
Method Detail

getNewValue

public java.lang.Object getNewValue()
Gets the new value, if it applies.

Returns:
The new value, if it applies.

getOldValue

public java.lang.Object getOldValue()
Gets the old value, if it applies.

Returns:
The old value, if it applies.

getSource

public abstract java.lang.Object getSource()
Gets the source of the event.

Returns:
the source of the event.