Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 1130

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Interface XLayoutContainer</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="XLayoutContainer-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</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">Attributes' Summary</td>
<td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></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 XLayoutContainer</td>
</tr>
<tr>
<td><dl>
<dt><b>Base Interfaces</b></dt>
<dd><pre style="font-family:monospace;"><strong>XLayoutContainer</strong>
&#x2517 ::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XChild.html">XChild</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="../container/module-ix.html">container</a>::<a href="../container/XChild.html">XChild</a></td>
<td class="imsum_right"><dl>
<dt>(referenced interface's summary:)</dt>
<dd>provides access to the parent of the object.
 
 </dd>
</dl>
</td>
</tr>
</table>
</dd>
</dl>
</td>
</tr>
<tr>
<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="#addChild">addChild</a></td>
<td class="imsum_right">Adds a child. Some containers provide an interface for
 adding children which you should use. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeChild">removeChild</a></td>
<td class="imsum_right">Remove a child. Some containers provide an interface for
 adding children which you should use.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getChildren">getChildren</a></td>
<td class="imsum_right">Returns a sequence of the children of this container. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getChildProperties">getChildProperties</a></td>
<td class="imsum_right">Read/modify some child layout properties. XPropertySet provides a
 rich API that allows, e.g., for introspection.
 Should rarely be a need to use; containers shall provide an interface
 for setting properties more confortably. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#setLayoutUnit">setLayoutUnit</a></td>
<td class="imsum_right">Set at initilization, this object should be notified when a containers state
 changes, that may affect its size, to queue a layout re-calculation. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getLayoutUnit">getLayoutUnit</a></td>
<td class="imsum_right">&nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#allocateArea">allocateArea</a></td>
<td class="imsum_right">To be used by the parent for the purpose of layout management. 
 For widgets, use XWindow::setPosSize() &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getRequestedSize">getRequestedSize</a></td>
<td class="imsum_right">Used by the layouting unit to evaluate size damage, and force a
 re-allocation. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getAllocatedArea">getAllocatedArea</a></td>
<td class="imsum_right">Used by the layouting unit to evaluate size damage, and force a
 re-allocation. &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getHeightForWidth">getHeightForWidth</a></td>
<td class="imsum_right">For flow layouting (e.g. wrap-able labels). TODO: We might want to
 re-design this approach -- check XLayoutConstrains::calcAdjustedSize(). &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#hasHeightForWidth">hasHeightForWidth</a></td>
<td class="imsum_right">For flow layouting (e.g. wrap-able labels). TODO: We might want to
 re-design this approach -- check XLayoutConstrains::calcAdjustedSize(). &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="addChild" class="membertitle">addChild</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">void</td>
</tr>
<tr>
<td valign="top"><b>addChild</b>(</td>
<td valign="top">[in] <a href="XLayoutConstrains.html">XLayoutConstrains</a></td>
<td valign="bottom">&nbsp;Child )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="MaxChildrenException.html">MaxChildrenException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Adds a child. Some containers provide an interface for
 adding children which you should use. </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeChild" class="membertitle">removeChild</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">void</td>
</tr>
<tr>
<td valign="top"><b>removeChild</b>(</td>
<td valign="top">[in] <a href="XLayoutConstrains.html">XLayoutConstrains</a></td>
<td valign="bottom">&nbsp;Child );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Remove a child. Some containers provide an interface for
 adding children which you should use.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getChildren" class="membertitle">getChildren</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">sequence&lt; <a href="XLayoutConstrains.html">XLayoutConstrains</a> &gt;</td>
</tr>
<tr>
<td valign="top"><b>getChildren</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Returns a sequence of the children of this container. </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getChildProperties" class="membertitle">getChildProperties</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">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySet.html">XPropertySet</a></td>
</tr>
<tr>
<td valign="top"><b>getChildProperties</b>(</td>
<td valign="top">[in] <a href="XLayoutConstrains.html">XLayoutConstrains</a></td>
<td valign="bottom">&nbsp;Child );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Read/modify some child layout properties. XPropertySet provides a
 rich API that allows, e.g., for introspection.
 Should rarely be a need to use; containers shall provide an interface
 for setting properties more confortably. </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="setLayoutUnit" class="membertitle">setLayoutUnit</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">void</td>
</tr>
<tr>
<td valign="top"><b>setLayoutUnit</b>(</td>
<td valign="top">[in] <a href="XLayoutUnit.html">XLayoutUnit</a></td>
<td valign="bottom">&nbsp;Unit );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Set at initilization, this object should be notified when a containers state
 changes, that may affect its size, to queue a layout re-calculation. </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getLayoutUnit" class="membertitle">getLayoutUnit</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="XLayoutUnit.html">XLayoutUnit</a></td>
</tr>
<tr>
<td valign="top"><b>getLayoutUnit</b>();</td>
</tr>
</table>
<hr>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="allocateArea" class="membertitle">allocateArea</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">void</td>
</tr>
<tr>
<td valign="top"><b>allocateArea</b>(</td>
<td valign="top">[in] <a href="Rectangle.html">Rectangle</a></td>
<td valign="bottom">&nbsp;NewArea );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>To be used by the parent for the purpose of layout management. 
 For widgets, use XWindow::setPosSize() </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getRequestedSize" class="membertitle">getRequestedSize</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="Size.html">Size</a></td>
</tr>
<tr>
<td valign="top"><b>getRequestedSize</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Used by the layouting unit to evaluate size damage, and force a
 re-allocation. </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getAllocatedArea" class="membertitle">getAllocatedArea</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>getAllocatedArea</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Used by the layouting unit to evaluate size damage, and force a
 re-allocation. </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getHeightForWidth" class="membertitle">getHeightForWidth</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">long</td>
</tr>
<tr>
<td valign="top"><b>getHeightForWidth</b>(</td>
<td valign="top">[in] long</td>
<td valign="bottom">&nbsp;Width );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>For flow layouting (e.g. wrap-able labels). TODO: We might want to
 re-design this approach -- check XLayoutConstrains::calcAdjustedSize(). </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="hasHeightForWidth" class="membertitle">hasHeightForWidth</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">boolean</td>
</tr>
<tr>
<td valign="top"><b>hasHeightForWidth</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>For flow layouting (e.g. wrap-able labels). TODO: We might want to
 re-design this approach -- check XLayoutConstrains::calcAdjustedSize(). </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; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

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

</html>