| Previous | Next | Frames | No Frames |
| Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
MovieClip | +--xp.system.UIControl
Field Summary | |
| public | __layout: Object |
| public | allowDrop: Boolean |
| Gets or sets a value indicating whether this element can be used as the target of a drag-and-drop operation | |
| public | autoLayout: Boolean |
| Controls whether the control is layed out by the layout system * | |
| public | bindingDefaultValue |
| The default value if the data value is null | |
| public | bindingFormatter: Object |
| public | bindingPath: String |
| The path in the dataSource this control will bind to | |
| public | bindingSource: String |
| A string refence to a datasource this contol should bind to | |
| public | bindingType: String |
| The type of data binding required | |
| public | bindingValidator: Object |
| public | border: IBorder |
| the border delegate | |
| public | causesValidation: Boolean |
| Does this control cause a validation | |
| public static | classInfo: Object |
| A static class information object | |
| public | clickOnENTER: Boolean |
| Fire click event when return is pressed | |
| public | clickOnSPACE: Boolean |
| Fire click event when spacebar is pressed | |
| public | container: Object |
| The container element for this instance | |
| public | context: Object |
| The controls context object. | |
| public | data: Object |
| A user defined data object associated with this control | |
| public | disableAcceptButton: Boolean |
| Disables the default accept button action | |
| public | disableCancelButton: Boolean |
| Disables the default cancel button action | |
| public | enableBGMouseEvents: Boolean |
| Controls whether mouse events are set on the background or foreground. | |
| public | enableDblClickEvent: Boolean |
| Enable or disable click events | |
| public | enableKeyDownEvents: Boolean |
| Enable or disable keyDown events dispatching - enableKeyEvents must be true as well | |
| public | enableKeyEvents: Boolean |
| Enable or disable keyprocessing | |
| public | enableKeyUpEvents: Boolean |
| Enable or disable keyUp events dispatching - enableKeyEvents must be true as well | |
| public | enableMouseWheelEvents: Boolean |
| Enable or disable mouse wheel handling | |
| formatterOptions: String | |
| public | horizontalAlignment: String |
| Describes the means by which a child element is vertically positioned or stretched within a parent's layout slot. | |
| public | index: Number |
| An item index for this instance | |
| public | isBinding: Number |
| Are we currently executing a binding* | |
| public | itemId: Object |
| An item identifier | |
| public | logEnabled: Boolean |
| Are we in debug logging mode-for internal use only | |
| public | parent: Object |
| The parent element for this instance | |
| public | parentContainer: Object |
| The parent container element for this instance | |
| public | parentForm: Object |
| The parent form element for this instance | |
| public | percentageHeight: Number |
| the percentage height * | |
| public | percentageWidth: Number |
| the percentage width * | |
| public | styleClass: String |
| The name of the style class this instance will use. | |
| public | tabIndex: Number |
| Sets the tabIndex of this control. | |
| public | tabStop: Boolean |
| Gets or sets whether a control should be included in tab navigation. | |
| public | tooltip: String |
| The tooltip text. | |
| public | tree: Object |
| Our stylesheet object for child controls | |
| public | verticalAlignment: String |
| Declares the vertical alignment characteristics applied this element when it is composed within a parent element such as a panel or items control. | |
Property Summary | |
| public | alpha: Number (read, write) |
| Gets or sets the alpha value of the control * | |
| public | autosize (read, write) |
| Controls how this component will resize itslef when its content changes | |
| public | background: Object (read, write) |
| A Brush object used to paint the controls background. | |
| public | backgroundVisible: Boolean (read, write) |
| Indicates whether the background is visible or not | |
| public | bindings (read) |
| An array of bindings for this control | |
| public | bindings: Object (write) |
| public | borderBrush: Object (read, write) |
| A Brush object used to paint the controls border. | |
| public | borderRadius (read, write) |
| Sets or get the radius of the border | |
| public | borderShadow: Boolean (read, write) |
| Controls whether there is a shadow drawn round the border | |
| public | borderStyle (read, write) |
| The type of border that should be drawn | |
| public | borderThickness: Thickness (read, write) |
| A Thickness object used set the dimensions of the border. | |
| public | bottom (read) |
| Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. | |
| public | bottom: Number (write) |
| public | dataSource: Object (read, write) |
| The dataSource this control is bound to. | |
| public | enableMouseEvents: Boolean (read, write) |
| Enable or disable mouse events | |
| public | focusManager: Object (read-only) |
| for compatibility with MM Framework actually an instance of SystemManager | |
| public | height: Number (read, write) |
| Gets or sets the height of the control. | |
| public | id: String (read, write) |
| public | isEnabled: Boolean (read, write) |
| Controls whether the control is enable or not | |
| public | isFocused: Boolean (read, write) |
| Is the control focused | |
| public | isMouseOver: Boolean (read, write) |
| Is the mouse currently over this control | |
| public | isPressed: Boolean (read, write) |
| Is the mouse button currently pressed over this control | |
| public | isSelected: Boolean (read, write) |
| Controls whether the control is selected or not | |
| public | isValid: Boolean (read-only) |
| Is the component in a valid state returns true only if all regions are valid | |
| public | layout (read, write) |
| Controls the layout attributes of a control | |
| public | left (read) |
| Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. | |
| public | left: Number (write) |
| public | margin: Thickness (read, write) |
| Controls the space between the controls bounds and it border | |
| public | maxHeight: Number (read, write) |
| Sets the max height | |
| public | maxWidth: Number (read, write) |
| Sets the max width. | |
| public | measuredHeight: Number (read-only) |
| returns the preferred height of the control* | |
| public | measuredMinHeight: Number (read-only) |
| The minimum size of the component | |
| public | measuredMinWidth: Number (read-only) |
| The minimum size of the component | |
| public | measuredWidth: Number (read-only) |
| returns the preferred width of the control* | |
| public | minHeight: Number (read, write) |
| Sets the min height | |
| public | minWidth: Number (read, write) |
| Sets the min width | |
| public | padding: Thickness (read, write) |
| Gets or sets padding within the control. | |
| public | readOnly: Boolean (read, write) |
| Specifies whether the component is read only or not | |
| public | resources: ResourceDictionary (read-only) |
| A hierarchichal store of user defined objects | |
| public | right (read) |
| Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area. | |
| public | right: Number (write) |
| public | styleName: String (read, write) |
| Alias for the styleClass property* | |
| public | top (read) |
| Gets or sets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. | |
| public | top: Number (write) |
| public | triggers (read) |
| Set or get the array of property triggers for this object | |
| public | triggers: Object (write) |
| public | visible: Boolean (read, write) |
| Controls whether the control is visible or not | |
| public | width: Number (read, write) |
| Gets or sets the width of the control. | |
| public | x (read) |
| Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. | |
| public | x: Number (write) |
| public | y (read) |
| Gets or sets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. | |
| public | y: Number (write) |
Constructor | |
| public | UIControl ( ) |
| Constructor - This should not be called directly. | |
Method Summary | |
| public | addBinding ( bind: Object, isDataBound: Boolean ): Binding |
| Adds a binding for this control | |
| public | addBindings ( v: Object ) |
| public | addEventListener ( event: String, obj: Object, handler ): Void |
| Registers a listener to a component instance. | |
| public | addPropertyTrigger ( propertyName: String, propertyValue, properties: Object, merge: Boolean ): Object |
| Add a property trigger for this instance | |
| public | applyStyle ( props: Object ): Void |
| Applies the properties in the style param to this instance. | |
| public | beginDeferUpdate ( ): Void |
| marks the begin of a defer updates session* | |
| public | canUpdate ( ): Boolean |
| indicates whether the control is currently in a deferred update state* | |
| public static | centerContent ( t: MovieClip, pc: Object, tc: Object ): Void |
| Centers content within its parent container. | |
| public | checkState ( v: Number ): Boolean |
| Checks whether the component is in the state specified state | |
| public | containsFocus ( ): Boolean |
| Is the control or one of its children focused | |
| public | destroy ( ): Void |
| Destroys or remove the component from the stage | |
| public | destroyObject ( tgt: MovieClip ): Void |
| destroys or removes a component or clip | |
| public | drawFocus ( state: Boolean ): Void |
| draws the focus rect and sets the isFocused property this is to maintain compatibility with the MM Framework | |
| public | endDeferUpdate ( ): Void |
| marks the end of a defer updates session* | |
| public | findFocusFromObject ( o: Object ): Object |
| public | findFocusInChildren ( o: Object ): Object |
| public | getBinding ( property: String ): Binding |
| Returns a binding associated with a particular property | |
| public | getBounds ( target ) |
| Returns the minimum and maximum x and y coordinates of a clip in a specified coordinate space. | |
| public static | getCenter ( t: MovieClip, coordinateSpace: MovieClip ): Object |
| Get the coordinates of the center of an object. | |
| public | getClass ( ): Function |
| Returns a reference to the components static class | |
| public | getFocus ( ): Object |
| Get the component that currently has the focus. | |
| public | getFocusManager ( ): Object |
| Get the current focusManager.For compatibility with MM Framework This may return an instance of mx.managers.FocusManager or xp.system.FocusManager depending on whether internal FocusManagement is enabled or not. | |
| public | getFocusRect ( ): Object |
| return an object with properties x/y/width/height to describe the focus rect | |
| public | getLocation ( ): Object |
| Gets the coordinates of the upper-left corner of the component | |
| public | getPropertyValue ( name: String, inheritable: Boolean, defaultValue: Object ): Object |
| Retrieves the value of a property | |
| public | getSize ( ): Dimension |
| Gets the width and height of the component returns a Dimension object with properties width and height | |
| public | getStateName ( isPressed: Boolean, isMouseOver: Boolean, isSelected: Boolean, isEnabled: Boolean ) |
| For a given set of properties returns a combined property name. | |
| public | getTrigger ( propertyName: String, propertyValue: String ): Object |
| Retrieves the property trigger associated with a named property and a value | |
| public | globalToLocalPoint ( point: Object, t: MovieClip ): Object |
| Converts Stage coordinates to the local coordinates of the specified movie clip. | |
| public | invalidate ( region: Number, invalidateParent: Boolean ): Void |
| Invalidates the components boundaries and its draw state | |
| public | invalidateLayout ( ): Void |
| Marks the layout of the component as invalid and will force them to be redrawn on he next frame* | |
| public | invalidateSize ( ): Void |
| Marks the boundries of the component as invalid and will force them to be recalculated on he next frame* | |
| public | invalidateSizeAndLayout ( ): Void |
| Marks the boundries and layout of the component as invalid and will force them to be redrawn on he next frame* | |
| public | invalidChild ( child, bounds: Boolean ): Boolean |
| Notifies a component one of its children has become invalid | |
| public static | isChild ( t: MovieClip, p: MovieClip ): Boolean |
| Checks whether the target object is a child of the parent object | |
| public static | isMouseDirectlyOver ( t: MovieClip ): Boolean |
| Determine if the mouse is directly over the target t | |
| public | isParent ( c: MovieClip ): Boolean |
| Checks whether the target object is one of our children | |
| public | localToGlobalPoint ( point: Object, t: MovieClip ): Object |
| Converts local coordinates of the movie clip to the global Stage. | |
| public | localToLocalPoint ( point: Object, s: MovieClip, d: MovieClip ): Object |
| Converts local coordinates to Stage coordinates and then back to local coordinates in two different coordinate space | |
| public | measure ( ): Void |
| measures the components boundaries | |
| public | mouseWheel ( delta: Number, target: MovieClip ): Void |
| MouseWheel event handler | |
| public | move ( x: Number, y: Number ): Void |
| Sets the coordinates of the upper-left corner of the component | |
| public | onChildFocus ( ctl, focusControl ) |
| Called when a child component gains focus | |
| public | onKillFocus ( newFocus: Object ): Void |
| KillFocus handler.Called when you lose focus. If focus was actualy set to some internal TextField that TextField must call onKillFocus when it loses focus. | |
| public | onSetFocus ( oldFocus: Object ): Void |
| SetFocus handler.Called when you get focus. If focus is actualy set to some internal TextField that TextField must call onSetFocus when it gets focus. | |
| public | processEnterKey ( ) |
| Process enter key event | |
| public | processEscapeKey ( ) |
| Process escape key event | |
| public | processTabKey ( ) |
| Process tab key event | |
| public | redraw ( bAlways: Boolean ): Void |
| Redraws the object instead of waiting for invalidation to do so. | |
| public | refresh ( ): Void |
| invalidates the whole UI and forces it to update immediately | |
| public | removeEventListener ( event: String, obj: Object ): Void |
| Removes a registered listener from a component instance. | |
| public | routeEvent ( e: Event ): Void |
| Routes an event to the parent if the routeEvents property is true. | |
| public | setBounds ( x: Number, y: Number, w: Number, h: Number ): Void |
| Sets the bounds of the control to the specified location and size. | |
| public | setFocus ( ): Void |
| Set focus to this control. | |
| public | setLocation ( x: Number, y: Number ): Void |
| Sets the coordinates of the upper-left corner of the component | |
| public | setPropertyValue ( name: String, value: Object ): Void |
| Sets the value of a property | |
| public | setSize ( w: Number, h: Number ): Void |
| Sets the width and height of the component | |
| public | setValueChanged ( state: Boolean ): Void |
| public | update ( ): Void |
| updates the components UI by validating its invalid regions | |
| public | validate ( ): Boolean |
| Checks the value of the control | |
| public var __layout: Object |
| public var allowDrop: Boolean |
| Gets or sets a value indicating whether this element can be used as the target of a drag-and-drop operation |
| public var autoLayout: Boolean |
| Controls whether the control is layed out by the layout system * |
| public var bindingDefaultValue |
| The default value if the data value is null |
| public var bindingFormatter: Object |
| public var bindingPath: String |
| The path in the dataSource this control will bind to |
| public var bindingSource: String |
| A string refence to a datasource this contol should bind to BSy default a control will bind to the "dataSource" property of its parent. If this property is set the control will look for an object in its parent with this name |
| public var bindingType: String |
| The type of data binding required One of OneTime,OneWay,TwoWay. |
| public var bindingValidator: Object |
| public var border: IBorder |
| the border delegate |
| public var causesValidation: Boolean |
| Does this control cause a validation |
| public static var classInfo: Object |
| A static class information object Every class has an associated classInfo object that holds the version and other static information. The classInfo can be accessed either directly by referencing the static class or by calling getClass() on any class instance. |
| public var clickOnENTER: Boolean |
| Fire click event when return is pressed |
| public var clickOnSPACE: Boolean |
| Fire click event when spacebar is pressed |
| public var container: Object |
| The container element for this instance The IContainer object that this component is in. This is null if the controls parent is not also its parentContainer All controls register themselves with there container when created. |
| public var context: Object |
| The controls context object. Each control has a context object which can be used to store info. The content and its use is undefined. |
| public var data: Object |
| A user defined data object associated with this control |
| public var disableAcceptButton: Boolean |
| Disables the default accept button action Indicates that you want the FocusManger to disable the default accept button action whilst this component has focus. |
| public var disableCancelButton: Boolean |
| Disables the default cancel button action Indicates that you want the FocusManger to disable the default cancel button action whilst this component has focus. |
| public var enableBGMouseEvents: Boolean |
| Controls whether mouse events are set on the background or foreground. Sometimes controls want there children to be mouse aware as well as themselves, this is not supported on Flash so to work around this we need to set our own mouse functions onto the background not the foreground. This property needs to be set to true before setting enableMouseEvents |
| public var enableDblClickEvent: Boolean |
| Enable or disable click events |
| public var enableKeyDownEvents: Boolean |
| Enable or disable keyDown events dispatching - enableKeyEvents must be true as well |
| public var enableKeyEvents: Boolean |
| Enable or disable keyprocessing |
| public var enableKeyUpEvents: Boolean |
| Enable or disable keyUp events dispatching - enableKeyEvents must be true as well |
| public var enableMouseWheelEvents: Boolean |
| Enable or disable mouse wheel handling |
| var formatterOptions: String |
| public var horizontalAlignment: String |
| Describes the means by which a child element is vertically positioned or stretched within a parent's layout slot. Center Element is aligned to the center of the parent element's layout slot. Left Element is aligned to the left of the parent element's layout slot. Right Element is aligned to the right of the parent element's layout slot. Stretch Element is stretched to fill the entirety of the parent element's layout slot. |
| public var index: Number |
| An item index for this instance The index of the control in its parent child array.For internal use, acutal definition my vary depending on context. |
| public var isBinding: Number |
| Are we currently executing a binding* |
| public var itemId: Object |
| An item identifier The compound index of a control.For internal use, acutal definition my vary depending on context. |
| public var logEnabled: Boolean |
| Are we in debug logging mode-for internal use only |
| public var parent: Object |
| The parent element for this instance This should not be confused with _parent property which refers to the owning movieclip, parent refers instead to the owning "component". |
| public var parentContainer: Object |
| The parent container element for this instance The first IContainer object above this element in the hierarchy All controls search there parent for resources. |
| public var parentForm: Object |
| The parent form element for this instance The first IForm object above this element in the hierarchy |
| public var percentageHeight: Number |
| the percentage height * |
| public var percentageWidth: Number |
| the percentage width * |
| public var styleClass: String |
| The name of the style class this instance will use. |
| public var tabIndex: Number |
| Sets the tabIndex of this control. tabIndex can also be set via the accesibility panel. |
| public var tabStop: Boolean |
| Gets or sets whether a control should be included in tab navigation. The MM Framework used a combination of TabEnabled and TabChildren to indicate whether a control is a TabStop. However these properties are preset and not user contolled and no way is provided to exclude a control form the tab order except by disabling it. All XPComponents use TabStop to indicate whether a control is tabable, but note tabEnabled and tabChildren MUST NOT be altered as they are still required for compatibility with the MM Framework) By default controls are not TabStops; This maybe overriden in subclasses for input controls. |
| public var tooltip: String |
| The tooltip text. If this property is set a ToolTip window will display when the mouse is idle over the control |
| public var tree: Object |
| Our stylesheet object for child controls This represnts a tree of styles that can be used by child component. As a component loads it tries to locate a valid style object, one of the places it looks is in its parent tree. This allows you to override the global definition of a style with a local one. |
| public var verticalAlignment: String |
| Declares the vertical alignment characteristics applied this element when it is composed within a parent element such as a panel or items control. Bottom Child element is aligned to the bottom of the parent's layout slot. Center Child element is aligned to the center of the parent's layout slot. Stretch Child element stretches to fill the parent's layout slot. Top Child element is aligned to the top of the parent's layout slot. |
|
| Gets or sets the alpha value of the control * |
|
| Controls how this component will resize itslef when its content changes One of none,horizontal,vertical,both. If none the control can only be resized by changing its bounds properties. Any other value and the control can resize itself at any time in response to content changes. |
|
| A Brush object used to paint the controls background. |
|
| Indicates whether the background is visible or not |
|
| An array of bindings for this control |
|
|
| A Brush object used to paint the controls border. |
|
| Sets or get the radius of the border An object with properties topLeft,topRight,bottomRight,bottomLeft corresponding to the topLeft,topRight,bottomRight,bottomLeft radii |
|
| Controls whether there is a shadow drawn round the border |
|
| The type of border that should be drawn "none" for no border otherwise a 3D style type |
|
| A Thickness object used set the dimensions of the border. |
|
| Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. Equivalent to the y position plus the component height |
|
|
| The dataSource this control is bound to. if not explicitly set will bind to the parents dataSource |
|
| Enable or disable mouse events |
|
| for compatibility with MM Framework actually an instance of SystemManager |
|
| Gets or sets the height of the control. Allows the height property to be set in dynamically created components |
|
|
| Controls whether the control is enable or not |
|
| Is the control focused |
|
| Is the mouse currently over this control |
|
| Is the mouse button currently pressed over this control |
|
| Controls whether the control is selected or not |
|
| Is the component in a valid state returns true only if all regions are valid |
|
|
| Controls the layout attributes of a control dock: Controls docking placement defaultValue="float" enumeration="float,left,top,right,bottom,fill" dockOrder: Controls processeing order defaultValue=0 break: Mark whether this controls terminates the layout line defaultValue false |
|
| Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. Equivalent to the x position |
|
|
| Controls the space between the controls bounds and it border |
|
| Sets the max height |
|
| Sets the max width. |
|
| returns the preferred height of the control* |
|
| The minimum size of the component |
|
| The minimum size of the component |
|
| returns the preferred width of the control* |
|
| Sets the min height |
|
| Sets the min width |
|
| Gets or sets padding within the control. An object of type Thickness representing the control's internal spacing characteristics. It represents the distance between the bounds and the internal contents of the component. |
|
| Specifies whether the component is read only or not true if the component is read only |
|
| A hierarchichal store of user defined objects Resources is an associative array that you can use resources to store any object. Any object that is stored in resources is only visible to child components in the visible tree. When you refernce an object in resources if not found directly on this component it will search its parents resources up to the root of the visible tree. |
|
| Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area. Equivalent to the x position plus the component width |
|
|
| Alias for the styleClass property* |
|
| Gets or sets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. Equivalent to the y position |
|
|
| Set or get the array of property triggers for this object Property triggers represent a collection of properties to be automatically set in response to a change in another property. A simple example might be to handle rollover; In response to a change in the isMouseOver property the fontColor property can be changed. |
|
|
|
| Controls whether the control is visible or not |
|
| Gets or sets the width of the control. Allows the width property to be set in dynamically created components |
|
| Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. |
|
|
| Gets or sets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. |
|
|
| Constructor - This should not be called directly. If you want to dynamically create a new instance of a control use its static newInstance method |
|
| Adds a binding for this control | ||||||
|
|
|
| Registers a listener to a component instance. |
|
|
| Add a property trigger for this instance PropertyTriggers are like rollovers, they trigger when a property changes. | ||||||||||||
|
|
| Applies the properties in the style param to this instance. | |||
|
|
| marks the begin of a defer updates session* |
|
| indicates whether the control is currently in a deferred update state* |
|
| Centers content within its parent container. | |||||||||
|
|
| Checks whether the component is in the state specified state Check whether the componenState has the specified flag set | |||
|
|
| Is the control or one of its children focused Returns true if the contorl has focus or one of its child object has focus |
|
|
| Destroys or remove the component from the stage |
|
| destroys or removes a component or clip | |||
|
|
| draws the focus rect and sets the isFocused property this is to maintain compatibility with the MM Framework | |||
|
|
| marks the end of a defer updates session* |
|
|
|
| Returns a binding associated with a particular property Bindings are made to particular properties, a control may have many bindings active at one time binding differnt properties. This retrieves a binding for one named property | |||
|
|
| Returns the minimum and maximum x and y coordinates of a clip in a specified coordinate space. Returns properties that are the minimum and maximum x and y coordinate values of the instance specified by my_mc for the targetCoordinateSpace parameter | |||
|
|
| Get the coordinates of the center of an object. | ||||||
|
|
| Returns a reference to the components static class |
|
| Get the component that currently has the focus. Recommended instead of using Selection object because it will tell you which component has focus. Selection might return a subobject in that component |
|
|
| Get the current focusManager.For compatibility with MM Framework This may return an instance of mx.managers.FocusManager or xp.system.FocusManager depending on whether internal FocusManagement is enabled or not. |
|
| return an object with properties x/y/width/height to describe the focus rect |
|
| Gets the coordinates of the upper-left corner of the component |
|
|
| Retrieves the value of a property if the property value is null or undefined on this instance and inheritable is true it will check for the property value on the parent | |||||||||
|
|
| Gets the width and height of the component returns a Dimension object with properties width and height |
|
| For a given set of properties returns a combined property name. Used for property triggers. returns a string indicating the instances primary state. A combination of selected,enabled,pressed,mouseover states. |
|
| Retrieves the property trigger associated with a named property and a value | ||||||
|
|
| Converts Stage coordinates to the local coordinates of the specified movie clip. Converts the point object from Stage (global) coordinates to the movie clip's (local) coordinates returns the adjusted point | ||||||
|
|
| Invalidates the components boundaries and its draw state Invalidates the components boundaries and its draw state and queues a revalidation on the next frame | ||||||
|
|
| Marks the layout of the component as invalid and will force them to be redrawn on he next frame* |
|
| Marks the boundries of the component as invalid and will force them to be recalculated on he next frame* |
|
| Marks the boundries and layout of the component as invalid and will force them to be redrawn on he next frame* |
|
| Notifies a component one of its children has become invalid | ||||||
|
|
| Checks whether the target object is a child of the parent object | ||||||
|
|
| Determine if the mouse is directly over the target t | |||
|
|
| Checks whether the target object is one of our children | |||
|
|
| Converts local coordinates of the movie clip to the global Stage. Converts the point object from the movie clip's (local) coordinates to the Stage (global) coordinates. returns the adjusted point | ||||||
|
|
| Converts local coordinates to Stage coordinates and then back to local coordinates in two different coordinate space Converts the point object from the source movie clip's (local) coordinates to the Stage (global) coordinates. and then converts the point object from Stage (global) coordinates to the destination movie clip's (local) coordinates returns the adjusted point | |||||||||
|
|
| measures the components boundaries calculates the measured size |
|
| MouseWheel event handler This should not be overridden instead users should override onMouseWheel |
|
| Sets the coordinates of the upper-left corner of the component Sets the coordinates of the upper-left corner of the componet relative to the upper-left corner of its container. | ||||||
|
|
| Called when a child component gains focus This event bubbles up the logical hierarchy | ||||||
|
|
| KillFocus handler.Called when you lose focus. If focus was actualy set to some internal TextField that TextField must call onKillFocus when it loses focus. |
|
| SetFocus handler.Called when you get focus. If focus is actualy set to some internal TextField that TextField must call onSetFocus when it gets focus. |
|
| Process enter key event Called when the control or its children has focus bubbles up the logical hierarchy |
|
| Process escape key event Called when the control or its children has focus bubbles up the logical hierarchy |
|
| Process tab key event Called when the control or its children has focus bubbles up the logical hierarchy |
|
| Redraws the object instead of waiting for invalidation to do so. | |||
|
|
| invalidates the whole UI and forces it to update immediately |
|
| Removes a registered listener from a component instance. |
|
|
| Routes an event to the parent if the routeEvents property is true. | |||
|
|
| Sets the bounds of the control to the specified location and size. Sets the components top,left,width and height properties Note: getBounds is defined in movieclip | ||||||||||||
|
|
| Set focus to this control. If the true focus control is an internal object this will set focus to that object. This function will be called by the FocusManger when tabbing. |
|
| Sets the coordinates of the upper-left corner of the component Sets the coordinates of the upper-left corner of the componet relative to the upper-left corner of its container. | ||||||
|
|
| Sets the value of a property | ||||||
|
|
| Sets the width and height of the component | ||||||
|
|
|
| updates the components UI by validating its invalid regions |
|
| Checks the value of the control Occurs when the input focus leaves the control. |
|
Event summary for the UIControl class
The following table lists events of the UIControl class.
Events if enableMouseEvents:
Events if enableKeyEvents:
Events if focusEnabled: