Class mx.controls.TextInput

MovieClip
   +--mx.core.UIObject
      +--mx.core.UIComponent
         +--mx.controls.TextInput

Description

a single-line text input control

Field Index

__editable, _accProps, _maxWidth, bind, border_mc, borderStyle, changeHandler, className, clipParameters, editable, enterHandler, enterListener, hPosition, html, initializing, initText, label, length, maxChars, maxHPosition, mergedClipParameters, owner, password, restrict, symbolName, symbolOwner, tabIndex, text, tfh, tfw, tfx, tfy, updateModel
Inherited from UIComponent
clipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, height, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, width
Inherited from UIObject
__height, __onUnload, __width, _color, _endInit, _id, _maxHeight, _maxWidth, _minHeight, _minWidth, _preferredHeight, _preferredWidth, _tf, _topmost, addEventListener, bottom, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createClassChildAtDepth, createEvent, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, height, idNames, ignoreClassStyleDeclaration, initProperties, invalidateFlag, left, lineColor, lineWidth, marginLeft, marginRight, methodTable, minHeight, minWidth, notifyStyleChangeInChildren, removeEventListener, right, scaleX, scaleY, setStyle, stylecache, styleName, symbolName, symbolOwner, tabEnabled, textAlign, textColorList, textDecoration, textIndent, tfList, top, validateNow, visible, width, x, y
Inherited from MovieClip
_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursor

Method Index

new TextInput()

addEnterEvents(), addEventListener(), createChildren(), draw(), enterOnKeyDown(), getHtml(), getText(), init(), onKillFocus(), onLabelChanged(), onSetFocus(), setColor(), setEditable(), setEnabled(), setFocus(), setHtml(), setText(), size()
Inherited from UIComponent
dispatchValueChangedEvent(), enabledChanged(), findFocusFromObject(), findFocusInChildren(), getFocus(), getFocusManager(), isParent(), pressFocus(), releaseFocus(), setVisible()
Inherited from UIObject
__getTextFormat(), _createChildren(), _getTextFormat(), cancelAllDoLaters(), constructObject(), createClassObject(), createEmptyObject(), createLabel(), createObject(), createSkin(), destroyObject(), doLater(), doLaterDispatcher(), drawRect(), getClassStyleDeclaration(), getMinHeight(), getMinWidth(), getSkinIDName(), getStyle(), getStyleName(), initFromClipParameters(), invalidate(), invalidateStyle(), mergeClipParameters(), move(), redraw(), setMinHeight(), setMinWidth(), setSize(), setSkin()
Inherited from MovieClip
attachAudio(), attachMovie(), beginFill(), beginGradientFill(), clear(), createEmptyMovieClip(), createTextField(), curveTo(), duplicateMovieClip(), endFill(), getBounds(), getBytesLoaded(), getBytesTotal(), getDepth(), getInstanceAtDepth(), getNextHighestDepth(), getSWFVersion(), getTextSnapshot(), getURL(), globalToLocal(), gotoAndPlay(), gotoAndStop(), hitTest(), lineStyle(), lineTo(), loadMovie(), loadVariables(), localToGlobal(), moveTo(), nextFrame(), onData(), onDragOut(), onDragOver(), onEnterFrame(), onKeyDown(), onKeyUp(), onLoad(), onMouseDown(), onMouseMove(), onMouseUp(), onPress(), onRelease(), onReleaseOutside(), onRollOut(), onRollOver(), onUnload(), play(), prevFrame(), removeMovieClip(), setMask(), startDrag(), stop(), stopDrag(), swapDepths(), unloadMovie(), valueOf()

Constructor Detail

TextInput

function TextInput()

Field Detail

symbolName

static symbolName:String

symbolOwner

static symbolOwner:Object

className

className:String

initializing

initializing:Boolean

clipParameters

clipParameters:Object

mergedClipParameters

static mergedClipParameters:Boolean

_maxWidth

_maxWidth:Number

enterListener

enterListener:Object

tfx

tfx:Number

tfy

tfy:Number

tfw

tfw:Number

tfh

tfh:Number

updateModel

updateModel:Function

enterHandler

enterHandler:Function

changeHandler

changeHandler:Function

borderStyle

borderStyle:String

__editable

__editable:Boolean

bind

bind:Boolean

owner

owner:MovieClip

initText

initText:String

border_mc

border_mc:RectBorder

label

label:TextField

html

html:Boolean
true if text is supplied as html *tiptext Whether the text field contains text or html. *helpid 3189

text

text:String
the text in the component

maxChars

maxChars:Number
maximum number of characters that can be input into this component

length

length:Number [Read Only]
current length of text in component

restrict

restrict:String
list of characters to accept or deny

hPosition

hPosition:Number
pixel offset when scrolled horizontally

maxHPosition

maxHPosition:Number [Read Only]
maximum allowed setting for hPosition

editable

editable:Boolean
true if the component is editable

password

password:Boolean
true to use '*' instead of the actual characters

tabIndex

tabIndex:Number
tab order when using tab key to navigate

_accProps

_accProps:Object

Method Detail

addEventListener

function addEventListener(event:
String, handler):Void

enterOnKeyDown

function enterOnKeyDown():Void

addEnterEvents

function addEnterEvents():Void

init

function init(Void):Void

setFocus

function setFocus():Void

onLabelChanged

function onLabelChanged(Void):Void

createChildren

function createChildren(Void):Void

getHtml

function getHtml():
Boolean

setHtml

function setHtml(value:
Boolean):Void

getText

function getText():
String

setText

function setText(t:
String):Void

size

function size(Void):Void

setEnabled

function setEnabled(enable:
Boolean):Void

setColor

function setColor(col:
Number):Void

onKillFocus

function onKillFocus(newFocus:
Object):Void

onSetFocus

function onSetFocus(oldFocus:
Object):Void

draw

function draw(Void):Void

setEditable

function setEditable(s:
Boolean):Void