Field Summary |
| __defaultPushButton: SimpleButton |
| pointer to the original defaultPushButton.
|
|
| bDrawFocus: Boolean |
| true if we should call drawFocus on the components.
|
|
| bNeedFocus: Boolean |
| true if no component has the focus
|
|
| className: String |
| name of this class
|
|
| defaultPushButtonEnabled: Boolean |
| TextArea and other components that want the enter key disable the focus manager's enter key handling
|
|
| defPushButton: SimpleButton |
| the current default pushbutton
|
|
| form |
| the top-level form that this focus manager is responsible for
|
|
| lastFocus: Object |
| the object that last had focus
|
|
| lastMouse: Object |
| last mouse position
|
|
| lastSelFocus: Object |
| the last object according to Selection
|
|
| lastTabFocus: Object |
| the object that was last tabbed to
|
|
static
| symbolName: String |
|
|
|
static
| symbolOwner: Object |
|
|
|
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 |
| defaultPushButton: SimpleButton (read, write) |
| get or set the original default pushbutton.
|
|
| nextTabIndex: Number (read-only)
|
| get the next unique tab index to use on this form
|
|
|
Properties inherited from class mx.core.UIObjectbottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y |
|
Constructor |
| FocusManager (
)
|
|
|
|
Method Summary |
| activate (
Void
): Void |
| the SystemManager manages activation of forms if more than one is visible at the same time
|
|
| deactivate (
Void
): Void |
| the SystemManager manages activation of forms if more than one is visible at the same time
|
|
| enabledChanged (
id: String, oldValue: Boolean, newValue: Boolean
): Boolean |
| a FocusManager has an internal tabKey capture mechanism that is enabled by setting its TabIndex to undefined or not
|
|
| getActualFocus (
o: Object
): Object |
| a component may set focus to an internal object that doesn't have tabIndex, etc.
|
|
| getFocus (
Void
): Object |
| get the component that current has the focus.
|
|
| getMaxTabIndex (
o: UIComponent
): Number |
| get the highest tab index currently used in this focus manager's form or subform
|
|
| getNextTabIndex (
Void
): Number |
| internal overridable calculation of the next tab index to use
|
|
| getSelectionFocus (
): Object |
|
|
|
| init (
Void
): Void |
| initialize variables and make sure we aren't also a tabstop
|
|
| isOurFocus (
o: Object
): Boolean |
|
|
|
| onSetFocus (
o: Object, n: Object
): Void |
| if you were in a textfield and clicked somewhere other than a textfield, the player sets focus automatically to null.
|
|
| onUnload (
Void
): Void |
| tell the system manager that we're going bye-bye
|
|
| relocate (
Void
): Void |
| the focus manager stays off screen.
|
|
| restoreFocus (
Void
): Void |
| not only do we restore focus back to the last thing that had it but if it is a textfield, we also restore the selection
|
|
| setFocus (
o: Object
): Void |
| set the focus to an object.
|
|
| walkTree (
p: MovieClip, index: Number, groupName: String, dir: Boolean, lookup: Boolean, firstChild: Boolean
): Void |
| instead of caching and updating the tab list, we simply scan for them on each Tab key.
|
|
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 |
|
|
|