Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: awt ::
interface XWindow2
  Base Interfaces
      XWindow2
      ┗ XWindow
         ┗ ::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

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.