| java.lang.Object org.geotools.event.GTDeltaImpl
GTDeltaImpl | public class GTDeltaImpl implements GTDelta(Code) | | Describes the extent of changes.
The "delta" acts as a series of bread crumbs allowing you the listener to
figure out what changed where.
since: 2.2.M3 |
Constructor Summary | |
public | GTDeltaImpl(GTNote notification, Object before, Object after) Does the right thing, aka magic. | public | GTDeltaImpl(GTNote notification, Kind kind, Object value, Object oldValue) Create a delta, with no children. | public | GTDeltaImpl(GTNote notification, Kind kind, Object value, Object oldValue, GTDelta delta) Create a delta with with a list element child delta. | public | GTDeltaImpl(GTNote notification, Kind kind, Object value, Object oldValue, List children) Create a delta, completely specifying all values. |
GTDeltaImpl | public GTDeltaImpl(GTNote notification, Object before, Object after)(Code) | | Does the right thing, aka magic.
This constructor is provided to make things easier, if your experience
is not magic please skip this and try the next constructor.
Magic:
-
NO_CHANGE: before == null after == null
-
NO_CHANGE: before == after
-
REMOVED: before == obj after == null
-
ADDED: before == null after == obj
-
CHANGED: before != after
Parameters: notification - Parameters: before - Parameters: after - |
GTDeltaImpl | public GTDeltaImpl(GTNote notification, Kind kind, Object value, Object oldValue)(Code) | | Create a delta, with no children.
Parameters: notification - Parameters: kind - Parameters: value - Parameters: oldValue - |
GTDeltaImpl | public GTDeltaImpl(GTNote notification, Kind kind, Object value, Object oldValue, GTDelta delta)(Code) | | Create a delta with with a list element child delta.
This can be used to communicate a batch of changes, such as adding and
removing sections from a list, or the results of a transformation.
Parameters: notification - Parameters: kind - Parameters: value - Parameters: oldValue - Parameters: delta - |
GTDeltaImpl | public GTDeltaImpl(GTNote notification, Kind kind, Object value, Object oldValue, List children)(Code) | | Create a delta, completely specifying all values.
Parameters: notification - Parameters: kind - Parameters: value - Parameters: oldValue - Parameters: children - |
getKind | public Kind getKind()(Code) | | |
getPosition | public int getPosition()(Code) | | |
|
|