| org.geotools.event.GTRoot
All known Subclasses: org.geotools.event.AbstractGTRoot,
GTRoot | public interface GTRoot extends GTComponent(Code) | | 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.
author: Jody Garnett, Refractions Research |
addListener | public void addListener(GTListener listener)(Code) | | Adds a listener for GTEvents
Parameters: listener - Listener to change events |
changed | public void changed(GTDelta delta)(Code) | | Since this is the "root" of the tree, please fire event off to the
listeners.
Parameters: delta - Delta describing change |
getParent | public GTComponent getParent()(Code) | | Should not be called, will return a "NullObject" - NO_PARENT.
NO_PARENT |
removeListener | public void removeListener(GTListener listener)(Code) | | Removes a previously installed GTListener
Parameters: listener - Listener to change events |
removed | public void removed(GTDelta delta)(Code) | | Since this is the "root" of the tree, please fire event off to the
listeners.
Parameters: delta - Delta describing change |
|
|