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

com :: sun :: star :: drawing ::

interface XControlShape

Base Interface
com::sun::star::drawing::XShape

Description
is implemented by a ControlShape to access the controls model.
See also
com::sun::star::drawing::ControlShape
See also
com::sun::star::awt::ControlModel


Known Services which Export this Interface

com::sun::star::drawing::ControlShape This service is for a Shape which contains a control.

Methods' Summary

getControl returns the control model of this Shape .
setControl sets the control model for this Shape .

Methods' Details

getControl
 
com::sun::star::awt::XControlModel
getControl();
Description
returns the control model of this Shape .
Returns
if there is already a control model assigned to this ControlShape , than its returned. Otherwise you get an empty reference.
setControl
 
[ oneway ] void
setControl(
[ in ] com::sun::star::awt::XControlModel xControl );

Description
sets the control model for this Shape .
Parameter xControl
this will be the new control model that is displayed with this shape. You may change the model more than once during the lifetime of a ControlShape

Top of Page