Packageorg.alivepdf.grid
Classpublic class Grid
InheritanceGrid Inheritance Object



Public Properties
 PropertyDefined By
  alternativeCellColor : IColor
[read-only]
Grid
  borderAlpha : Number
[read-only]
Grid
  borderColor : IColor
[read-only]
Grid
  cellColor : IColor
[read-only]
Grid
  cells : Array
[read-only]
Grid
  columns : Array
Grid
  dataProvider : Array
[read-only]
Grid
  headerColor : IColor
[read-only]
Grid
  headerHeight : int
[read-only]
Grid
  height : Number
[read-only]
Grid
  joints : String
[read-only]
Grid
  rowHeight : int
[read-only]
Grid
  useAlternativeRowColor : Boolean
[read-only]
Grid
  width : Number
[read-only]
Grid
  x : int
Grid
  y : int
Grid
Public Methods
 MethodDefined By
  
Grid(data:Array, width:Number, height:Number, headerColor:IColor, cellColor:IColor = null, useAlternativeRowColor:Boolean = false, alternativeCellColor:IColor = null, borderColor:IColor = null, borderAlpha:Number = 1, headerHeight:int = 5, rowHeight:int = 5, joints:String = 0 j, columns:Array = null)
Grid
  
export(type:String = csv):ByteArray
Grid
  
Grid
  
generateColumns(force:Boolean = false, headerAlign:String = L, cellAlign:String = L):void
Grid
  
toString():String
Grid
Property Detail
alternativeCellColorproperty
alternativeCellColor:IColor  [read-only]


Implementation
    public function get alternativeCellColor():IColor
borderAlphaproperty 
borderAlpha:Number  [read-only]


Implementation
    public function get borderAlpha():Number
borderColorproperty 
borderColor:IColor  [read-only]


Implementation
    public function get borderColor():IColor
cellColorproperty 
cellColor:IColor  [read-only]


Implementation
    public function get cellColor():IColor
cellsproperty 
cells:Array  [read-only]


Implementation
    public function get cells():Array
columnsproperty 
columns:Array


Implementation
    public function get columns():Array
    public function set columns(value:Array):void
dataProviderproperty 
dataProvider:Array  [read-only]


Implementation
    public function get dataProvider():Array
headerColorproperty 
headerColor:IColor  [read-only]


Implementation
    public function get headerColor():IColor
headerHeightproperty 
headerHeight:int  [read-only]


Implementation
    public function get headerHeight():int
heightproperty 
height:Number  [read-only]


Implementation
    public function get height():Number
jointsproperty 
joints:String  [read-only]


Implementation
    public function get joints():String
rowHeightproperty 
rowHeight:int  [read-only]


Implementation
    public function get rowHeight():int
useAlternativeRowColorproperty 
useAlternativeRowColor:Boolean  [read-only]


Implementation
    public function get useAlternativeRowColor():Boolean
widthproperty 
width:Number  [read-only]


Implementation
    public function get width():Number
xproperty 
x:int


Implementation
    public function get x():int
    public function set x(value:int):void
yproperty 
y:int


Implementation
    public function get y():int
    public function set y(value:int):void
Constructor Detail
Grid()Constructor
public function Grid(data:Array, width:Number, height:Number, headerColor:IColor, cellColor:IColor = null, useAlternativeRowColor:Boolean = false, alternativeCellColor:IColor = null, borderColor:IColor = null, borderAlpha:Number = 1, headerHeight:int = 5, rowHeight:int = 5, joints:String = 0 j, columns:Array = null)



Parameters
data:Array
 
width:Number
 
height:Number
 
headerColor:IColor
 
cellColor:IColor (default = null)
 
useAlternativeRowColor:Boolean (default = false)
 
alternativeCellColor:IColor (default = null)
 
borderColor:IColor (default = null)
 
borderAlpha:Number (default = 1)
 
headerHeight:int (default = 5)
 
rowHeight:int (default = 5)
 
joints:String (default = 0 j)
 
columns:Array (default = null)
Method Detail
export()method
public function export(type:String = csv):ByteArray

Parameters

type:String (default = csv)

Returns
ByteArray
generateCells()method 
public function generateCells():void

generateColumns()method 
public function generateColumns(force:Boolean = false, headerAlign:String = L, cellAlign:String = L):void

Parameters

force:Boolean (default = false)
 
headerAlign:String (default = L)
 
cellAlign:String (default = L)

toString()method 
public function toString():String

Returns
String