ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
spark.components.gridClasses 

CellPosition  - AS3 Flex

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.

Related API Elements



Public Properties
 PropertyDefined By
  columnIndex : int
The 0-based column index of the cell.
CellPosition
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  rowIndex : int
The 0-based row index of the cell.
CellPosition
Public Methods
 MethodDefined By
  
CellPosition(rowIndex:int = -1, columnIndex:int = -1)
Constructor.
CellPosition
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
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.