|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Nested Class Summary | |
static class |
GTEvent.Type
Constants used to indicate the type of StyleChangedEvent |
Method Summary | |
GTDelta |
getDelta()
Returns a delta, from the root, describing the set of changes that happened. |
java.lang.Object |
getSource()
Root construct issuing the event. |
GTEvent.Type |
getType()
Returns the type of event being reported. |
Method Detail |
public GTDelta getDelta()
May be null
if not applicable, available
to this type of event.
null
if not applicablepublic java.lang.Object getSource()
Handy if you are listening to several things at once.
public GTEvent.Type getType()
#POST_CHANGE
,
#PRE_DELETE
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |