Language
	
	Asturianu (ast) 
	Català (ca) 
	Čeština (cs) 
	Dansk (da) 
	Deutsch (de) 
	
	English [US] (en-US) 
	Español (es) 
	Esperanto (eo) 
	Eesti keel (et) 
	Euskara (eu) 
	Français (fr) 
	Gàidhlig (gd) 
	Galego (gl) 
	Italiano (it) 
	Lietuvių (lt) 
	Magyar (hu) 
	Nederlands (nl) 
	Norsk (no) 
	Polski (pl) 
	Português [do Brasil] (pt-BR) 
	Português [Europeu] (pt) 
	Română (ro) 
	Slovenčina (sk) 
	Slovenščina (sl) 
	Suomi (fi) 
	Svenska (sv) 
	Yкраїнська (uk) 
	Tiếng Việt (vi) 
	Türkçe (tr) 
	ኦሮሚኛ (om) 
	Հայերեն (hy) 
	Ελληνικά (el) 
	български език (bg) 
	Русский (ru) 
	Cрпски [ћирилицом] (sr) 
	
	עברית (he) 
	हिन्दी (hi) 
	ភាសាខ្មែរ (km) 
	தமிழ் (ta) 
	ภาษาไทย (th) 
	简体中文 (zh-CN) 
	正體中文 (zh-TW) 
	日本語 (ja) 
	한국어 (ko) 
	 
	
  
  
    
     The Free and Open Productivity Suite
   
      
      
  
 
::  com  :: sun  :: star  :: awt  :: grid  :: 
 
 
interface XGridControl 
 
 
Description  
An interface to a control that displays a tabular data.
  
Since   
OOo 3.3  
See also  
UnoControlGrid  
 
 
 
 
 
Methods' Details 
 
getColumnAtPoint 
long 
 
getColumnAtPoint ( 
[in] long 
 X, 
 
[in] long 
 Y ); 
 
 
Description  
retrieves the column which a given point belongs to
  
Parameter X  
the ordinate of the point, in pixel coordinates.
  
Parameter Y  
the abscissa of the point, in pixel coordinates.
  
Returns  
the index of the column which the point lies in, or -1 if no column is under the given point.
  
 
 
 
 
 
getRowAtPoint 
long 
 
getRowAtPoint ( 
[in] long 
 X, 
 
[in] long 
 Y ); 
 
 
Description  
retrieves the row which a given point belongs to
  
Parameter X  
the ordinate of the point, in pixel coordinates.
  
Parameter Y  
the abscissa of the point, in pixel coordinates.
  
Returns  
the index of the row which the point lies in, or -1 if no row is under the given point.
  
 
 
 
 
 
getCurrentColumn 
 
Description  
returns the column index of the currently active cell
  
If the grid control's does not contain any cells (which happens if the grid column model does not contain any
 columns, or if grid data model does not contain any rows), then -1 is returned.
  
 
 
 
 
 
getCurrentRow 
 
Description  
returns the row index of the currently active cell
  
If the grid control's does not contain any cells (which happens if the grid column model does not contain any
 columns, or if grid data model does not contain any rows), then -1 is returned.
  
 
 
 
 
 
goToCell 
 
Description  
moves the cursor to the given cell
  
Parameter ColumnIndex  
the column index of the cell to activate.
  
Parameter RowIndex  
the row index of the cell to activate.
  
Throws  
::com::sun::star::lang::IndexOutOfBoundsException
 if either ColumnIndex or RowIndex are out of range.
  
Throws  
::com::sun::star::util::VetoException
 if moving the cursor to another cell is vetoed.
  
 
 
 
 
 
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.