net.refractions.udig.issues.listeners
Class AbstractIssueEvent

java.lang.Object
  extended by net.refractions.udig.issues.listeners.AbstractIssueEvent
Direct Known Subclasses:
IssueEvent, IssuePropertyChangeEvent

public class AbstractIssueEvent
extends java.lang.Object


Field Summary
protected  java.lang.Object newValue
           
protected  java.lang.Object oldValue
           
protected  IIssue source
           
 
Constructor Summary
AbstractIssueEvent(IIssue source2, java.lang.Object newValue2, java.lang.Object oldValue2)
           
 
Method Summary
 java.lang.Object getNewValue()
          Returns the new value after the change
 java.lang.Object getOldValue()
          Returns the value before the change
 IIssue getSource()
          Returns the issue has changed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected final IIssue source

newValue

protected final java.lang.Object newValue

oldValue

protected final java.lang.Object oldValue
Constructor Detail

AbstractIssueEvent

public AbstractIssueEvent(IIssue source2,
                          java.lang.Object newValue2,
                          java.lang.Object oldValue2)
Parameters:
source - the issue has changed
newValue - the new value after the change
oldValue - the value before the change
Method Detail

getNewValue

public java.lang.Object getNewValue()
Returns the new value after the change

Returns:
the new value after the change

getOldValue

public java.lang.Object getOldValue()
Returns the value before the change

Returns:
the value before the change

getSource

public IIssue getSource()
Returns the issue has changed

Returns:
the issue has changed