Field Summary |
| __editable: Boolean |
|
|
|
| _maxWidth: Number |
|
|
|
| bind: Boolean |
| true if datamodel connected
|
|
| border_mc: RectBorder |
|
|
|
| borderStyle: String |
| style hook
|
|
| changeHandler: Function |
|
|
|
| className: String |
| name of this class
|
|
| clipParameters: Object |
|
|
|
| enterHandler: Function |
| event hooks
|
|
| enterListener: Object |
| object that listens for the enter key
|
|
| initializing: Boolean |
|
|
|
| initText: String |
| store the initial value of the component so we only stuff it into the textfield once
|
|
| label: TextField |
|
|
|
static
| mergedClipParameters: Boolean |
|
|
|
| owner: MovieClip |
| this gets us around rescoping
|
|
static
| symbolName: String |
|
|
|
static
| symbolOwner: Object |
|
|
|
| tfh: Number |
|
|
|
| tfw: Number |
|
|
|
| tfx: Number |
| textField's x, y, w, h
|
|
| tfy: Number |
|
|
|
| updateModel: Function |
| databinding hook
|
|
static
| version: String |
| Version string Copyright (C) 2003 Macromedia, Inc.
|
|
Fields inherited from class mx.core.UIComponentclipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, version |
|
Fields inherited from class mx.core.UIObject__height, __width, _color, _topmost, addEventListener, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createEvent, ction, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, idNames, ignoreClassStyleDeclaration, initProperties, marginLeft, marginRight, methodTable, notifyStyleChangeInChildren, removeEventListener, setStyle, stylecache, styleName, symbolName, symbolOwner, textAlign, textColorList, textDecoration, textIndent, validateNow, version |
|
Fields inherited from class 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 |
|
|
Property Summary |
| : Object (read, write) |
| accessibility data
|
|
| editable: Boolean (read, write) |
| true if the component is editable
|
|
| hPosition: Number (read, write) |
| pixel offset when scrolled horizontally
|
|
| html: Boolean (read, write) |
| true if text is supplied as html *tiptext Whether the text field contains text or html.
|
|
| length: Number (read-only)
|
| current length of text in component
|
|
| maxChars: Number (read, write) |
| maximum number of characters that can be input into this component
|
|
| maxHPosition: Number (read-only)
|
| maximum allowed setting for hPosition
|
|
| password: Boolean (read, write) |
| true to use '*' instead of the actual characters
|
|
| restrict: String (read, write) |
| list of characters to accept or deny
|
|
| tabIndex: Number (read, write) |
| tab order when using tab key to navigate
|
|
| text: String (read, write) |
| the text in the component
|
|
|
Properties inherited from class mx.core.UIObjectbottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y |
|
Constructor |
| TextInput (
)
|
| Class Constructor
|
|
Method Summary |
| addEnterEvents (
): Void |
| create the listener if needed so we can watch for the Enter key
|
|
| addEventListener (
event: String, handler
): Void |
| override of addEventListener so we can trap and report Enter key
|
|
| createChildren (
Void
): Void |
|
|
|
| draw (
Void
): Void |
| when drawing set the styles on the text
|
|
| enterOnKeyDown (
): Void |
| look for Enter key and report it
|
|
| getHtml (
): Boolean |
|
|
|
| getText (
): String |
|
|
|
| init (
Void
): Void |
|
|
|
| onKillFocus (
newFocus: Object
): Void |
|
|
|
| onLabelChanged (
Void
): Void |
|
|
|
| onSetFocus (
oldFocus: Object
): Void |
|
|
|
| setColor (
col: Number
): Void |
|
|
|
| setEditable (
s: Boolean
): Void |
|
|
|
| setEnabled (
enable: Boolean
): Void |
| disable textfield when we're disabled
|
|
| setFocus (
): Void |
| Sets the focus to this object.
|
|
| setHtml (
value: Boolean
): Void |
|
|
|
| setText (
t: String
): Void |
|
|
|
| size (
Void
): Void |
| stretch the border and fit the textfield inside it
|
|
Methods inherited from class mx.core.UIComponentdispatchValueChangedEvent, enabledChanged, findFocusFromObject, findFocusInChildren, getFocus, getFocusManager, init, isParent, onKillFocus, onSetFocus, pressFocus, releaseFocus, setEnabled, setFocus, setVisible, size |
|
Methods inherited from class mx.core.UIObject__getTextFormat, _createChildren, _getTextFormat, cancelAllDoLaters, constructObject, createChildren, createClassObject, createEmptyObject, createLabel, createObject, createSkin, destroyObject, doLater, doLaterDispatcher, draw, drawRect, getClassStyleDeclaration, getMinHeight, getMinWidth, getSkinIDName, getStyle, getStyleName, init, initFromClipParameters, invalidate, invalidateStyle, mergeClipParameters, move, redraw, setColor, setMinHeight, setMinWidth, setSize, setSkin, setVisible, size |
|
Methods inherited from class MovieClipattachAudio, 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, onKillFocus, onLoad, onMouseDown, onMouseMove, onMouseUp, onPress, onRelease, onReleaseOutside, onRollOut, onRollOver, onSetFocus, onUnload, play, prevFrame, removeMovieClip, setMask, startDrag, stop, stopDrag, swapDepths, unloadMovie, valueOf |
|
|
|