Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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.  
getWorkArea returns the complete work area for this toolkit.  
createWindow creates a new window using the given descriptor.  
createWindows returns a sequence of windows which are newly created using the given descriptors.  
createScreenCompatibleDevice creates a virtual device that is compatible with the screen.  
createRegion creates a region.  
Methods' Details
getDesktopWindow
XWindowPeer
getDesktopWindow();

Description
returns the desktop window.
getWorkArea
Rectangle
getWorkArea();

Description
returns the complete work area for this toolkit.
createWindow
XWindowPeer
createWindow( [in] WindowDescriptor  Descriptor )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
creates a new window using the given descriptor.
createWindows
sequence< XWindowPeer >
createWindows( [in] sequence< WindowDescriptor >  Descriptors )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
returns a sequence of windows which are newly created using the given descriptors.
createScreenCompatibleDevice
XDevice
createScreenCompatibleDevice( [in] long  Width,
[in] long  Height );

Description
creates a virtual device that is compatible with the screen.
createRegion
XRegion
createRegion();

Description
creates a region.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.