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

interface XControl
Base Interfaces
XControl
┗ ::com::sun::star::lang::XComponent

::com::sun::star::lang::XComponent
(referenced interface's summary:)

Methods' Summary
setContext sets the context of the control.  
getContext gets the context of the control.  
createPeer creates a "child" window on the screen.  
getPeer returns the peer which was previously created or set.  
setModel sets a model for the control.  
getModel returns the model for this control.  
getView returns the view of this control.  
setDesignMode sets the design mode for use in a design editor.  
isDesignMode returns true if the control is in design mode, false otherwise.  
isTransparent returns true if the control is transparent, false otherwise.  
Methods' Details
setContext
void
setContext( [in] ::com::sun::star::uno::XInterface  Context );

Description
sets the context of the control.
getContext
::com::sun::star::uno::XInterface
getContext();

Description
gets the context of the control.
createPeer
void
createPeer( [in] XToolkit  Toolkit,
[in] XWindowPeer  Parent );

Description
creates a "child" window on the screen.

If the parent is NULL, then the desktop window of the toolkit is the parent.

getPeer
XWindowPeer
getPeer();

Description
returns the peer which was previously created or set.
setModel
boolean
setModel( [in] XControlModel  Model );

Description
sets a model for the control.
getModel
XControlModel
getModel();

Description
returns the model for this control.
getView
XView
getView();

Description
returns the view of this control.
setDesignMode
void
setDesignMode( [in] boolean  bOn );

Description
sets the design mode for use in a design editor.

Normally the control will be painted directly without a peer.

isDesignMode
boolean
isDesignMode();

Description
returns true if the control is in design mode, false otherwise.
isTransparent
boolean
isTransparent();

Description
returns true if the control is transparent, false otherwise.
Top of Page