|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Indicates the "root" of a Geotools data structure with event notification.
Several of the GeoTools objects are produced in reference to specifications, in particular XML based specifications. Often we try and match the same abstractions present in a specification like SLD or Filter. But rather then make use of pure Java Beans, and make user interface code responsible for managing a host of listeners we are providing a single set of listeners located at the object matching the document base.
Field Summary | |
static GTRoot |
NO_PARENT
|
Method Summary | |
void |
addListener(GTListener listener)
Adds a listener for GTEvents |
void |
changed(GTDelta delta)
Since this is the "root" of the tree, please fire event off to the listeners. |
GTComponent |
getParent()
Should not be called, will return a "NullObject" - NO_PARENT. |
void |
removed(GTDelta delta)
Since this is the "root" of the tree, please fire event off to the listeners. |
void |
removeListener(GTListener listener)
Removes a previously installed GTListener |
Methods inherited from interface org.geotools.event.GTComponent |
getNote, setNote |
Field Detail |
public static final GTRoot NO_PARENT
Method Detail |
public GTComponent getParent()
getParent
in interface GTComponent
public void changed(GTDelta delta)
changed
in interface GTComponent
delta
- Delta describing changepublic void removed(GTDelta delta)
removed
in interface GTComponent
delta
- Delta describing changepublic void addListener(GTListener listener)
listener
- Listener to change eventspublic void removeListener(GTListener listener)
listener
- Listener to change events
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |