| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
The IUITextField interface defines the basic set of APIs
for UITextField instances.
alwaysShowSelection:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get alwaysShowSelection():Boolean public function set alwaysShowSelection(value:Boolean):voidantiAliasType:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get antiAliasType():String public function set antiAliasType(value:String):voidautoSize:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get autoSize():String public function set autoSize(value:String):voidbackground:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get background():Boolean public function set background(value:Boolean):voidbackgroundColor:uint| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get backgroundColor():uint public function set backgroundColor(value:uint):voidborder:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get border():Boolean public function set border(value:Boolean):voidborderColor:uint| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get borderColor():uint public function set borderColor(value:uint):voidbottomScrollV:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get bottomScrollV():intcaretIndex:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get caretIndex():intcondenseWhite:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get condenseWhite():Boolean public function set condenseWhite(value:Boolean):voiddefaultTextFormat:TextFormat| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get defaultTextFormat():TextFormat public function set defaultTextFormat(value:TextFormat):voiddisplayAsPassword:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get displayAsPassword():Boolean public function set displayAsPassword(value:Boolean):voiddoubleClickEnabled:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get doubleClickEnabled():Boolean public function set doubleClickEnabled(value:Boolean):voidembedFonts:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get embedFonts():Boolean public function set embedFonts(value:Boolean):voidfocusRect:Object| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get focusRect():Object public function set focusRect(value:Object):voidgridFitType:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get gridFitType():String public function set gridFitType(value:String):voidhtmlText:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get htmlText():String public function set htmlText(value:String):voidignorePadding:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
If true, the paddingLeft and
paddingRight styles will not add space
around the text of the component.
Implementation public function get ignorePadding():Boolean public function set ignorePadding(value:Boolean):voidinheritingStyles:Object| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
The beginning of this UITextField's chain of inheriting styles.
The getStyle() method accesses
inheritingStyles[styleName] to search the entire
prototype-linked chain.
This object is set up by the initProtoChain() method.
You typically never need to access this property directly.
Implementation public function get inheritingStyles():Object public function set inheritingStyles(value:Object):voidlength:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get length():intmaxChars:int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get maxChars():int public function set maxChars(value:int):voidmaxScrollH:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get maxScrollH():intmaxScrollV:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get maxScrollV():intmouseEnabled:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get mouseEnabled():Boolean public function set mouseEnabled(value:Boolean):voidmouseWheelEnabled:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get mouseWheelEnabled():Boolean public function set mouseWheelEnabled(value:Boolean):voidmultiline:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get multiline():Boolean public function set multiline(value:Boolean):voidnestLevel:int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Depth of this object in the containment hierarchy.
This number is used by the measurement and layout code.
The value is 0 if this component is not on the DisplayList.
Implementation public function get nestLevel():int public function set nestLevel(value:int):voidnonInheritingStyles:Object| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
The beginning of this UITextField's chain of non-inheriting styles.
The getStyle() method accesses
nonInheritingStyles[styleName] method to search the entire
prototype-linked chain.
This object is set up by the initProtoChain() method.
You typically never need to access this property directly.
Implementation public function get nonInheritingStyles():Object public function set nonInheritingStyles(value:Object):voidnonZeroTextHeight:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Unlike textHeight, this returns a non-zero value
even when the text is empty.
In this case, it returns what the textHeight would be
if the text weren't empty.
Implementation public function get nonZeroTextHeight():NumbernumLines:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get numLines():intrestrict:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get restrict():String public function set restrict(value:String):voidscrollH:int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get scrollH():int public function set scrollH(value:int):voidscrollV:int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get scrollV():int public function set scrollV(value:int):voidselectable:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get selectable():Boolean public function set selectable(value:Boolean):voidselectionBeginIndex:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get selectionBeginIndex():intselectionEndIndex:int [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get selectionEndIndex():intsharpness:Number| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get sharpness():Number public function set sharpness(value:Number):voidstyleSheet:StyleSheet| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get styleSheet():StyleSheet public function set styleSheet(value:StyleSheet):voidtabEnabled:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get tabEnabled():Boolean public function set tabEnabled(value:Boolean):voidtabIndex:int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get tabIndex():int public function set tabIndex(value:int):voidtext:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get text():String public function set text(value:String):voidtextColor:uint| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get textColor():uint public function set textColor(value:uint):voidtextHeight:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get textHeight():NumbertextWidth:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get textWidth():Numberthickness:Number| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get thickness():Number public function set thickness(value:Number):voidtype:String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get type():String public function set type(value:String):voiduseRichTextClipboard:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get useRichTextClipboard():Boolean public function set useRichTextClipboard(value:Boolean):voidwordWrap:Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Implementation public function get wordWrap():Boolean public function set wordWrap(value:Boolean):void public function appendText(newText:String):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
public function getCharBoundaries(charIndex:int):Rectangle| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getCharIndexAtPoint(x:Number, y:Number):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getFirstCharInParagraph(charIndex:int):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getImageReference(id:String):DisplayObject| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getLineIndexAtPoint(x:Number, y:Number):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getLineIndexOfChar(charIndex:int):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getLineLength(lineIndex:int):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getLineMetrics(lineIndex:int):TextLineMetrics| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getLineOffset(lineIndex:int):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getLineText(lineIndex:int):String| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getParagraphLength(charIndex:int):int| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
Returns public function getStyle(styleProp:String):*| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Gets a style property that has been set anywhere in this
component's style lookup chain.
This same method is used to get any kind of style property,
so the value returned can be a Boolean, String, Number, int,
uint (for an RGB color), Class (for a skin), or any kind of object.
Therefore the return type is simply specified as *.
If you are getting a particular style property, you
know its type and often want to store the result in a
variable of that type.
No casting from * to that type is necessary.
var backgroundColor:uint = getStyle("backgroundColor");
If the style property has not been set anywhere in the
style lookup chain, the value returned by getStyle()
is undefined.
Note that undefined is a special value that is
not the same as false, "",
NaN, 0, or null.
No valid style value is ever undefined.
You can use the method
IStyleManager2.isValidStyleValue()
to test whether the value was set.
Parameters
| styleProp:String — Name of the style property.
|
Returns public function getTextFormat(beginIndex:int = -1, endIndex:int = -1):TextFormat| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
| beginIndex:int (default = -1) |
| |
| endIndex:int (default = -1) |
Returns public function getUITextFormat():UITextFormat| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Returns a UITextFormat object that contains formatting information for this component.
This method is similar to the getTextFormat() method of the
flash.text.TextField class, but it returns a UITextFormat object instead
of a TextFormat object.
The UITextFormat class extends the TextFormat class to add the text measurement methods
measureText() and measureHTMLText().
Returns | UITextFormat — An object that contains formatting information for this component.
|
public function replaceSelectedText(value:String):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
public function replaceText(beginIndex:int, endIndex:int, newText:String):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
| beginIndex:int |
| |
| endIndex:int |
| |
| newText:String |
public function setColor(color:uint):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Sets the font color of the text.
Parameters
| color:uint — The new font color.
|
public function setFocus():void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Sets the focus to this component.
The component can in turn pass focus to a subcomponent.
Note: Only the TextInput and TextArea controls show a highlight
when this method sets the focus.
All controls show a highlight when the user tabs to the control.
public function setSelection(beginIndex:int, endIndex:int):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
| beginIndex:int |
| |
| endIndex:int |
public function setTextFormat(format:TextFormat, beginIndex:int = -1, endIndex:int = -1):void| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Parameters
| format:TextFormat |
| |
| beginIndex:int (default = -1) |
| |
| endIndex:int (default = -1) |
public function truncateToFit(truncationIndicator:String = null):Boolean| Language Version : | ActionScript 3.0 |
| Runtime Versions : | Flash Player 9, AIR 1.1 |
Truncate text to make it fit horizontally in the area defined for the control,
and append an ellipsis, three periods (...), to the text.
Parameters
| truncationIndicator:String (default = null) — The text to be appended after truncation.
If you pass null, a localizable string
such as "..." will be used.
|
Returns | Boolean — true if the text needed truncation.
|
Mon Dec 24 2012, 01:18 PM +11:00