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

interface XToolkit
Description
specifies a factory interface for the window toolkit.

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

Developers Guide
OfficeDev - Java Window Integration

Methods' Summary
getDesktopWindow returns the desktop window.  
createScreenCompatibleDevice * For LibreOffice versions < 4.1, this method just returned an empty rectangle. * After that, it started returning a valid value. * * @returns the complete work area for this toolkit. */ com::sun::star::awt::Rectangle getWorkArea(); /** creates a new window using the given descriptor. */ com::sun::star::awt::XWindowPeer createWindow( [in] com::sun::star::awt::WindowDescriptor Descriptor ) raises( com::sun::star::lang::IllegalArgumentException ); /** returns a sequence of windows which are newly created using the given descriptors. */ sequence createWindows( [in] sequence Descriptors ) raises( com::sun::star::lang::IllegalArgumentException ); /** creates a virtual device that is compatible with the screen.  
createRegion creates a region.  
Methods' Details
getDesktopWindow
XWindowPeer
getDesktopWindow();

Description
returns the desktop window.
createScreenCompatibleDevice
XDevice
createScreenCompatibleDevice( [in] long  Width,
[in] long  Height );

Description
* For LibreOffice versions < 4.1, this method just returned an empty rectangle. * After that, it started returning a valid value. * * @returns the complete work area for this toolkit. */ com::sun::star::awt::Rectangle getWorkArea(); /** creates a new window using the given descriptor. */ com::sun::star::awt::XWindowPeer createWindow( [in] com::sun::star::awt::WindowDescriptor Descriptor ) raises( com::sun::star::lang::IllegalArgumentException ); /** returns a sequence of windows which are newly created using the given descriptors. */ sequence createWindows( [in] sequence Descriptors ) raises( com::sun::star::lang::IllegalArgumentException ); /** creates a virtual device that is compatible with the screen.
createRegion
XRegion
createRegion();

Description
creates a region.
Top of Page