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
|
|
Syntax
- oneway void setStatusText
(
- string StatusText );
Description
sets a status text in the status bar of the
container.
Syntax
- sequence< com::sun::star::awt::XControl > getControls
();
Returns
-
all controls of this container.
Syntax
- com::sun::star::awt::XControl getControl
(
- string aName );
Description
returns the control with the name "Name".
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.
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
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.