Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XWindow2
Base Interfaces
XWindow2XWindow
   ┗ ::com::sun::star::lang::XComponent

XWindow
(referenced interface's summary:)
specifies the basic operations for a window component.
Description
specifies some extended operations for a window component.

A window is a rectangular region on an output device with its own position, size, and internal coordinate system. A window is used for displaying data. In addition, the window receives events from the user.


Methods' Summary
setOutputSize sets the inner bounds of the window, also known as the client size  
getOutputSize returns the inner bounds of the window, also known as the client size.  
isVisible returns the visibility state of the window  
isActive returns the activation state of the window  
isEnabled returns the enabled state of the window  
hasFocus returns the focus state of the window  
Methods' Details
setOutputSize
void
setOutputSize( [in] Size  aSize );

Description
sets the inner bounds of the window, also known as the client size
Parameter Size
the inner width and height of the window.
getOutputSize
Size
getOutputSize();

Description
returns the inner bounds of the window, also known as the client size.
isVisible
boolean
isVisible();

Description
returns the visibility state of the window
isActive
boolean
isActive();

Description
returns the activation state of the window
isEnabled
boolean
isEnabled();

Description
returns the enabled state of the window
hasFocus
boolean
hasFocus();

Description
returns the focus state of the window
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.