:: com :: sun :: star :: container ::
|
interface XContainer |
|
- Description
- supports quick access to the information if a container currently
contains elements.
The XContainer interface is provided for containers
which need to broadcast changes within the container; that means
the actions of adding or removing elements are broadcast to the
listeners.
This can be useful for UI to enable/disable some functions
without actually accessing the data.
- See also
- XContent, XIndexAccess, XNameAcces, XEnumerationAccess
|
Methods' Summary |
addContainerListener |
adds the specified listener to receive events when
elements are inserted or removed.
|
removeContainerListener |
removes the specified listener so it does not receive
any events from this container.
|
Methods' Details |
addContainerListener
- Description
- adds the specified listener to receive events when
elements are inserted or removed.
It is suggested to allow multiple registration of the same listener,
thus for each time a listener is added, it has to be removed.
- See also
- XContainerListener
|
|
removeContainerListener
- Description
- removes the specified listener so it does not receive
any events from this container.
It is suggested to allow multiple registration of the same listener,
thus for each time a listener is added, it has to be removed.
- See also
- XContainerListener
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.