Packageorg.purepdf.elements
Classpublic class SimpleCell
InheritanceSimpleCell Inheritance RectangleElement Inheritance Object
Implements IPdfPCellEvent, ITextElementaryArray



Public Properties
 PropertyDefined By
 InheritedbackgroundColor : RGBColor
RectangleElement
 Inheritedborder : int
RectangleElement
 InheritedborderColor : RGBColor
RectangleElement
 InheritedborderColorBottom : RGBColor
RectangleElement
 InheritedborderColorLeft : RGBColor
RectangleElement
 InheritedborderColorRight : RGBColor
RectangleElement
 InheritedborderColorTop : RGBColor
RectangleElement
 InheritedborderSides : int
[write-only] Enables/Disables the border on the specified sides.
RectangleElement
 InheritedborderWidth : Number
RectangleElement
 InheritedborderWidthBottom : Number
RectangleElement
 InheritedborderWidthLeft : Number
RectangleElement
 InheritedborderWidthRight : Number
RectangleElement
 InheritedborderWidthTop : Number
RectangleElement
  cellGroup : Boolean
SimpleCell
  colspan : uint
SimpleCell
  content : Vector.<IElement>
[read-only]
SimpleCell
 InheritedgrayFill : Number
RectangleElement
 Inheritedheight : Number
[read-only]
RectangleElement
  horizontalAlignment : int
SimpleCell
 InheritedisContent : Boolean
[read-only]
RectangleElement
 InheritedisNestable : Boolean
[read-only]
RectangleElement
  padding : Number
[write-only] Sets the padding parameters if they are undefined.
SimpleCell
  paddingBottom : Number
SimpleCell
  paddingLeft : Number
SimpleCell
  paddingRight : Number
SimpleCell
  paddingTop : Number
SimpleCell
 Inheritedrotation : int
[read-only]
RectangleElement
  spacing : Number
[write-only]
SimpleCell
  spacingBottom : Number
SimpleCell
  spacingLeft : Number
SimpleCell
  spacingRight : Number
SimpleCell
  spacingTop : Number
SimpleCell
  type : int
[override] [read-only]
SimpleCell
  useAscender : Boolean
SimpleCell
  useBorderPadding : Boolean
SimpleCell
  useDescender : Boolean
SimpleCell
 InheriteduseVariableBorders : Boolean
[read-only]
RectangleElement
  verticalAlignment : int
SimpleCell
  width : Number
[override]
SimpleCell
  widthpercentage : Number
SimpleCell
Protected Properties
 PropertyDefined By
 Inherited_backgroundColor : RGBColor = null
RectangleElement
 Inherited_border : int = -1
RectangleElement
 Inherited_borderColor : RGBColor = null
RectangleElement
 Inherited_borderColorBottom : RGBColor = null
RectangleElement
 Inherited_borderColorLeft : RGBColor = null
RectangleElement
 Inherited_borderColorRight : RGBColor = null
RectangleElement
 Inherited_borderColorTop : RGBColor = null
RectangleElement
 Inherited_borderWidth : Number = -1
RectangleElement
 Inherited_borderWidthBottom : Number = -1
RectangleElement
 Inherited_borderWidthLeft : Number = -1
RectangleElement
 Inherited_borderWidthRight : Number = -1
RectangleElement
 Inherited_borderWidthTop : Number = -1
RectangleElement
 Inheritedllx : Number
RectangleElement
 Inheritedlly : Number
RectangleElement
 Inherited_rotation : int = 0
RectangleElement
 Inheritedurx : Number
RectangleElement
 Inheritedury : Number
RectangleElement
  _useAscender : Boolean = false
SimpleCell
  _useBorderPadding : Boolean
SimpleCell
  _useDescender : Boolean = false
SimpleCell
 Inherited_useVariableBorders : Boolean = false
RectangleElement
  _width : Number = 0
SimpleCell
Public Methods
 MethodDefined By
  
SimpleCell(row:Boolean)
SimpleCell
  
add(o:Object):Boolean
SimpleCell
  
addElement(element:IElement):void
SimpleCell
  
cellLayout(cell:PdfPCell, position:RectangleElement, canvases:Vector.<PdfContentByte>):void
SimpleCell
 Inherited
[static]
RectangleElement
 Inherited
RectangleElement
  
Creates a PdfPCell with these attributes.
SimpleCell
 Inherited
disableBorderSide(side:int):void
RectangleElement
 Inherited
enableBorderSide(side:int):void
RectangleElement
 Inherited
getBottom(margin:Number = 0):Number
RectangleElement
 Inherited
getChunks():Vector.<Object>
RectangleElement
 Inherited
getLeft(margin:Number = 0):Number
RectangleElement
 Inherited
getRight(margin:Number = 0):Number
RectangleElement
 Inherited
getTop(margin:Number = 0):Number
RectangleElement
 Inherited
hasBorder(borderType:int):Boolean
RectangleElement
 Inherited
hasBorders():Boolean
RectangleElement
 Inherited
normalize():void
Normalizes the rectangle.
RectangleElement
 Inherited
process(listener:IElementListener):Boolean
RectangleElement
 Inherited
rectangle(top:Number, bottom:Number):RectangleElement
RectangleElement
 Inherited
rotate(value:uint = 90):RectangleElement
Return a new rotated RectangleElement ( rotation of the current rectangle plus the value passed )
RectangleElement
 Inherited
setBottom($lly:Number):void
RectangleElement
 Inherited
setLeft($llx:Number):void
RectangleElement
 Inherited
setRight($urx:Number):void
RectangleElement
 Inherited
setTop($ury:Number):void
RectangleElement
 Inherited
Copies each of the parameters, except the position
RectangleElement
 Inherited
toString():String
RectangleElement
Public Constants
 ConstantDefined By
 InheritedALL : int
[static]
RectangleElement
 InheritedBOTTOM : int = 2
[static]
RectangleElement
 InheritedBOX : int = 15.0
[static]
RectangleElement
  CELL : Boolean = false
[static]
SimpleCell
 InheritedLEFT : int = 4
[static]
RectangleElement
 InheritedNO_BORDER : int = 0
[static]
RectangleElement
 InheritedRIGHT : int = 8
[static]
RectangleElement
  ROW : Boolean = true
[static]
SimpleCell
 InheritedTOP : int = 1
[static]
RectangleElement
 InheritedUNDEFINED : int = -1
[static]
RectangleElement
Property Detail
_useAscenderproperty
protected var _useAscender:Boolean = false

_useBorderPaddingproperty 
protected var _useBorderPadding:Boolean

_useDescenderproperty 
protected var _useDescender:Boolean = false

_widthproperty 
protected var _width:Number = 0

cellGroupproperty 
cellGroup:Boolean


Implementation
    public function get cellGroup():Boolean
    public function set cellGroup(value:Boolean):void
colspanproperty 
colspan:uint


Implementation
    public function get colspan():uint
    public function set colspan(value:uint):void
contentproperty 
content:Vector.<IElement>  [read-only]


Implementation
    public function get content():Vector.<IElement>
horizontalAlignmentproperty 
horizontalAlignment:int


Implementation
    public function get horizontalAlignment():int
    public function set horizontalAlignment(value:int):void
paddingproperty 
padding:Number  [write-only]

Sets the padding parameters if they are undefined.


Implementation
    public function set padding(value:Number):void
paddingBottomproperty 
paddingBottom:Number


Implementation
    public function get paddingBottom():Number
    public function set paddingBottom(value:Number):void
paddingLeftproperty 
paddingLeft:Number


Implementation
    public function get paddingLeft():Number
    public function set paddingLeft(value:Number):void
paddingRightproperty 
paddingRight:Number


Implementation
    public function get paddingRight():Number
    public function set paddingRight(value:Number):void
paddingTopproperty 
paddingTop:Number


Implementation
    public function get paddingTop():Number
    public function set paddingTop(value:Number):void
spacingproperty 
spacing:Number  [write-only]


Implementation
    public function set spacing(value:Number):void
spacingBottomproperty 
spacingBottom:Number


Implementation
    public function get spacingBottom():Number
    public function set spacingBottom(value:Number):void
spacingLeftproperty 
spacingLeft:Number


Implementation
    public function get spacingLeft():Number
    public function set spacingLeft(value:Number):void
spacingRightproperty 
spacingRight:Number


Implementation
    public function get spacingRight():Number
    public function set spacingRight(value:Number):void
spacingTopproperty 
spacingTop:Number


Implementation
    public function get spacingTop():Number
    public function set spacingTop(value:Number):void
typeproperty 
type:int  [read-only] [override]


Implementation
    public function get type():int
useAscenderproperty 
useAscender:Boolean


Implementation
    public function get useAscender():Boolean
    public function set useAscender(value:Boolean):void
useBorderPaddingproperty 
useBorderPadding:Boolean


Implementation
    public function get useBorderPadding():Boolean
    public function set useBorderPadding(value:Boolean):void
useDescenderproperty 
useDescender:Boolean


Implementation
    public function get useDescender():Boolean
    public function set useDescender(value:Boolean):void
verticalAlignmentproperty 
verticalAlignment:int


Implementation
    public function get verticalAlignment():int
    public function set verticalAlignment(value:int):void
widthproperty 
width:Number[override]


Implementation
    public function get width():Number
    public function set width(value:Number):void
widthpercentageproperty 
widthpercentage:Number


Implementation
    public function get widthpercentage():Number
    public function set widthpercentage(value:Number):void
Constructor Detail
SimpleCell()Constructor
public function SimpleCell(row:Boolean)



Parameters
row:Boolean
Method Detail
add()method
public function add(o:Object):Boolean

Parameters

o:Object

Returns
Boolean
addElement()method 
public function addElement(element:IElement):void

Parameters

element:IElement


Throws
BadElementError
cellLayout()method 
public function cellLayout(cell:PdfPCell, position:RectangleElement, canvases:Vector.<PdfContentByte>):void

Parameters

cell:PdfPCell
 
position:RectangleElement
 
canvases:Vector.<PdfContentByte>

createPdfPCell()method 
public function createPdfPCell(rowAttributes:SimpleCell):PdfPCell

Creates a PdfPCell with these attributes.

Parameters

rowAttributes:SimpleCell

Returns
PdfPCell
Constant Detail
CELLConstant
public static const CELL:Boolean = false

ROWConstant 
public static const ROW:Boolean = true