Children of the XEventListener Interface
The com.sun.star.lang.XEventListener interface is the base for all listener interfaces . This means that not only
XEventListeners, but every listener must implement
disposing(), and every broadcaster object that allows any kind of listener to register, must call
disposing() on the listeners as soon as it dies. However, not every broadcaster is forced to implement the
XComponent interface with the
dispose() method, because it may define its own condition when it is disposed.
In a chain of broadcaster objects where every element is a listener of its predecessor and only the root object is an
XComponent that is being disposed, all the other chain links must handle the
disposing() call coming from their predecessor and call
disposing() on their registered listeners.
|Content on this page is licensed under the Public Documentation License (PDL).|