Packagecom.gestureworks.cml.factories
Classpublic class TextFactory
InheritanceTextFactory Inheritance flash.text.TextField
Implements IElement, ICSS
Subclasses TextElement



Public Properties
 PropertyDefined By
  bottom : Number
TextFactory
  class_ : String
TextFactory
  className : String
TextFactory
  cmlIndex : int
TextFactory
  color : int
TextFactory
  font : String
TextFactory
  fontSize : Number
TextFactory
  heightPercent : String
TextFactory
  horizontalCenter : Number
TextFactory
  htmlText : String
[override]
TextFactory
  id : String
TextFactory
  index : int
TextFactory
  kerning : Boolean
TextFactory
  leading : Number
TextFactory
  left : Number
TextFactory
  letterSpacing : Number
TextFactory
  paddingBottom : Number
TextFactory
  paddingLeft : Number
TextFactory
  paddingRight : Number
TextFactory
  paddingTop : Number
TextFactory
  propertyStates : Array
TextFactory
  right : Number
TextFactory
  text : String
[override]
TextFactory
  textAlign : String
TextFactory
  textFormat : TextFormat
TextFactory
  textFormatColor : uint
TextFactory
  textSize : Number
TextFactory
  top : Number
TextFactory
  underline : Boolean
TextFactory
  verticalAlign : Boolean
TextFactory
  verticalCenter : Number
TextFactory
  widthPercent : String
TextFactory
  y : Number
[override]
TextFactory
Public Methods
 MethodDefined By
  
TextFactory
  
dispose():void
TextFactory
  
parseCML(cml:XMLList):XMLList
TextFactory
  
postparseCML(cml:XMLList):void
TextFactory
  
updateProperties(state:Number = 0):void
TextFactory
  
updateUI():void
TextFactory
Protected Methods
 MethodDefined By
  
commitUI():void
TextFactory
  
createUI():void
TextFactory
  
layoutText():void
TextFactory
  
layoutUI():void
TextFactory
  
updateText():void
TextFactory
  
TextFactory
Property Detail
bottomproperty
bottom:Number


Implementation
    public function get bottom():Number
    public function set bottom(value:Number):void
class_property 
class_:String


Implementation
    public function get class_():String
    public function set class_(value:String):void
classNameproperty 
className:String


Implementation
    public function get className():String
    public function set className(value:String):void
cmlIndexproperty 
cmlIndex:int


Implementation
    public function get cmlIndex():int
    public function set cmlIndex(value:int):void
colorproperty 
color:int


Implementation
    public function get color():int
    public function set color(value:int):void
fontproperty 
font:String


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


Implementation
    public function get fontSize():Number
    public function set fontSize(value:Number):void
heightPercentproperty 
heightPercent:String


Implementation
    public function get heightPercent():String
    public function set heightPercent(value:String):void
horizontalCenterproperty 
horizontalCenter:Number


Implementation
    public function get horizontalCenter():Number
    public function set horizontalCenter(value:Number):void
htmlTextproperty 
htmlText:String[override]


Implementation
    public function get htmlText():String
    public function set htmlText(value:String):void
idproperty 
id:String


Implementation
    public function get id():String
    public function set id(value:String):void
indexproperty 
index:int


Implementation
    public function get index():int
    public function set index(value:int):void
kerningproperty 
kerning:Boolean


Implementation
    public function get kerning():Boolean
    public function set kerning(value:Boolean):void
leadingproperty 
leading:Number


Implementation
    public function get leading():Number
    public function set leading(value:Number):void
leftproperty 
left:Number


Implementation
    public function get left():Number
    public function set left(value:Number):void
letterSpacingproperty 
letterSpacing:Number


Implementation
    public function get letterSpacing():Number
    public function set letterSpacing(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
propertyStatesproperty 
public var propertyStates:Array

rightproperty 
right:Number


Implementation
    public function get right():Number
    public function set right(value:Number):void
textproperty 
text:String[override]


Implementation
    public function get text():String
    public function set text(value:String):void
textAlignproperty 
textAlign:String


Implementation
    public function get textAlign():String
    public function set textAlign(value:String):void
textFormatproperty 
public var textFormat:TextFormat

textFormatColorproperty 
textFormatColor:uint


Implementation
    public function get textFormatColor():uint
    public function set textFormatColor(value:uint):void
textSizeproperty 
textSize:Number


Implementation
    public function get textSize():Number
    public function set textSize(value:Number):void
topproperty 
top:Number


Implementation
    public function get top():Number
    public function set top(value:Number):void
underlineproperty 
underline:Boolean


Implementation
    public function get underline():Boolean
    public function set underline(value:Boolean):void
verticalAlignproperty 
verticalAlign:Boolean


Implementation
    public function get verticalAlign():Boolean
    public function set verticalAlign(value:Boolean):void
verticalCenterproperty 
verticalCenter:Number


Implementation
    public function get verticalCenter():Number
    public function set verticalCenter(value:Number):void
widthPercentproperty 
widthPercent:String


Implementation
    public function get widthPercent():String
    public function set widthPercent(value:String):void
yproperty 
y:Number[override]


Implementation
    public function get y():Number
    public function set y(value:Number):void
Constructor Detail
TextFactory()Constructor
public function TextFactory()



Method Detail
commitUI()method
protected function commitUI():void

createUI()method 
protected function createUI():void

dispose()method 
public function dispose():void

layoutText()method 
protected function layoutText():void

layoutUI()method 
protected function layoutUI():void

parseCML()method 
public function parseCML(cml:XMLList):XMLList

Parameters

cml:XMLList

Returns
XMLList
postparseCML()method 
public function postparseCML(cml:XMLList):void

Parameters

cml:XMLList

updateProperties()method 
public function updateProperties(state:Number = 0):void

Parameters

state:Number (default = 0)

updateText()method 
protected function updateText():void

updateTextFormat()method 
protected function updateTextFormat():void

updateUI()method 
public function updateUI():void