Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: container ::

interface XContainer

Base Interface
com::sun::star::uno::XInterface

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
See also
XIndexAccess
See also
XNameAcces
See also
XEnumerationAccess


Known Services which Export this Interface

com::sun::star::form::control::GridControl describes a table-like control for displaying data.
com::sun::star::form::component::GridControl This service specifies a ControlModel to represent data in a table.
com::sun::star::configuration::SimpleSetAccess provides access to a dynamic, homogeneous, nonhierarchical set of values or objects.
com::sun::star::configuration::HierarchyAccess provides access to a (by name) hierarchy of descendant elements.
com::sun::star::configuration::SetAccess provides access to a dynamic, homogeneous set of values or nested trees within a (by name) hierarchy.
com::sun::star::ui::ActionTriggerContainer describes a container of user actions.
com::sun::star::sdb::DatabaseContext is the context for accessing datasource.
com::sun::star::text::TextContentCollection Objects of this type are collections of text contents of the same type.
com::sun::star::text::TextFrames This is the collection of all TextFrame instances within a context (e.g. a document).

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
 
[ oneway ] void
addContainerListener(
[ in ] com::sun::star::container::XContainerListener xListener );

Description
adds the specified listener to receive events when elements are inserted or removed.
See also
XContainerListener
removeContainerListener
 
[ oneway ] void
removeContainerListener(
[ in ] com::sun::star::container::XContainerListener xListener );

Description
removes the specified listener so it does not receive any events from this container.
See also
XContainerListener

Top of Page