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

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

interface XControlContainer

Base Interface
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".


Known Services which Export this Interface

com::sun::star::awt::UnoControlContainer specifies an abstract control which can contain other controls. One additional interface ( XControlContainer ) is specified. An UnoControlContainer contains other UnoControl s.

Methods' 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.

Methods' Details

setStatusText
 
[ oneway ] void
setStatusText(
[ in ] string StatusText );

Description
sets a status text in the status bar of the container.
getControls
 
sequence< com::sun::star::awt::XControl >
getControls();
Returns
all controls of this container.
getControl
 
com::sun::star::awt::XControl
getControl(
[ in ] string aName );

Description
returns the control with the name "Name".
addControl
 
[ oneway ] void
addControl(
[ in ] string Name,
[ in ] 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
 
[ oneway ] void
removeControl(
[ in ] com::sun::star::awt::XControl Control );

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

Top of Page