<html> <head> <title>Interface XGridFieldDataSupplier</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="XGridFieldDataSupplier-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="#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">form</a> :: </p> </td> </tr> <tr> <td class="title"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">deprecated </td> <td width="50%" class="title">interface XGridFieldDataSupplier</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>provides access to the data of a GridControl </dd> <dd><p>You can retrieve the data type information and the data in a row.</p> <p>This interface allows to retrieve data even for rows which are not current, which is quite usefull, as normally, you can't affect the current row in a grid control without moving the cursor of the underlying ::com::sun::star::form::<a href="component/module-ix.html">component</a>::<a href="component/DataForm.html">DataForm</a>.</p> </dd> <dt><b>See also</b></dt> <dd><a href="XGrid.html">XGrid</a>, ::com::sun::star::form::<a href="control/module-ix.html">control</a>::<a href="control/GridControl.html">GridControl</a>, ::com::sun::star::form::<a href="component/module-ix.html">component</a>::<a href="component/GridControl.html">GridControl</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="#queryFieldDataType">queryFieldDataType</a></td> <td class="imsum_right">checks whether or not the content of the grid's columns can be retrieved in the requested format. </td> </tr> <tr> <td class="imsum_left"><a href="#queryFieldData">queryFieldData</a></td> <td class="imsum_right">retrieves the actual column data for the given row </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="queryFieldDataType" class="membertitle">queryFieldDataType</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< boolean ></td> </tr> <tr> <td valign="top"><b>queryFieldDataType</b>(</td> <td valign="top">[in] type</td> <td valign="bottom"> xType );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>checks whether or not the content of the grid's columns can be retrieved in the requested format. </dd> <dd><p>Not every cell content can be retrieved in every representation. For example, in a text column, you usually won't be able to retrieve the content as double.<br/> To check if the type you need is supported by the columns, use this method.</p> </dd> <dt><b>Returns</b></dt> <dd>A sequence of boolean flags. Each flag corresponds to the respective column, and <b>true</b> indicates that the column content can be retrieved in the requested format, <b>false</b> denies this. </dd> <dt><b>See also</b></dt> <dd><a href="XGridColumnFactory.html">XGridColumnFactory</a>, <a href="DataAwareControlModel.html">DataAwareControlModel</a>, <a href="XGridFieldDataSupplier.html">XGridFieldDataSupplier</a>::<a href="XGridFieldDataSupplier.html#queryFieldData">queryFieldData</a></dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="queryFieldData" class="membertitle">queryFieldData</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< any ></td> </tr> <tr> <td valign="top"><b>queryFieldData</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> nRow,</td> </tr> <tr> <td/><td valign="top">[in] type</td> <td valign="bottom"> xType );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>retrieves the actual column data for the given row </dd> <dd><p>If a column does not support the requested type, <b>NULL</b> is returned at the respective position.</p> </dd> <dt><b>See also</b></dt> <dd><a href="XGridFieldDataSupplier.html">XGridFieldDataSupplier</a>::<a href="XGridFieldDataSupplier.html#queryFieldDataType">queryFieldDataType</a></dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>