interface XContainer in module com::sun::star::container::

(Global Index)

Syntax

interface XContainer : 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 that 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

Method 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.

Method Details



addContainerListener

Syntax

oneway void addContainerListener (
com::sun::star::container::XContainerListener xListener );

Description

adds the specified listener to receive events when elements are inserted or removed.

See also

XContainerListener

removeContainerListener

Syntax

oneway void removeContainerListener (
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