GODPAPER | All Packages | All Classes | Index | Frames No Frames |
StageTextField

Package | feathers.text
Class | public final class StageTextField
Inheritance | StageTextField flash.events.EventDispatcher

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

Public Properties

| Property | Defined 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
|  | 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

| Method | Defined By
--- | --- | ---
|  | StageTextField(initOptions:Object = null) Constructor. | StageTextField
|  | assignFocus():void | StageTextField
|  | dispose():void | StageTextField
|  | drawViewPortToBitmapData(bitmap:BitmapData):void | StageTextField
|  | selectRange(anchorIndex:int, activeIndex:int):void | StageTextField

Property Detail

autoCapitalize | property

`autoCapitalize:String`

Implementation
`public function get autoCapitalize():String`
`public function set autoCapitalize(value:String):void`

autoCorrect | property |

`autoCorrect:Boolean`

Implementation
`public function get autoCorrect():Boolean`
`public function set autoCorrect(value:Boolean):void`

color | property |

`color:uint`

Implementation
`public function get color():uint`
`public function set color(value:uint):void`

displayAsPassword | property |

`displayAsPassword:Boolean`

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

editable | property |

`editable:Boolean`

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

fontFamily | property |

`fontFamily:String`

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

fontPosture | property |

`fontPosture:String`

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

fontSize | property |

`fontSize:int`

Implementation
`public function get fontSize():int`
`public function set fontSize(value:int):void`

fontWeight | property |

`fontWeight:String`

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

locale | property |

`locale:String`

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

maxChars | property |

`maxChars:int`

Implementation
`public function get maxChars():int`
`public function set maxChars(value:int):void`

restrict | property |

`restrict:String`

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

returnKeyLabel | property |

`returnKeyLabel:String`

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

selectionActiveIndex | property |

`selectionActiveIndex:int` [read-only]

Implementation
`public function get selectionActiveIndex():int`

selectionAnchorIndex | property |

`selectionAnchorIndex:int` [read-only]

Implementation
`public function get selectionAnchorIndex():int`

softKeyboardType | property |

`softKeyboardType:String`

Implementation
`public function get softKeyboardType():String`
`public function set softKeyboardType(value:String):void`

stage | property |

`stage:Stage`

Implementation
`public function get stage():Stage`
`public function set stage(value:Stage):void`

text | property |

`text:String`

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

textAlign | property |

`textAlign:String`

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

viewPort | property |

`viewPort:Rectangle`

Implementation
`public function get viewPort():Rectangle`
`public function set viewPort(value:Rectangle):void`

visible | property |

`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`

Thu Jan 16 2014, 01:11 PM +08:00