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.
|
|
Copyright © 1995, 2012, 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.