Packagespark.components.gridClasses
Classpublic class CellRegion
InheritanceCellRegion Inheritance Object

Language Version : ActionScript 3.0
Product Version : Flex 4.5
Runtime Versions : Flash Player 10, AIR 2.5

The CellRegion class defines a data structure used by the Spark data grid classes to represent a rectangular region of cells in the control. The origin of the region is specified by the rowIndex and columnIndex properties. The extent of the region is specified by the rowCount and the columnCount properties.

See also

spark.components.DataGrid
spark.components.Grid


Public Properties
 PropertyDefined By
  columnCount : int
The number of columns in the cell region.
CellRegion
  columnIndex : int
The 0-based column index of the origin of the cell region.
CellRegion
  rowCount : int
The number of rows in the cell region.
CellRegion
  rowIndex : int
The 0-based row index of the origin of the cell region.
CellRegion
Public Methods
 MethodDefined By
  
CellRegion(rowIndex:int = -1, columnIndex:int = -1, rowCount:int = 0, columnCount:int = 0)
Constructor.
CellRegion
Property Detail
columnCountproperty
columnCount:int

Language Version : ActionScript 3.0
Product Version : Flex 4.5
Runtime Versions : Flash Player 10, AIR 2.5

The number of columns in the cell region.

The default value is 0.


Implementation
    public function get columnCount():int
    public function set columnCount(value:int):void
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 origin of the cell region. 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
rowCountproperty 
rowCount:int

Language Version : ActionScript 3.0
Product Version : Flex 4.5
Runtime Versions : Flash Player 10, AIR 2.5

The number of rows in the cell region.

The default value is 0.


Implementation
    public function get rowCount():int
    public function set rowCount(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 origin of the cell region. 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
CellRegion()Constructor
public function CellRegion(rowIndex:int = -1, columnIndex:int = -1, rowCount:int = 0, columnCount:int = 0)

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 origin cell. A value of -1 indicates that the value is not set.
 
columnIndex:int (default = -1) — The 0-based column index of the origin cell. A value of -1 indicates that the value is not set.
 
rowCount:int (default = 0) — The number of rows in the cell region.
 
columnCount:int (default = 0) — The number of columns in the cell region.