Packageorg.purepdf.pdf.forms
Classpublic class FieldBase
InheritanceFieldBase Inheritance Object
Subclasses FieldText, PushbuttonField



Public Properties
 PropertyDefined By
  alignment : int
FieldBase
  backgroundColor : RGBColor
FieldBase
  borderColor : RGBColor
FieldBase
  borderStyle : int
FieldBase
  borderWidth : Number
FieldBase
  font : BaseFont
FieldBase
  fontSize : Number
FieldBase
  text : String
FieldBase
  textColor : RGBColor
FieldBase
Protected Properties
 PropertyDefined By
  _alignment : int = 0
FieldBase
  _backgroundColor : RGBColor
FieldBase
  _borderColor : RGBColor
FieldBase
  _borderStyle : int
FieldBase
  _borderWidth : Number = 1
FieldBase
  box : RectangleElement
FieldBase
  fieldName : String
FieldBase
  _font : BaseFont
FieldBase
  _fontSize : Number = 0
FieldBase
  maxCharacterLength : int
FieldBase
  options : int
FieldBase
  rotation : int = 0
FieldBase
  _text : String
FieldBase
  _textColor : RGBColor
FieldBase
  visibility : int = 0
FieldBase
  writer : PdfWriter
FieldBase
Public Methods
 MethodDefined By
  
FieldBase($writer:PdfWriter, $box:RectangleElement, $fieldName:String)
FieldBase
Protected Methods
 MethodDefined By
  
FieldBase
  
FieldBase
Public Constants
 ConstantDefined By
  BORDER_WIDTH_MEDIUM : Number = 2
[static]
FieldBase
  BORDER_WIDTH_THICK : Number = 3
[static]
FieldBase
  BORDER_WIDTH_THIN : Number = 1
[static]
FieldBase
  COMB : int
[static]
FieldBase
  DO_NOT_SCROLL : int
[static]
FieldBase
  DO_NOT_SPELL_CHECK : int
[static]
FieldBase
  EDIT : int
[static]
FieldBase
  FILE_SELECTION : int
[static]
FieldBase
  HIDDEN : int = 1
[static]
FieldBase
  HIDDEN_BUT_PRINTABLE : int = 3
[static]
FieldBase
  MULTILINE : int
[static]
FieldBase
  MULTISELECT : int
[static]
FieldBase
  PASSWORD : int
[static]
FieldBase
  READ_ONLY : int
[static]
FieldBase
  REQUIRED : int
[static]
FieldBase
  VISIBLE : int = 0
[static]
FieldBase
  VISIBLE_BUT_DOES_NOT_PRINT : int = 2
[static]
FieldBase
Property Detail
_alignmentproperty
protected var _alignment:int = 0

_backgroundColorproperty 
protected var _backgroundColor:RGBColor

_borderColorproperty 
protected var _borderColor:RGBColor

_borderStyleproperty 
protected var _borderStyle:int

_borderWidthproperty 
protected var _borderWidth:Number = 1

_fontproperty 
protected var _font:BaseFont

_fontSizeproperty 
protected var _fontSize:Number = 0

_textproperty 
protected var _text:String

_textColorproperty 
protected var _textColor:RGBColor

alignmentproperty 
alignment:int


Implementation
    public function get alignment():int
    public function set alignment(value:int):void
backgroundColorproperty 
backgroundColor:RGBColor


Implementation
    public function get backgroundColor():RGBColor
    public function set backgroundColor(value:RGBColor):void
borderColorproperty 
borderColor:RGBColor


Implementation
    public function get borderColor():RGBColor
    public function set borderColor(value:RGBColor):void
borderStyleproperty 
borderStyle:int


Implementation
    public function get borderStyle():int
    public function set borderStyle(value:int):void
borderWidthproperty 
borderWidth:Number


Implementation
    public function get borderWidth():Number
    public function set borderWidth(value:Number):void
boxproperty 
protected var box:RectangleElement

fieldNameproperty 
protected var fieldName:String

fontproperty 
font:BaseFont


Implementation
    public function get font():BaseFont
    public function set font(value:BaseFont):void
fontSizeproperty 
fontSize:Number


Implementation
    public function get fontSize():Number
    public function set fontSize(value:Number):void
maxCharacterLengthproperty 
protected var maxCharacterLength:int

optionsproperty 
protected var options:int

rotationproperty 
protected var rotation:int = 0

textproperty 
text:String


Implementation
    public function get text():String
    public function set text(value:String):void
textColorproperty 
textColor:RGBColor


Implementation
    public function get textColor():RGBColor
    public function set textColor(value:RGBColor):void
visibilityproperty 
protected var visibility:int = 0

writerproperty 
protected var writer:PdfWriter

Constructor Detail
FieldBase()Constructor
public function FieldBase($writer:PdfWriter, $box:RectangleElement, $fieldName:String)



Parameters
$writer:PdfWriter
 
$box:RectangleElement
 
$fieldName:String
Method Detail
getBorderAppearance()method
protected function getBorderAppearance():PdfAppearance

Returns
PdfAppearance
getRealFont()method 
protected function getRealFont():BaseFont

Returns
BaseFont

Throws
DocumentError
Constant Detail
BORDER_WIDTH_MEDIUMConstant
public static const BORDER_WIDTH_MEDIUM:Number = 2

BORDER_WIDTH_THICKConstant 
public static const BORDER_WIDTH_THICK:Number = 3

BORDER_WIDTH_THINConstant 
public static const BORDER_WIDTH_THIN:Number = 1

COMBConstant 
public static const COMB:int

DO_NOT_SCROLLConstant 
public static const DO_NOT_SCROLL:int

DO_NOT_SPELL_CHECKConstant 
public static const DO_NOT_SPELL_CHECK:int

EDITConstant 
public static const EDIT:int

FILE_SELECTIONConstant 
public static const FILE_SELECTION:int

HIDDENConstant 
public static const HIDDEN:int = 1

HIDDEN_BUT_PRINTABLEConstant 
public static const HIDDEN_BUT_PRINTABLE:int = 3

MULTILINEConstant 
public static const MULTILINE:int

MULTISELECTConstant 
public static const MULTISELECT:int

PASSWORDConstant 
public static const PASSWORD:int

READ_ONLYConstant 
public static const READ_ONLY:int

REQUIREDConstant 
public static const REQUIRED:int

VISIBLEConstant 
public static const VISIBLE:int = 0

VISIBLE_BUT_DOES_NOT_PRINTConstant 
public static const VISIBLE_BUT_DOES_NOT_PRINT:int = 2