interface XControlContainer in module com::sun::star::awt::

(Global Index)

Syntax

interface XControlContainer : com::sun::star::uno::XInterface ;

Description

this interface is the container for controls. Other names for the container are container or environment.
If this container is not embedded, then it uses the default "VclToolkit" service to create the peer components. The name is "com.sun.star.awt.Toolkit".

Method Summary

setStatusText sets a status text in the status bar of the container.

getControls

getControl returns the control with the name "Name".

addControl adds the control to the container. The control must not be added to another container. The container must call setControlContainer( this ) at the control.

removeControl removes the control from the container. You must call at this control.

Known Services Which Export this Interface

com::sun::star::awt::UnoControlContainer

Method Details



setStatusText

Syntax

oneway void setStatusText (
string StatusText );

Description

sets a status text in the status bar of the container.


getControls

Syntax

sequence< com::sun::star::awt::XControl > getControls ();

Returns

all controls of this container.

getControl

Syntax

com::sun::star::awt::XControl getControl (
string aName );

Description

returns the control with the name "Name".


addControl

Syntax

oneway void addControl (
string Name,
com::sun::star::awt::XControl Control );

Description

adds the control to the container. The control must not be added to another container. The container must call setControlContainer( this ) at the control.


removeControl

Syntax

oneway void removeControl (
com::sun::star::awt::XControl Control );

Description

removes the control from the container. You must call at this control.

Top of Page