<html> <head> <title>Service UnoControlGrid</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="UnoControlGrid-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="#ServicesSummary" class="navisub">Services' Summary</a></td> <td class="navisub"><a href="#InterfacesSummary" class="navisub">Interfaces' Summary</a></td> <td class="navisub">Properties' Summary</td> <td class="navisub"><a href="#ServicesDetails" class="navisub">Services' Details</a></td> <td class="navisub"><a href="#InterfacesDetails" class="navisub">Interfaces' Details</a></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">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">service UnoControlGrid</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Usage Restrictions</b></dt> <dd><i>not published</i></dd> <dt><b>Description</b></dt> <dd>A control that displays a set of tabular data. </dd> <dd><p> <h4>The Column Model</h4> <p>The horizontal structure of the grid is defined by the <a href="XGridColumnModel.html">XGridColumnModel</a> implemented in <a href="DefaultGridColumnModel.html">DefaultGridColumnModel</a> The <a href="XGridColumn.html">XGridColumn</a> implemented in the properties and behavior of a single column. Use the <a href="XGridColumnModel.html">XGridColumnModel</a>::<a href="XGridColumnModel.html#addColumn">addColumn()</a> to add a column to the column model. </p> <p> <h4>The Data Model</h4> <p> All row data are stored in the <a href="XGridDataModel.html">XGridDataModel</a>. Use the <a href="DefaultGridDataModel.html">DefaultGridDataModel</a> to add <a href="XGridDataModel.html">XGridDataModel</a>::<a href="XGridDataModel.html#addRow">addRow()</a> or remove <a href="XGridDataModel.html">XGridDataModel</a>::<a href="XGridDataModel.html#removeRow">removeRow()</a> rows. </p> <p>The column and data model must be set at the <a href="UnoControlGridModel.html">UnoControlGridModel</a>::<a href="UnoControlGridModel.html#ColumnModel">ColumnModel</a> and <a href="UnoControlGridModel.html">UnoControlGridModel</a>::<a href="UnoControlGridModel.html#GridDataModel">GridDataModel</a> properties.</p> <h4>Selection</h4> <p>If you are interested in knowing when the selection changes implement a <a href="XGridSelectionListener.html">XGridSelectionListener</a> and add the instance with the method <a href="XGridSelection.html">XGridSelection</a>::<a href="XGridSelection.html#addSelectionListener">addSelectionListener()</a>. You than will be notified for any selection change. The <a href="XGridSelection.html">XGridSelection</a> interface provides a bunch of methods to set and get selection for the grid control. </p> </dd> </dl> </td> </tr> </table> <hr> <a name="ServicesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Included Services - Summary</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../module-ix.html">awt</a>::<a href="../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="InterfacesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces - Summary</td> </tr> <tr> <td class="imsum_left"><a href="XGridControl.html">XGridControl</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>An interface to a control that displays a tabular data. </dd> </dl> </td> </tr> </table> <a name="ServicesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Included Services - Details</td> </tr> <tr/> <tr> <td class="imdetail"><a name="UnoControl" class="membertitle">::com::sun::star::<a href="../module-ix.html">awt</a>::<a href="../UnoControl.html">UnoControl</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><dl> <dt>(referenced entity's summary:)</dt> <dd>specifies an abstract control. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a name="InterfacesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces - Details</td> </tr> <tr/> <tr> <td class="imdetail"><a name="XGridControl" class="membertitle"><a href="XGridControl.html">XGridControl</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td><dl> <dt>(referenced entity's summary:)</dt> <dd>An interface to a control that displays a tabular data. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 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>