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

interface XControlShape
Base Interfaces
XControlShapeXShapeXShapeDescriptor

XShape
(referenced interface's summary:)
lets you do a basic transformation on a Shape and get its type.
Description
is implemented by a ControlShape to access the controls model.
See also
ControlShape, ::com::sun::star::awt::UnoControlModel

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