Form
| Kind of class: | class |
|---|---|
| Inherits from: | Screen < Loader < View < UIComponent < UIObject < MovieClip |
| Classpath: | mx.screens.Form |
| File last modified: | Tuesday, 18 December 2007, 15:44:38 |
Form class
- extends Screen
- enables author-defined handling of Form visibility and containment
- extends Screen
- enables author-defined handling of Form visibility and containment
Component metadata:
| InspectableList | "autoLoad","contentPath" |
|---|
Summary
Constructor
Class properties
- symbolName : String
- symbolOwner : Object
- currentFocusedForm : Form
- Leaf-node form that contains the current focused field or component
Class properties inherited from Screen
Class properties inherited from Loader
Class properties inherited from View
Class properties inherited from UIComponent
Class properties inherited from UIObject
Instance properties
- className : String
- _isForm
- _childForms : Array
- _indexInParentForm : Number
- _sendRevealDuringRedraw : Boolean
- visible : Boolean
- True if object is visible -- override to get different verbose setting
- indexInParentForm : Number
- zero-based index of this form in its parent (getChildForm)
- numChildForms : Number
- number of children of this form that are forms, not including slides
- parentIsForm : Boolean
- True if this form's _parent is a form
- parentForm : Form
- Form containing this form.
- rootForm : Form
- Root form of the form subtree that contains this form
Instance properties inherited from Screen
Instance properties inherited from Loader
Instance properties inherited from View
Instance properties inherited from UIComponent
Instance properties 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 tabEnabled textAlign textDecoration textIndent tfList top validateNow visible width x y
Class methods
Class methods inherited from UIObject
Instance methods
- getChildForm (childIndex:Number) : Form
- Get the nth child of this form (zero-based)
- drawFocus
- init
- registerChildForm (form:Form)
- redraw (bAlways:Boolean) : Void
- childLoaded (obj:MovieClip) : Void
- destroyChildAt (childIndex:Number) : Void
- destroy the Nth child object.Instance methods inherited from ScreenInstance methods inherited from LoaderInstance methods inherited from ViewInstance methods inherited from 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 move redraw setColor setMinHeight setMinWidth setSize setSkin setVisible sizeEvent handlersEvent handlers inherited from UIComponent
Constructor
Form
function Form (
)
Class properties
currentFocusedForm
Leaf-node form that contains the current focused field or component
Read-Only: use setFocus() to set the focus
Read-Only: use setFocus() to set the focus
symbolName
static symbolName:String = "Form"
(read)
symbolOwner
static symbolOwner:Object = mx.screens.Form
(read)
Instance properties
_childForms
private _childForms:Array
(read)
_indexInParentForm
private _indexInParentForm:Number = 0
(read)
_isForm
private _isForm = true
(read)
_sendRevealDuringRedraw
private _sendRevealDuringRedraw:Boolean = true
(read)
className
className:String = "Form"
(read)
indexInParentForm
indexInParentForm:Number
(read)
zero-based index of this form in its parent (getChildForm)
Read-Only: use createChild() to add new child form
Read-Only: use createChild() to add new child form
numChildForms
numChildForms:Number
(read)
number of children of this form that are forms, not including slides
Read-Only: use createChild() to add new child forms
Read-Only: use createChild() to add new child forms
parentForm
Form containing this form. May be null for the root form.
Read-Only: use createChild() to add new child forms
Read-Only: use createChild() to add new child forms
parentIsForm
parentIsForm:Boolean
(read)
True if this form's _parent is a form
Read-Only: use createChild() to add new child forms
Read-Only: use createChild() to add new child forms
rootForm
Root form of the form subtree that contains this form
Read-Only: use createChild() to add new child forms
Read-Only: use createChild() to add new child forms
visible
visible:Boolean
(read,write)
True if object is visible -- override to get different verbose setting
Instance methods
destroyChildAt
function destroyChildAt (
childIndex:Number) : Void
destroy the Nth child object. Remaining child objects get renumbered
# getChildForm
Get the nth child of this form (zero-based)
Parameters:
childIndex:
which form to get
redraw
private function redraw (
bAlways:Boolean) : Void