Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: awt ::
interface XWindow
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-::com::sun::star::lang::XComponent
          |
          +-XWindow
Description specifies the basic 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. Developers Guide 6.1.1 Office Development - OpenOffice.org Application Environment - Overview - Framework API - Frames - Linking Components and Windows 6.1.1 Office Development - OpenOffice.org Application Environment - Overview - Framework API - Windows 6.1.3 Office Development - OpenOffice.org Application Environment - Using the Component Framework - Window Interfaces

Methods' Summary
setPosSize | sets the outer bounds of the window.
getPosSize | returns the outer bounds of the window.
setVisible | shows or hides the window depending on the parameter.
setEnable | enables or disables the window depending on the parameter.
setFocus | sets the focus to the window.
addWindowListener | adds a window listener to the object.
removeWindowListener | removes the specified window listener from the listener list.
addFocusListener | adds a focus listener to the object.
removeFocusListener | removes the specified focus listener from the listener list.
addKeyListener | adds a key listener to the object.
removeKeyListener | removes the specified key listener from the listener list.
addMouseListener | adds a mouse listener to the object.
removeMouseListener | removes the specified mouse listener from the listener list.
addMouseMotionListener | adds a mouse motion listener to the object.
removeMouseMotionListener | removes the specified mouse motion listener from the listener list.
addPaintListener | adds a paint listener to the object.
removePaintListener | removes the specified paint listener from the listener list.

Methods' Details
setPosSize
[oneway] void setPosSize( | [in] long [in] long [in] long [in] long [in] short | X, Y, Width, Height, Flags );
Description sets the outer bounds of the window. Parameter X the x-coordinate of the window. Parameter Y the y-coordinate of the window. Parameter Width the width of the window. Parameter Height the height of the window. Parameter Flags Flags are of type PosSize and specify, which parameters are taken into account when setting the outer bounds of the window.
getPosSize
Rectangle getPosSize(); |  |
Description returns the outer bounds of the window.
setVisible
[oneway] void setVisible( | [in] boolean | Visible );
Description shows or hides the window depending on the parameter.
setEnable
[oneway] void setEnable( | [in] boolean | Enable );
Description enables or disables the window depending on the parameter.
setFocus
[oneway] void setFocus(); |  |
Description sets the focus to the window.
addWindowListener
[oneway] void addWindowListener( | [in] XWindowListener | xListener );
Description adds a window listener to the object.
removeWindowListener
[oneway] void removeWindowListener( | [in] XWindowListener | xListener );
Description removes the specified window listener from the listener list.
addFocusListener
[oneway] void addFocusListener( | [in] XFocusListener | xListener );
Description adds a focus listener to the object.
removeFocusListener
[oneway] void removeFocusListener( | [in] XFocusListener | xListener );
Description removes the specified focus listener from the listener list.
addKeyListener
[oneway] void addKeyListener( | [in] XKeyListener | xListener );
Description adds a key listener to the object.
removeKeyListener
[oneway] void removeKeyListener( | [in] XKeyListener | xListener );
Description removes the specified key listener from the listener list.
addMouseListener
[oneway] void addMouseListener( | [in] XMouseListener | xListener );
Description adds a mouse listener to the object.
removeMouseListener
[oneway] void removeMouseListener( | [in] XMouseListener | xListener );
Description removes the specified mouse listener from the listener list.
addMouseMotionListener
[oneway] void addMouseMotionListener( | [in] XMouseMotionListener | xListener );
Description adds a mouse motion listener to the object.
removeMouseMotionListener
[oneway] void removeMouseMotionListener( | [in] XMouseMotionListener | xListener );
Description removes the specified mouse motion listener from the listener list.
addPaintListener
[oneway] void addPaintListener( | [in] XPaintListener | xListener );
Description adds a paint listener to the object.
removePaintListener
[oneway] void removePaintListener( | [in] XPaintListener | xListener );
Description removes the specified paint listener from the listener list.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.