class org.aswing.AWTextField extends TextField

Dispatched when the text changed, programmatic change or user change.

@eventType org.aswing.event.InteractiveEvent.TEXT_CHANGED

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from TextField

var alwaysShowSelection:Bool
var antiAliasType:AntiAliasType
var autoSize:TextFieldAutoSize
var background:Bool
var backgroundColor:UInt
var border:Bool
var borderColor:UInt
var bottomScrollV:Int
var caretIndex:Int
var condenseWhite:Bool
var defaultTextFormat:TextFormat
var displayAsPassword:Bool
var embedFonts:Bool
var gridFitType:GridFitType
var htmlText:String
var length:Int
var maxChars:Int
var maxScrollH:Int
var maxScrollV:Int
var mouseWheelEnabled:Bool
var multiline:Bool
var numLines:Int
var restrict:String
var scrollH:Int
var scrollV:Int
var selectable:Bool
var selectedText:String
var selectionBeginIndex:Int
var selectionEndIndex:Int
var sharpness:Float
var styleSheet:StyleSheet
var text:String
var textColor:UInt
var textHeight:Float
var textWidth:Float
var thickness:Float
var type:TextFieldType
var useRichTextClipboard:Bool
var wordWrap:Bool
function appendText(newText:String):Void
function copyRichText():String
function getCharBoundaries(charIndex:Int):Rectangle
function getCharIndexAtPoint(x:Float, y:Float):Int
function getFirstCharInParagraph(charIndex:Int):Int
function getImageReference(id:String):DisplayObject
function getLineIndexAtPoint(x:Float, y:Float):Int
function getLineIndexOfChar(charIndex:Int):Int
function getLineLength(lineIndex:Int):Int
function getLineMetrics(lineIndex:Int):TextLineMetrics
function getLineOffset(lineIndex:Int):Int
function getLineText(lineIndex:Int):String
function getParagraphLength(charIndex:Int):Int
function getRawText():String
function getTextFormat(?beginIndex:Int, ?endIndex:Int):TextFormat
function getTextRuns(?beginIndex:Int, ?endIndex:Int):Array<Dynamic>
function getXMLText(?beginIndex:Int, ?endIndex:Int):String
function insertXMLText(beginIndex:Int, endIndex:Int, richText:String, ?pasting:Bool):Void
function pasteRichText(richText:String):Bool
function replaceSelectedText(value:String):Void
function replaceText(beginIndex:Int, endIndex:Int, newText:String):Void
function setSelection(beginIndex:Int, endIndex:Int):Void
function setTextFormat(format:TextFormat, ?beginIndex:Int, ?endIndex:Int):Void

Inherited from InteractiveObject

var accessibilityImplementation:AccessibilityImplementation
var contextMenu:ContextMenu
var doubleClickEnabled:Bool
var focusRect:Dynamic
var mouseEnabled:Bool
var tabEnabled:Bool
var tabIndex:Int

Inherited from DisplayObject

var accessibilityProperties:AccessibilityProperties
var alpha:Float
var blendMode:BlendMode
var blendShader:Shader
var cacheAsBitmap:Bool
var filters:Array<BitmapFilter>
var height:Float
var loaderInfo:LoaderInfo
var mask:DisplayObject
var mouseX:Float
var mouseY:Float
var name:String
var opaqueBackground:Null<UInt>
var parent:DisplayObjectContainer
var root:DisplayObject
var rotation:Float
var rotationX:Float
var rotationY:Float
var rotationZ:Float
var scale9Grid:Rectangle
var scaleX:Float
var scaleY:Float
var scaleZ:Float
var scrollRect:Rectangle
var stage:Stage
var transform:Transform
var visible:Bool
var width:Float
var x:Float
var y:Float
var z:Float
function getBounds(targetCoordinateSpace:DisplayObject):Rectangle
function getRect(targetCoordinateSpace:DisplayObject):Rectangle
function globalToLocal(point:Point):Point
function globalToLocal3D(point:Point):Vector3D
function hitTestObject(obj:DisplayObject):Bool
function hitTestPoint(x:Float, y:Float, ?shapeFlag:Bool):Bool
function local3DToGlobal(point3d:Vector3D):Point
function localToGlobal(point:Point):Point

Inherited from EventDispatcher

function addEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool, ?priority:Int, ?useWeakReference:Bool):Void
function dispatchEvent(event:Event):Bool
function hasEventListener(type:String):Bool
function removeEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool):Void
function toString():String
function willTrigger(type:String):Bool

function new(): Void

function appendText(newText:String): Void

Appends new text and fire InteractiveEvent.TEXT_CHANGED event.

function replaceSelectedText(value:String): Void

Replace selected text and fire InteractiveEvent.TEXT_CHANGED event.

function replaceText(beginIndex:Int, endIndex:Int, newText:String): Void

Replace text and fire InteractiveEvent.TEXT_CHANGED event.

function set_htmlText(value:String): String

Sets the htmlText and fire InteractiveEvent.TEXT_CHANGED event.

function set_scrollH(value:Int): Int

function set_scrollV(value:Int): Int

function set_text(value:String): String

Sets the text and fire InteractiveEvent.TEXT_CHANGED event.