| org.geotools.event.GTEvent
All known Subclasses: org.geotools.event.GTEventImpl,
GTEvent | public interface 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.
author: Jody Garnett, Refractions Research since: 2.2.M2 |
Inner Class :public class Type | |
Method Summary | |
public GTDelta | getDelta() Returns a delta, from the root, describing the set of changes that
happened. | public Object | getSource() Root construct issuing the event. | public Type | getType() Returns the type of event being reported. |
getDelta | public GTDelta getDelta()(Code) | | Returns a delta, from the root, describing the set of changes that
happened.
May be null if not applicable, available
to this type of event.
the style delta, or null if not applicable |
getSource | public Object getSource()(Code) | | Root construct issuing the event.
Handy if you are listening to several things at once.
Root construct issuing event |
|
|