net.refractions.udig.project.render
Class DeltaEvent<T>

java.lang.Object
  extended by net.refractions.udig.project.render.DeltaEvent<T>

public class DeltaEvent<T>
extends java.lang.Object

TODO Purpose of net.refractions.udig.project.render

Since:
1.0.0
Author:
Jesse

Constructor Summary
DeltaEvent(T legacy, T current)
          Creates an new instance of DeltaEvent
 
Method Summary
 T getCurrent()
          Returns a copy of the state of the changed object after the change occured
 T getLegacy()
          Returns a copy of the state of the changed object before the change occured
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeltaEvent

public DeltaEvent(T legacy,
                  T current)
Creates an new instance of DeltaEvent

Parameters:
legacy - a copy of the state of the changed object before the change occured
current - a copy of the state of the changed object after the change occured
Method Detail

getLegacy

public T getLegacy()
Returns a copy of the state of the changed object before the change occured

Returns:
a copy of the state of the changed object before the change occured

getCurrent

public T getCurrent()
Returns a copy of the state of the changed object after the change occured

Returns:
a copy of the state of the changed object after the change occured