Sophie

Sophie

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

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

<html>
<head>
<title>Service GridControl</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="GridControl-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="#IncludedServices" class="navisub">Included Services</a></td>
<td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td>
<td class="navisub">Properties' Summary</td>
<td class="navisub">Properties' 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">form</a> :: <a href="module-ix.html" class="namechain">control</a> :: </p>
</td>
</tr>
<tr>
<td class="title">service GridControl</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>describes a table-like control for displaying data.

 </dd>
<dd><p>The model of the control has to support the ::com::sun::star::form::<a href="../component/module-ix.html">component</a>::<a href="../component/GridControl.html">GridControl</a>
 service.</p>

 </dd>
<dt><b>See also</b></dt>
<dd>::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/UnoControl.html">UnoControl</a>, ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/UnoControlModel.html">UnoControlModel</a></dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="IncludedServices"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Included Services</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/UnoControl.html">UnoControl</a></td>
<td class="imsum_right"><dl>
<dt>(referenced entity's summary:)</dt>
<dd>specifies an abstract control. 
 
 </dd>
</dl>
</td>
</tr>
</table>
<a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../XBoundComponent.html">XBoundComponent</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>allows committing the content of the active cell of the control.
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../XGrid.html">XGrid</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>allows access to the active cell within the grid.

 </dd>
<dd><p>Only the column position can be modified using this interface, as the row position within
 a table control bound to a data source is given implicitly (by the cursor position of the data source).</p>
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../../util/module-ix.html">util</a>::<a href="../../util/XModifyBroadcaster.html">XModifyBroadcaster</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>used to broadcast modifications made by the user (within the active cell)
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../XGridFieldDataSupplier.html">XGridFieldDataSupplier</a></td>
<td class="imsum_right"><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>optional</i></dd>
<dt><b>Description</b></dt>
<dd>allows access to the field data of the grid's current row in different formats
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../../container/module-ix.html">container</a>::<a href="../../container/XIndexAccess.html">XIndexAccess</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>allows access to objects wrapping a single column
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../../container/module-ix.html">container</a>::<a href="../../container/XEnumerationAccess.html">XEnumerationAccess</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>allows creation of an enumeration for the column objects
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../../util/module-ix.html">util</a>::<a href="../../util/XModeSelector.html">XModeSelector</a></td>
<td class="imsum_right"><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>optional</i></dd>
<dt><b>Description</b></dt>
<dd>is used to switch the operating modes of the control.

 </dd>
<dd><p>Besides the normal opreration mode (which is used to display the database form's data) the control may
 for instance support a filter mode.</p>
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../../view/module-ix.html">view</a>::<a href="../../view/XSelectionSupplier.html">XSelectionSupplier</a></td>
<td class="imsum_right"><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>optional</i></dd>
<dt><b>Description</b></dt>
<dd>used to control the selection of rows in the grid control.

 </dd>
<dd><p>The selection used with the methods <method scope="com::sun::star::view">XSelectionSupplier::getSelection</method>
 and <method scope="com::sun::star::view">XSelectionSupplier::select</method> is a sequence of Any's.<br/>
 Here the elements of the Sequence are the bookmarks (in the <service scope="com::sun::star::sdb">RowSet</service>)
 of the (to-be-) selected rows.</p>
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../../frame/module-ix.html">frame</a>::<a href="../../frame/XDispatchProviderInterception.html">XDispatchProviderInterception</a></td>
<td class="imsum_right"><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>optional</i></dd>
<dt><b>Description</b></dt>
<dd>allows external components to register dispatchers for some common form actions.

 </dd>
<dd><p>A grid control can contain own UI elements for traveling within the database form it belongs to (This
 concept seems to make sense, as a grid control - in opposite to other data aware controls - displayes
 not only one record at a time, but a larger number of records of the database form.)<br/>
 With the help of this interface, external components which wish to handle such travelings themself can
 register interceptors for the actions in question.</p>

 <p>Usual URLs to use include
 <dl>
 <dt>.uno:FormSlots/moveToFirst</dt><dd> move the cursor to the first record</dd>
 <dt>.uno:FormSlots/moveToPrev</dt><dd> move the cursor to the previous record</dd>
 <dt>.uno:FormSlots/moveToNext</dt><dd> move the cursor to the next record</dd>
 <dt>.uno:FormSlots/moveToLast</dt><dd> move the cursor to the last record</dd>
 <dt>.uno:FormSlots/moveToNew</dt><dd> move the cursor to the (one and only) <em>new</em> record</dd>
 <dt>.uno:FormSlots/undoRecord</dt><dd> undo the changes done so far in the current record</dd>
 </dl>
 </p>

 <p>A concrete implementation of this service may offer more or less URLs, but if it offers some of the URLs
 above, it must stick to the meanings defined above.</p>
 </dd>
</dl>
</td>
</tr>
</table>
<br>&nbsp;<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>