diff options
Diffstat (limited to 'offapi/com/sun/star/awt/XWindow.idl')
-rw-r--r-- | offapi/com/sun/star/awt/XWindow.idl | 109 |
1 files changed, 36 insertions, 73 deletions
diff --git a/offapi/com/sun/star/awt/XWindow.idl b/offapi/com/sun/star/awt/XWindow.idl index 74ce32b57545..8749b1b6ba01 100644 --- a/offapi/com/sun/star/awt/XWindow.idl +++ b/offapi/com/sun/star/awt/XWindow.idl @@ -2,9 +2,9 @@ * * $RCSfile: XWindow.idl,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: jsc $ $Date: 2001-03-16 16:41:13 $ + * last change: $Author: mi $ $Date: 2002-10-03 13:01:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -100,23 +100,35 @@ //============================================================================= -// DocMerge from xml: interface com::sun::star::awt::XWindow /** specifies the basic operations for a window component. - - - <p>A windows is a rectangular region on an output device with - its own position, size, and internal coordinate system. Despite of - displaying the main sense of a window is to receive events from - the user.</p> + <p>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.</p> */ interface XWindow: com::sun::star::lang::XComponent { //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::setPosSize /** sets the outer bounds of the window. - */ + + @param X + the x-coordinate of the window. + + @param Y + the y-coordinate of the window. + + @param Width + the width of the window. + + @param Height + the height of the window. + + @param Flags + Flags are of type <type>PosSize</type> and specify, which parameters + are taken into account when setting the outer bounds of the window. + */ [oneway] void setPosSize( [in] long X, [in] long Y, [in] long Width, @@ -125,126 +137,97 @@ interface XWindow: com::sun::star::lang::XComponent //------------------------------------------------------------------------- - // DocMerge from idl: method com::sun::star::awt::XWindow::getPosSize - /** @returns - the outer bounds of the window. + /** returns the outer bounds of the window. */ com::sun::star::awt::Rectangle getPosSize(); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::setVisible /** shows or hides the window depending on the parameter. */ [oneway] void setVisible( [in] boolean Visible ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::setEnable /** enables or disables the window depending on the parameter. */ [oneway] void setEnable( [in] boolean Enable ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::setFocus /** sets the focus to the window. */ [oneway] void setFocus(); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::addWindowListener - /** adds the specified component listener to receive component events - from this window component. + /** adds a window listener to the object. */ [oneway] void addWindowListener( [in] com::sun::star::awt::XWindowListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::removeWindowListener - /** removes the specified listener so it no longer receives component - events from this window component. + /** removes the specified window listener from the listener list. */ [oneway] void removeWindowListener( [in] com::sun::star::awt::XWindowListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::addFocusListener - /** adds the specified focus listener to receive focus events - from this window component. + /** adds a focus listener to the object. */ [oneway] void addFocusListener( [in] com::sun::star::awt::XFocusListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::removeFocusListener - /** removes the specified focus listener so it no longer receives focus - events from this component. + /** removes the specified focus listener from the listener list. */ [oneway] void removeFocusListener( [in] com::sun::star::awt::XFocusListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::addKeyListener - /** adds the specified key listener to receive key events - from this component. + /** adds a key listener to the object. */ [oneway] void addKeyListener( [in] com::sun::star::awt::XKeyListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::removeKeyListener - /** removes the specified key listener so it no longer receives key - events from this component. + /** removes the specified key listener from the listener list. */ [oneway] void removeKeyListener( [in] com::sun::star::awt::XKeyListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::addMouseListener - /** adds the specified mouse listener to receive mouse events - from this component. + /** adds a mouse listener to the object. */ [oneway] void addMouseListener( [in] com::sun::star::awt::XMouseListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::removeMouseListener - /** removes the specified mouse listener so it no longer receives mouse - events from this component. + /** removes the specified mouse listener from the listener list. */ [oneway] void removeMouseListener( [in] com::sun::star::awt::XMouseListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::addMouseMotionListener - /** adds the specified mouse motion listener to receive mouse motion events - from this component. + /** adds a mouse motion listener to the object. */ [oneway] void addMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::removeMouseMotionListener - /** removes the specified mouse motion listener so it no longer - receives mouse motion events from this component. + /** removes the specified mouse motion listener from the listener list. */ [oneway] void removeMouseMotionListener( [in] com::sun::star::awt::XMouseMotionListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::addPaintListener - /** adds the specified paint listener to receive panit events - from this component. + /** adds a paint listener to the object. */ [oneway] void addPaintListener( [in] com::sun::star::awt::XPaintListener xListener ); //------------------------------------------------------------------------- - // DocMerge from xml: method com::sun::star::awt::XWindow::removePaintListener - /** removes the specified paint listener so it no longer - receives paint events from this component. + /** removes the specified paint listener from the listener list. */ [oneway] void removePaintListener( [in] com::sun::star::awt::XPaintListener xListener ); @@ -254,24 +237,4 @@ interface XWindow: com::sun::star::lang::XComponent }; }; }; }; -/*============================================================================= - - $Log: not supported by cvs2svn $ - Revision 1.3 2000/11/08 12:42:11 mi - moved from api - - Revision 1.1.1.1 2000/09/18 23:34:50 hjs - initial import - - Revision 1.4 2000/09/11 11:52:10 mi - documentation merged from XML - - Revision 1.2 1999/11/18 11:49:54 mi - XComponent now in module lang - - Revision 1.1.1.1 1999/11/11 09:48:40 jsc - new - - -=============================================================================*/ #endif |