module com { module sun { module star { module awt { module grid {
/** An interface to a control that displays a tabular data.
@seeUnoControlGrid
@sinceOOo3.3
*/
published interface XGridControl
{ /** retrieves the column which a given point belongs to
@paramX theordinateofthepoint,inpixelcoordinates. @paramY theabscissaofthepoint,inpixelcoordinates. @return theindexofthecolumnwhichthepointliesin,or-1ifnocolumnisunderthegivenpoint.
*/ long getColumnAtPoint( [in] long X, [in] long Y );
/** retrieves the row which a given point belongs to
@paramX theordinateofthepoint,inpixelcoordinates. @paramY theabscissaofthepoint,inpixelcoordinates. @return theindexoftherowwhichthepointliesin,or-1ifnorowisunderthegivenpoint.
*/ long getRowAtPoint( [in] long X, [in] long Y );
/** returns the column index of the currently active cell
<p>Ifthegridcontrol'sdoesnotcontainanycells(whichhappensifthegridcolumnmodeldoesnotcontainany columns,orifgriddatamodeldoesnotcontainanyrows),then<code>-1</code>isreturned.</p>
*/ long getCurrentColumn();
/** returns the row index of the currently active cell
<p>Ifthegridcontrol'sdoesnotcontainanycells(whichhappensifthegridcolumnmodeldoesnotcontainany columns,orifgriddatamodeldoesnotcontainanyrows),then<code>-1</code>isreturned.</p>
*/ long getCurrentRow();
/** moves the cursor to the given cell @paramColumnIndex thecolumnindexofthecelltoactivate. @paramRowIndex therowindexofthecelltoactivate. @throws::com::sun::star::lang::IndexOutOfBoundsException ifeither<code>ColumnIndex</code>or<code>RowIndex</code>areoutofrange. @throws::com::sun::star::util::VetoException ifmovingthecursortoanothercellisvetoed.
*/ void goToCell(
[in] long ColumnIndex,
[in] long RowIndex
)
raises ( ::com::sun::star::lang::IndexOutOfBoundsException
, ::com::sun::star::util::VetoException
);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.