interface XTopWindow in module com::sun::star::awt::

(Global Index)

Syntax

interface XTopWindow : com::sun::star::uno::XInterface ;

Description

manages the functionality specific for a top window.

A top window must implement the XVclContainer interface.

Method Summary

addTopWindowListener adds the specified window listener to receive window events from this window.

removeTopWindowListener removes the specified window listener so that it no longer receives window events from this window.

toFront places this window at the top of the stacking order and shows it in front of any other windows.

toBack places this window at the bottom of the stacking order and makes the corresponding adjustment to other visible windows.

setMenuBar sets a menu bar.

Known Services Which Export this Interface

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

Method Details



addTopWindowListener

Syntax

oneway void addTopWindowListener (
com::sun::star::awt::XTopWindowListener xListener );

Description

adds the specified window listener to receive window events from this window.


removeTopWindowListener

Syntax

oneway void removeTopWindowListener (
com::sun::star::awt::XTopWindowListener xListener );

Description

removes the specified window listener so that it no longer receives window events from this window.


toFront

Syntax

oneway void toFront ();

Description

places this window at the top of the stacking order and shows it in front of any other windows.


toBack

Syntax

oneway void toBack ();

Description

places this window at the bottom of the stacking order and makes the corresponding adjustment to other visible windows.


setMenuBar

Syntax

oneway void setMenuBar (
com::sun::star::awt::XMenuBar xMenu );

Description

sets a menu bar.

Top of Page