Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XToolkit

Base Interface
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.



Known Services which Export this Interface

com::sun::star::awt::Toolkit describes a toolkit that creates windows on a screen.

Methods' 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.

Methods' Details

getDesktopWindow
 
com::sun::star::awt::XWindowPeer
getDesktopWindow();
Returns
the desktop window.
getWorkArea
 
com::sun::star::awt::Rectangle
getWorkArea();
Returns
the complete work area for this toolkit.
createWindow
 
com::sun::star::awt::XWindowPeer
createWindow(
[ in ] 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
 
sequence< com::sun::star::awt::XWindowPeer >
createWindows(
[ in ] 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
 
com::sun::star::awt::XDevice
createScreenCompatibleDevice(
[ in ] long Width,
[ in ] long Height );

Description
creates a virtual device that is compatible with the screen.
createRegion
 
com::sun::star::awt::XRegion
createRegion();
Description
creates a region.

Top of Page