Packageflashx.textLayout.elements
Classpublic class CellCoordinates
InheritanceCellCoordinates Inheritance Object

Describes the location of table cell by row and column



Public Properties
 PropertyDefined By
  column : int
The column the cell belongs to
CellCoordinates
  row : int
The row the cell belongs to
CellCoordinates
  table : TableElement
CellCoordinates
Public Methods
 MethodDefined By
  
CellCoordinates(row:int, column:int, table:TableElement = null)
CellCoordinates
  
areEqual(coords1:CellCoordinates, coords2:CellCoordinates):Boolean
[static] Checks if two coordiates are in the same location
CellCoordinates
  
Creates a new CellCoordinates with the same row and column values
CellCoordinates
  
isValid():Boolean
Returns true if the column and row are greater than -1
CellCoordinates
Property Detail
columnproperty
column:int

The column the cell belongs to


Implementation
    public function get column():int
    public function set column(value:int):void
rowproperty 
row:int

The row the cell belongs to


Implementation
    public function get row():int
    public function set row(value:int):void
tableproperty 
public var table:TableElement

Constructor Detail
CellCoordinates()Constructor
public function CellCoordinates(row:int, column:int, table:TableElement = null)

Parameters
row:int
 
column:int
 
table:TableElement (default = null)
Method Detail
areEqual()method
public static function areEqual(coords1:CellCoordinates, coords2:CellCoordinates):Boolean

Checks if two coordiates are in the same location

Parameters

coords1:CellCoordinates
 
coords2:CellCoordinates

Returns
Boolean
clone()method 
public function clone():CellCoordinates

Creates a new CellCoordinates with the same row and column values

Returns
CellCoordinates
isValid()method 
public function isValid():Boolean

Returns true if the column and row are greater than -1

Returns
Boolean