Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 1327

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>Interface XWindow</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="XWindow-xref.html" class="navimain">Use</a></td>
<td class="navimain"><a href="#devmanual" class="navimain">Devguide</a></td>
<td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td>
<td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td>
<td class="navisub">Attributes' Summary</td>
<td class="navisub">Attributes' Details</td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">awt</a> :: </p>
</td>
</tr>
<tr>
<td class="title">interface XWindow</td>
</tr>
<tr>
<td><dl>
<dt><b>Base Interfaces</b></dt>
<dd><pre style="font-family:monospace;"><strong>XWindow</strong>
&#x2517 ::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XComponent.html">XComponent</a>

</pre></dd>
<dd><a name/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="crosstitle">
<tr>
<td class="imsum_left">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XComponent.html">XComponent</a></td>
<td class="imsum_right"><dl>
<dt>(referenced interface's summary:)</dt>
<dd>allows to exclicitly free resources and break cyclic references.
 
 </dd>
</dl>
</td>
</tr>
</table>
</dd>
</dl>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>specifies the basic operations for a window component.
 
 </dd>
<dd><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>
 </dd>
</dl>
<a name="devmanual"> </a><dl>
<dt><b>Developers Guide</b></dt>
<dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Component/Window_Interfaces">OfficeDev - Component - Window Interfaces</a></dd>
<dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Frames#Linking_Components_and_Windows">OfficeDev - Frames - Linking Components and Windows</a></dd>
<dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Windows">OfficeDev - Windows</a></dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Methods' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setPosSize">setPosSize</a></td>
<td class="imsum_right">sets the outer bounds of the window.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getPosSize">getPosSize</a></td>
<td class="imsum_right">returns the outer bounds of the window.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setVisible">setVisible</a></td>
<td class="imsum_right">shows or hides the window depending on the parameter.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setEnable">setEnable</a></td>
<td class="imsum_right">enables or disables the window depending on the parameter.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setFocus">setFocus</a></td>
<td class="imsum_right">sets the focus to the window.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addWindowListener">addWindowListener</a></td>
<td class="imsum_right">adds a window listener to the object.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeWindowListener">removeWindowListener</a></td>
<td class="imsum_right">removes the specified window listener from the listener list.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addFocusListener">addFocusListener</a></td>
<td class="imsum_right">adds a focus listener to the object.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeFocusListener">removeFocusListener</a></td>
<td class="imsum_right">removes the specified focus listener from the listener list.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addKeyListener">addKeyListener</a></td>
<td class="imsum_right">adds a key listener to the object.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeKeyListener">removeKeyListener</a></td>
<td class="imsum_right">removes the specified key listener from the listener list.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addMouseListener">addMouseListener</a></td>
<td class="imsum_right">adds a mouse listener to the object.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeMouseListener">removeMouseListener</a></td>
<td class="imsum_right">removes the specified mouse listener from the listener list.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addMouseMotionListener">addMouseMotionListener</a></td>
<td class="imsum_right">adds a mouse motion listener to the object.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeMouseMotionListener">removeMouseMotionListener</a></td>
<td class="imsum_right">removes the specified mouse motion listener from the listener list.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addPaintListener">addPaintListener</a></td>
<td class="imsum_right">adds a paint listener to the object.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removePaintListener">removePaintListener</a></td>
<td class="imsum_right">removes the specified paint listener from the listener list.
 &nbsp;</td>
</tr>
</table>
<a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Methods' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="setPosSize" class="membertitle">setPosSize</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>setPosSize</b>(</td>
<td valign="top">[in] long</td>
<td valign="bottom">&nbsp;X,</td>
</tr>
<tr>
<td/><td valign="top">[in] long</td>
<td valign="bottom">&nbsp;Y,</td>
</tr>
<tr>
<td/><td valign="top">[in] long</td>
<td valign="bottom">&nbsp;Width,</td>
</tr>
<tr>
<td/><td valign="top">[in] long</td>
<td valign="bottom">&nbsp;Height,</td>
</tr>
<tr>
<td/><td valign="top">[in] short</td>
<td valign="bottom">&nbsp;Flags );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>sets the outer bounds of the window.

 </dd>
<dt><b>Parameter X</b></dt>
<dd>the x-coordinate of the window.

 </dd>
<dt><b>Parameter Y</b></dt>
<dd>the y-coordinate of the window.

 </dd>
<dt><b>Parameter Width</b></dt>
<dd>the width of the window.

 </dd>
<dt><b>Parameter Height</b></dt>
<dd>the height of the window.

 </dd>
<dt><b>Parameter Flags</b></dt>
<dd>Flags are of type <a href="PosSize.html">PosSize</a> and specify, which parameters
 are taken into account when setting the outer bounds of the window. 
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getPosSize" class="membertitle">getPosSize</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="Rectangle.html">Rectangle</a></td>
</tr>
<tr>
<td valign="top"><b>getPosSize</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>returns the outer bounds of the window.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="setVisible" class="membertitle">setVisible</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>setVisible</b>(</td>
<td valign="top">[in] boolean</td>
<td valign="bottom">&nbsp;Visible );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>shows or hides the window depending on the parameter.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="setEnable" class="membertitle">setEnable</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>setEnable</b>(</td>
<td valign="top">[in] boolean</td>
<td valign="bottom">&nbsp;Enable );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>enables or disables the window depending on the parameter.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="setFocus" class="membertitle">setFocus</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>setFocus</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>sets the focus to the window.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addWindowListener" class="membertitle">addWindowListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>addWindowListener</b>(</td>
<td valign="top">[in] <a href="XWindowListener.html">XWindowListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>adds a window listener to the object.

 </dd>
<dt><b>Parameter xListener</b></dt>
<dd>the listener to add. If this listener also supports the <a href="XWindowListener2.html">XWindowListener2</a> interface,
 it will receive the additional events declared in XWindowListener2.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeWindowListener" class="membertitle">removeWindowListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>removeWindowListener</b>(</td>
<td valign="top">[in] <a href="XWindowListener.html">XWindowListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>removes the specified window listener from the listener list.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addFocusListener" class="membertitle">addFocusListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>addFocusListener</b>(</td>
<td valign="top">[in] <a href="XFocusListener.html">XFocusListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>adds a focus listener to the object.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeFocusListener" class="membertitle">removeFocusListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>removeFocusListener</b>(</td>
<td valign="top">[in] <a href="XFocusListener.html">XFocusListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>removes the specified focus listener from the listener list.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addKeyListener" class="membertitle">addKeyListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>addKeyListener</b>(</td>
<td valign="top">[in] <a href="XKeyListener.html">XKeyListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>adds a key listener to the object.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeKeyListener" class="membertitle">removeKeyListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>removeKeyListener</b>(</td>
<td valign="top">[in] <a href="XKeyListener.html">XKeyListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>removes the specified key listener from the listener list.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addMouseListener" class="membertitle">addMouseListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>addMouseListener</b>(</td>
<td valign="top">[in] <a href="XMouseListener.html">XMouseListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>adds a mouse listener to the object.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeMouseListener" class="membertitle">removeMouseListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>removeMouseListener</b>(</td>
<td valign="top">[in] <a href="XMouseListener.html">XMouseListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>removes the specified mouse listener from the listener list.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addMouseMotionListener" class="membertitle">addMouseMotionListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>addMouseMotionListener</b>(</td>
<td valign="top">[in] <a href="XMouseMotionListener.html">XMouseMotionListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>adds a mouse motion listener to the object.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeMouseMotionListener" class="membertitle">removeMouseMotionListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>removeMouseMotionListener</b>(</td>
<td valign="top">[in] <a href="XMouseMotionListener.html">XMouseMotionListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>removes the specified mouse motion listener from the listener list.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addPaintListener" class="membertitle">addPaintListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>addPaintListener</b>(</td>
<td valign="top">[in] <a href="XPaintListener.html">XPaintListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>adds a paint listener to the object.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removePaintListener" class="membertitle">removePaintListener</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">[oneway] void</td>
</tr>
<tr>
<td valign="top"><b>removePaintListener</b>(</td>
<td valign="top">[in] <a href="XPaintListener.html">XPaintListener</a></td>
<td valign="bottom">&nbsp;xListener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>removes the specified paint listener from the listener list.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2008 Sun Microsystems, Inc.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>