Sophie

Sophie

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

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

<html>
<head>
<title>Interface XGridDataModel</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="XGridDataModel-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"><a href="#AttributesSummary" class="navisub">Attributes' Summary</a></td>
<td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td>
<td class="navisub"><a href="#AttributesDetails" class="navisub">Attributes' Details</a></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> :: <a href="module-ix.html" class="namechain">grid</a> :: </p>
</td>
</tr>
<tr>
<td class="title"><table class="title-table" width="99%">
<tr>
<td width="25%" class="title2">unpublished </td>
<td width="50%" class="title">interface XGridDataModel</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Base Interfaces</b></dt>
<dd><pre style="font-family:monospace;"><strong>XGridDataModel</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>Usage Restrictions</b></dt>
<dd><i>not published</i></dd>
<dt><b>Description</b></dt>
<dd>An instance of this interface is used by the <a href="UnoControlGrid.html">UnoControlGrid</a> to
 retrieve the content data that is displayed in the actual control.

 If you do not need your own model implementation, you can also use the <a href="DefaultGridDataModel.html">DefaultGridDataModel</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="#getRowCount">getRowCount</a></td>
<td class="imsum_right">Returns the number of rows in in the model.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addRow">addRow</a></td>
<td class="imsum_right">Adds a row to the model.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeRow">removeRow</a></td>
<td class="imsum_right">Removes a row from the model.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeAll">removeAll</a></td>
<td class="imsum_right">Removes all rows from the model.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addDataListener">addDataListener</a></td>
<td class="imsum_right">Adds a listener for the <a href="GridDataEvent.html">GridDataEvent</a> posted after the grid changes.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeDataListener">removeDataListener</a></td>
<td class="imsum_right">Removes a listener previously added with <method>addDataListener()</method>.
 &nbsp;</td>
</tr>
</table>
<a name="AttributesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Attributes' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#RowHeight">RowHeight</a></td>
<td class="imsum_right">Specifies the height of each row.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#RowHeaders">RowHeaders</a></td>
<td class="imsum_right">Contains the row header.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#Data">Data</a></td>
<td class="imsum_right">Returns the content of each row.
 &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="getRowCount" class="membertitle">getRowCount</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>getRowCount</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Returns the number of rows in in the model.
 </dd>
<dt><b>Returns</b></dt>
<dd>the number of rows.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addRow" class="membertitle">addRow</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>addRow</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;headername,</td>
</tr>
<tr>
<td/><td valign="top">[in] sequence&lt; string &gt;</td>
<td valign="bottom">&nbsp;data );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Adds a row to the model.

 </dd>
<dt><b>Parameter headername</b></dt>
<dd>specifies the name of the row. 
 </dd>
<dt><b>Parameter data</b></dt>
<dd>the content of the row.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeRow" class="membertitle">removeRow</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>removeRow</b>(</td>
<td valign="top">[in] long</td>
<td valign="bottom">&nbsp;index );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Removes a row from the model.

 </dd>
<dt><b>Parameter index</b></dt>
<dd>the index of the row that should be removed.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeAll" class="membertitle">removeAll</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>removeAll</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Removes all rows from the model.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="addDataListener" class="membertitle">addDataListener</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>addDataListener</b>(</td>
<td valign="top">[in] <a href="XGridDataListener.html">XGridDataListener</a></td>
<td valign="bottom">&nbsp;listener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Adds a listener for the <a href="GridDataEvent.html">GridDataEvent</a> posted after the grid changes.
 </dd>
<dt><b>Parameter Listener</b></dt>
<dd>the listener to add.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeDataListener" class="membertitle">removeDataListener</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>removeDataListener</b>(</td>
<td valign="top">[in] <a href="XGridDataListener.html">XGridDataListener</a></td>
<td valign="bottom">&nbsp;listener );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Removes a listener previously added with <method>addDataListener()</method>.
 </dd>
<dt><b>Parameter Listener</b></dt>
<dd>the listener to remove.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a name="AttributesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Attributes' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="RowHeight" class="membertitle">RowHeight</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>long <b>RowHeight</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Specifies the height of each row.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="RowHeaders" class="membertitle">RowHeaders</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>sequence&lt; string &gt; <b>RowHeaders</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Contains the row header.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="Data" class="membertitle">Data</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>[ readonly ] sequence&lt; sequence&lt; string &gt; &gt; <b>Data</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Returns the content of each row.
 </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>