interface XToolkit in module com::sun::star::awt::

(Global Index)

Syntax

interface XToolkit : com::sun::star::uno::XInterface ;

Description

specifies a factory interface for the windowing toolkit.

This is similar to the abstract window toolkit (AWT) in Java.

Method Summary

getDesktopWindow

getWorkArea

createWindow creates a new window using the given descriptor.

createWindows

createScreenCompatibleDevice creates a virtual device that is compatible with the screen.

createRegion creates a region.

Known Services Which Export this Interface

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

Method Details



getDesktopWindow

Syntax

com::sun::star::awt::XWindowPeer getDesktopWindow ();

Returns

the desktop window.

getWorkArea

Syntax

com::sun::star::awt::Rectangle getWorkArea ();

Returns

the complete work area for this toolkit.

createWindow

Syntax

com::sun::star::awt::XWindowPeer createWindow (
com::sun::star::awt::WindowDescriptor Descriptor )
raises ( com::sun::star::lang::IllegalArgumentException );

Description

creates a new window using the given descriptor.

See also

XToolkit::createComponents

createWindows

Syntax

sequence< com::sun::star::awt::XWindowPeer > createWindows (
sequence< com::sun::star::awt::WindowDescriptor > Descriptors )
raises ( com::sun::star::lang::IllegalArgumentException );

Returns

a sequence of windows which are newly created using the given descriptors.

createScreenCompatibleDevice

Syntax

com::sun::star::awt::XDevice createScreenCompatibleDevice (
long Width,
long Height );

Description

creates a virtual device that is compatible with the screen.


createRegion

Syntax

com::sun::star::awt::XRegion createRegion ();

Description

creates a region.

Top of Page