Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
CellPosition

Package | spark.components.gridClasses
Class | public class CellPosition
Inheritance | CellPosition Object

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | Flash Player 10, AIR 2.5

The CellPosition class defines a data structure used by the Spark data grid classes to represent selected cells in the control. Each selected cell is represented by an instance of this class.

See also

spark.components.DataGrid.selectedCell
spark.components.DataGrid.selectedCells
spark.components.Grid.selectedCell
spark.components.Grid.selectedCells

Public Properties

| Property | Defined By
--- | --- | ---
|  | columnIndex : int The 0-based column index of the cell. | CellPosition
|  | rowIndex : int The 0-based row index of the cell. | CellPosition

Public Methods

| Method | Defined By
--- | --- | ---
|  | CellPosition(rowIndex:int = -1, columnIndex:int = -1) Constructor. | CellPosition

Property Detail

columnIndex | property

`columnIndex:int`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | Flash Player 10, AIR 2.5

The 0-based column index of the cell. A value of -1 indicates that the value is not set.

The default value is `-1`.

Implementation
`public function get columnIndex():int`
`public function set columnIndex(value:int):void`

rowIndex | property |

`rowIndex:int`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | Flash Player 10, AIR 2.5

The 0-based row index of the cell. A value of -1 indicates that the value is not set.

The default value is `-1`.

Implementation
`public function get rowIndex():int`
`public function set rowIndex(value:int):void`
Constructor Detail

CellPosition | () | Constructor

`public function CellPosition(rowIndex:int = -1, columnIndex:int = -1)`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | Flash Player 10, AIR 2.5

Constructor.

Parameters

| `rowIndex:int` (default = `-1`)`` — The 0-based row index of the cell. A value of -1 indicates that the value is not set.
| `columnIndex:int` (default = `-1`)`` — The 0-based column index of the cell. A value of -1 indicates that the value is not set.

Wed Nov 15 2017, 09:50 AM +01:00