Packagespark.components.gridClasses
Classpublic class CellPosition
InheritanceCellPosition Inheritance 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
 PropertyDefined 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
 MethodDefined By
  
CellPosition(rowIndex:int = -1, columnIndex:int = -1)
Constructor.
CellPosition
Property Detail
columnIndexproperty
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
rowIndexproperty 
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.