Packagefeathers.text
Classpublic final class StageTextField
InheritanceStageTextField Inheritance flash.events.EventDispatcher

Product Version : Feathers 1.0.0

A StageText replacement for Flash Player with matching properties, since StageText is only available in AIR.



Public Properties
 PropertyDefined By
  autoCapitalize : String
StageTextField
  autoCorrect : Boolean
StageTextField
  color : uint
StageTextField
  displayAsPassword : Boolean
StageTextField
  editable : Boolean
StageTextField
  fontFamily : String
StageTextField
  fontPosture : String
StageTextField
  fontSize : int
StageTextField
  fontWeight : String
StageTextField
  locale : String
StageTextField
  maxChars : int
StageTextField
  multiline : Boolean
[read-only]
StageTextField
  restrict : String
StageTextField
  returnKeyLabel : String
StageTextField
  selectionActiveIndex : int
[read-only]
StageTextField
  selectionAnchorIndex : int
[read-only]
StageTextField
  softKeyboardType : String
StageTextField
  stage : Stage
StageTextField
  text : String
StageTextField
  textAlign : String
StageTextField
  viewPort : Rectangle
StageTextField
  visible : Boolean
StageTextField
Public Methods
 MethodDefined By
  
StageTextField(initOptions:Object = null)
Constructor.
StageTextField
  
StageTextField
  
dispose():void
StageTextField
  
drawViewPortToBitmapData(bitmap:BitmapData):void
StageTextField
  
selectRange(anchorIndex:int, activeIndex:int):void
StageTextField
Property Detail
autoCapitalizeproperty
autoCapitalize:String


Implementation
    public function get autoCapitalize():String
    public function set autoCapitalize(value:String):void
autoCorrectproperty 
autoCorrect:Boolean


Implementation
    public function get autoCorrect():Boolean
    public function set autoCorrect(value:Boolean):void
colorproperty 
color:uint


Implementation
    public function get color():uint
    public function set color(value:uint):void
displayAsPasswordproperty 
displayAsPassword:Boolean


Implementation
    public function get displayAsPassword():Boolean
    public function set displayAsPassword(value:Boolean):void
editableproperty 
editable:Boolean


Implementation
    public function get editable():Boolean
    public function set editable(value:Boolean):void
fontFamilyproperty 
fontFamily:String


Implementation
    public function get fontFamily():String
    public function set fontFamily(value:String):void
fontPostureproperty 
fontPosture:String


Implementation
    public function get fontPosture():String
    public function set fontPosture(value:String):void
fontSizeproperty 
fontSize:int


Implementation
    public function get fontSize():int
    public function set fontSize(value:int):void
fontWeightproperty 
fontWeight:String


Implementation
    public function get fontWeight():String
    public function set fontWeight(value:String):void
localeproperty 
locale:String


Implementation
    public function get locale():String
    public function set locale(value:String):void
maxCharsproperty 
maxChars:int


Implementation
    public function get maxChars():int
    public function set maxChars(value:int):void
multilineproperty 
multiline:Boolean  [read-only]


Implementation
    public function get multiline():Boolean
restrictproperty 
restrict:String


Implementation
    public function get restrict():String
    public function set restrict(value:String):void
returnKeyLabelproperty 
returnKeyLabel:String


Implementation
    public function get returnKeyLabel():String
    public function set returnKeyLabel(value:String):void
selectionActiveIndexproperty 
selectionActiveIndex:int  [read-only]


Implementation
    public function get selectionActiveIndex():int
selectionAnchorIndexproperty 
selectionAnchorIndex:int  [read-only]


Implementation
    public function get selectionAnchorIndex():int
softKeyboardTypeproperty 
softKeyboardType:String


Implementation
    public function get softKeyboardType():String
    public function set softKeyboardType(value:String):void
stageproperty 
stage:Stage


Implementation
    public function get stage():Stage
    public function set stage(value:Stage):void
textproperty 
text:String


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
viewPortproperty 
viewPort:Rectangle


Implementation
    public function get viewPort():Rectangle
    public function set viewPort(value:Rectangle):void
visibleproperty 
visible:Boolean


Implementation
    public function get visible():Boolean
    public function set visible(value:Boolean):void
Constructor Detail
StageTextField()Constructor
public function StageTextField(initOptions:Object = null)

Constructor.

Parameters
initOptions:Object (default = null)
Method Detail
assignFocus()method
public function assignFocus():void

dispose()method 
public function dispose():void

drawViewPortToBitmapData()method 
public function drawViewPortToBitmapData(bitmap:BitmapData):void

Parameters

bitmap:BitmapData

selectRange()method 
public function selectRange(anchorIndex:int, activeIndex:int):void

Parameters

anchorIndex:int
 
activeIndex:int