:: com :: sun :: star :: awt ::
|
interface XControl |
- Base Interfaces
XControl
┗ ::com::sun::star::lang::XComponent
::com::sun::star::lang::XComponent |
- (referenced interface's summary:)
- allows to exclicitly free resources and break cyclic references.
|
|
- Description
- identifies a control.
Implementations of this interface are abstract windows.
The main reason to instantiate this implementation is to show the window
on the screen. Before the window appears on the screen, the
createPeer method must be called.
If the implementation of the control does not distinguish
between model, view and controller, it must allow to set
a new XGraphics in the view, so that the control can be printed.
|
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
[oneway] void |
setContext( |
[in] ::com::sun::star::uno::XInterface |
Context ); |
- Description
- sets the context of the control.
|
|
getContext
- Description
- gets the context of the control.
|
|
createPeer
- Description
- creates a "child" window on the screen.
If the parent is NULL, then the desktop window of the toolkit
is the parent.
|
|
getPeer
- Description
- returns the peer which was previously created or set.
|
|
setModel
- Description
- sets a model for the control.
|
|
getModel
- Description
- returns the model for this control.
|
|
getView
- Description
- returns the view of this control.
|
|
setDesignMode
[oneway] 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
- Description
- returns true if the control is in design mode, false otherwise.
|
|
isTransparent
- Description
- returns true if the control is transparent, false otherwise.
|
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.