Property | Defined By | ||
---|---|---|---|
bgColor : uint | TextInput | ||
caretIndex : int [read-only] | TextInput | ||
disabledAlpha : Number | TextInput | ||
editable : Boolean | TextInput | ||
embedFonts : Boolean | TextInput | ||
enabled : Boolean | TextInput | ||
extraShadowColor : uint | TextInput | ||
hasExtraShadow : Boolean | TextInput | ||
hasInset : Boolean | TextInput | ||
hasShadow : Boolean | TextInput | ||
height : Number [override] | TextInput | ||
insetColor : uint | TextInput | ||
insetColorAlpha : Number | TextInput | ||
isPassword : Boolean | TextInput | ||
length : int [read-only] | TextInput | ||
maxChars : uint | TextInput | ||
restrict : String [write-only] | TextInput | ||
selectable : Boolean | TextInput | ||
selectedText : String [read-only] | TextInput | ||
selectionBeginIndex : int [read-only] | TextInput | ||
selectionEndIndex : int [read-only] | TextInput | ||
shadowColor : uint | TextInput | ||
text : String | TextInput | ||
textBG : Shape | TextInput | ||
textColor : uint | TextInput | ||
textField : TextField [read-only] | TextInput | ||
textFieldPaddingLeft : Number | TextInput | ||
textFieldPaddingTop : Number | TextInput | ||
textFormat : TextFormat | TextInput | ||
textHeight : Number [read-only] | TextInput | ||
textWidth : Number [read-only] | TextInput | ||
width : Number [override] | TextInput |
Method | Defined By | ||
---|---|---|---|
TextInput(buildDefault:Boolean = true) | TextInput | ||
appendText(newText:String):void | TextInput | ||
build():void | TextInput | ||
cleanup():void | TextInput | ||
getTextFormat():TextFormat | TextInput | ||
replaceSelectedText(value:String):void | TextInput | ||
replaceText(beginIndex:int, endIndex:int, newText:String):void | TextInput | ||
setSelection(beginIndex:int, endIndex:int):void | TextInput | ||
setTextFormat(format:TextFormat):void | TextInput |
Event | Summary | Defined By | ||
---|---|---|---|---|
TextInput |
bgColor | property |
bgColor:uint
public function get bgColor():uint
public function set bgColor(value:uint):void
caretIndex | property |
caretIndex:int
[read-only] public function get caretIndex():int
disabledAlpha | property |
disabledAlpha:Number
public function get disabledAlpha():Number
public function set disabledAlpha(value:Number):void
editable | property |
editable:Boolean
public function get editable():Boolean
public function set editable(value:Boolean):void
embedFonts | property |
embedFonts:Boolean
public function get embedFonts():Boolean
public function set embedFonts(value:Boolean):void
enabled | property |
enabled:Boolean
public function get enabled():Boolean
public function set enabled(value:Boolean):void
extraShadowColor | property |
extraShadowColor:uint
public function get extraShadowColor():uint
public function set extraShadowColor(value:uint):void
hasExtraShadow | property |
hasExtraShadow:Boolean
public function get hasExtraShadow():Boolean
public function set hasExtraShadow(value:Boolean):void
hasInset | property |
hasInset:Boolean
public function get hasInset():Boolean
public function set hasInset(value:Boolean):void
hasShadow | property |
hasShadow:Boolean
public function get hasShadow():Boolean
public function set hasShadow(value:Boolean):void
height | property |
height:Number
[override] public function get height():Number
public function set height(value:Number):void
insetColor | property |
insetColor:uint
public function get insetColor():uint
public function set insetColor(value:uint):void
insetColorAlpha | property |
insetColorAlpha:Number
public function get insetColorAlpha():Number
public function set insetColorAlpha(value:Number):void
isPassword | property |
isPassword:Boolean
public function get isPassword():Boolean
public function set isPassword(value:Boolean):void
length | property |
length:int
[read-only] public function get length():int
maxChars | property |
maxChars:uint
public function get maxChars():uint
public function set maxChars(value:uint):void
restrict | property |
restrict:String
[write-only] public function set restrict(value:String):void
selectable | property |
selectable:Boolean
public function get selectable():Boolean
public function set selectable(value:Boolean):void
selectedText | property |
selectedText:String
[read-only] public function get selectedText():String
selectionBeginIndex | property |
selectionBeginIndex:int
[read-only] public function get selectionBeginIndex():int
selectionEndIndex | property |
selectionEndIndex:int
[read-only] public function get selectionEndIndex():int
shadowColor | property |
shadowColor:uint
public function get shadowColor():uint
public function set shadowColor(value:uint):void
text | property |
text:String
public function get text():String
public function set text(value:String):void
textBG | property |
textBG:Shape
public function get textBG():Shape
public function set textBG(value:Shape):void
textColor | property |
textColor:uint
public function get textColor():uint
public function set textColor(value:uint):void
textField | property |
textField:TextField
[read-only] public function get textField():TextField
textFieldPaddingLeft | property |
textFieldPaddingLeft:Number
public function get textFieldPaddingLeft():Number
public function set textFieldPaddingLeft(value:Number):void
textFieldPaddingTop | property |
textFieldPaddingTop:Number
public function get textFieldPaddingTop():Number
public function set textFieldPaddingTop(value:Number):void
textFormat | property |
textFormat:TextFormat
public function get textFormat():TextFormat
public function set textFormat(value:TextFormat):void
textHeight | property |
textHeight:Number
[read-only] public function get textHeight():Number
textWidth | property |
textWidth:Number
[read-only] public function get textWidth():Number
width | property |
width:Number
[override] public function get width():Number
public function set width(value:Number):void
TextInput | () | Constructor |
public function TextInput(buildDefault:Boolean = true)
buildDefault:Boolean (default = true )
|
appendText | () | method |
public function appendText(newText:String):void
Parameters
newText:String |
build | () | method |
public function build():void
cleanup | () | method |
public function cleanup():void
getTextFormat | () | method |
public function getTextFormat():TextFormat
ReturnsTextFormat |
replaceSelectedText | () | method |
public function replaceSelectedText(value:String):void
Parameters
value:String |
replaceText | () | method |
public function replaceText(beginIndex:int, endIndex:int, newText:String):void
Parameters
beginIndex:int | |
endIndex:int | |
newText:String |
setSelection | () | method |
public function setSelection(beginIndex:int, endIndex:int):void
Parameters
beginIndex:int | |
endIndex:int |
setTextFormat | () | method |
public function setTextFormat(format:TextFormat):void
Parameters
format:TextFormat |
change | Event |
flash.events.Event