| java.lang.Object java.util.EventObject org.geotools.event.GTEventImpl
GTEventImpl | public class GTEventImpl extends EventObject implements GTEvent(Code) | | Captures changes to Style.
The "delta" acts as a series of bread crumbs allowing you the listener to
figure out what changed where. The Type answers that other peskey
question: when.
You should be warned that deltas may also be "saved up" for a rainy day,
this keeps user interfaces from being flooded with a cascade of events. The
best example is a "macro" that makes a series of changes and only reports
back a compound change resulting from the batch opperation.
since: 2.2.M3 |
Method Summary | |
public GTDelta | getDelta() Returns a delta, rooted at style, describing the set of changes that
happened. | public Type | getType() Returns the type of event being reported. | public void | setDelta(GTDelta delta) | public void | setType(Type type) |
getDelta | public GTDelta getDelta()(Code) | | Returns a delta, rooted at style, describing the set of changes that
happened. Returns null if not applicable to this type of
event.
the style delta, or null if not applicable |
setType | public void setType(Type type)(Code) | | |
|
|