Package | mx.core |
Interface | public interface IButton extends IUIComponent, IFlexDisplayObject, flash.display.IBitmapDrawable, flash.events.IEventDispatcher |
Implementors | Button |
Property | Defined by | ||
---|---|---|---|
accessibilityProperties : AccessibilityProperties | IFlexDisplayObject | ||
alpha : Number | IFlexDisplayObject | ||
baselinePosition : Number
The y-coordinate of the baseline
of the first line of text of the component.
| IUIComponent | ||
blendMode : String | IFlexDisplayObject | ||
cacheAsBitmap : Boolean | IFlexDisplayObject | ||
document : Object
A reference to the document object associated with this component.
| IUIComponent | ||
emphasized : Boolean
Draws a thick border around the Button control
when the control is in its up state if
emphasized
is set to true . | IButton | ||
enabled : Boolean
Whether the component can accept user interaction.
| IUIComponent | ||
explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates.
| IUIComponent | ||
explicitMaxHeight : Number
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates.
| IUIComponent | ||
explicitMaxWidth : Number
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates.
| IUIComponent | ||
explicitMinHeight : Number
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates.
| IUIComponent | ||
explicitMinWidth : Number
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates.
| IUIComponent | ||
explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates.
| IUIComponent | ||
filters : Array | IFlexDisplayObject | ||
focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing focus.
| IUIComponent | ||
height : Number | IFlexDisplayObject | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container.
| IUIComponent | ||
isPopUp : Boolean
Set to
true by the PopUpManager to indicate
that component has been popped up. | IUIComponent | ||
loaderInfo : LoaderInfo | IFlexDisplayObject | ||
mask : DisplayObject | IFlexDisplayObject | ||
maxHeight : Number
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates.
| IUIComponent | ||
maxWidth : Number
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates.
| IUIComponent | ||
measuredHeight : Number
The measured height of this object.
| IFlexDisplayObject | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels.
| IUIComponent | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels.
| IUIComponent | ||
measuredWidth : Number
The measured width of this object.
| IFlexDisplayObject | ||
minHeight : Number
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates.
| IUIComponent | ||
minWidth : Number
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates.
| IUIComponent | ||
mouseX : Number | IFlexDisplayObject | ||
mouseY : Number | IFlexDisplayObject | ||
name : String | IFlexDisplayObject | ||
opaqueBackground : Object | IFlexDisplayObject | ||
owner : DisplayObjectContainer
Typically the parent container of this component.
| IUIComponent | ||
parent : DisplayObjectContainer | IFlexDisplayObject | ||
percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size.
| IUIComponent | ||
percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size.
| IUIComponent | ||
root : DisplayObject
The methods here would normally just be in IDisplayObject,
but for backward compatibility, they have to be included
directly into IFlexDisplayObject, so they are kept in
this separate include file.
| IFlexDisplayObject | ||
rotation : Number | IFlexDisplayObject | ||
scale9Grid : Rectangle | IFlexDisplayObject | ||
scaleX : Number | IFlexDisplayObject | ||
scaleY : Number | IFlexDisplayObject | ||
scrollRect : Rectangle | IFlexDisplayObject | ||
stage : Stage | IFlexDisplayObject | ||
systemManager : ISystemManager
A reference to the SystemManager object for this component.
| IUIComponent | ||
transform : Transform | IFlexDisplayObject | ||
tweeningProperties : Array
Used by EffectManager.
| IUIComponent | ||
visible : Boolean | IFlexDisplayObject | ||
width : Number | IFlexDisplayObject | ||
x : Number | IFlexDisplayObject | ||
y : Number | IFlexDisplayObject |
Method | Defined by | ||
---|---|---|---|
Queues a function to be called later.
| IButton | ||
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
| IFlexDisplayObject | ||
getExplicitOrMeasuredHeight():Number
A convenience method for determining whether to use the
explicit or measured height
| IUIComponent | ||
getExplicitOrMeasuredWidth():Number
A convenience method for determining whether to use the
explicit or measured width
| IUIComponent | ||
getRect(targetCoordinateSpace:DisplayObject):Rectangle
| IFlexDisplayObject | ||
globalToLocal(point:Point):Point
| IFlexDisplayObject | ||
hitTestObject(obj:DisplayObject):Boolean
| IFlexDisplayObject | ||
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
| IFlexDisplayObject | ||
initialize():void
Initialize the object.
| IUIComponent | ||
localToGlobal(point:Point):Point
| IFlexDisplayObject | ||
move(x:Number, y:Number):void
Moves this object to the specified x and y coordinates.
| IFlexDisplayObject | ||
owns(child:DisplayObject):Boolean
Returns
true if the chain of owner properties
points from child to this UIComponent. | IUIComponent | ||
parentChanged(p:DisplayObjectContainer):void
Called by Flex when a UIComponent object is added to or removed from a parent.
| IUIComponent | ||
setActualSize(newWidth:Number, newHeight:Number):void
Sets the actual size of this object.
| IFlexDisplayObject | ||
setVisible(value:Boolean, noEvent:Boolean = false):void
Called when the
visible property changes. | IUIComponent |
emphasized | property |
emphasized:Boolean
[read-write]
Draws a thick border around the Button control
when the control is in its up state if emphasized
is set to true
.
public function get emphasized():Boolean
public function set emphasized(value:Boolean):void
callLater | () | method |
public function callLater(method:Function, args:Array = null):void
Queues a function to be called later.
Before each update of the screen, Flash Player or AIR calls the set of functions that are scheduled for the update. Sometimes, a function should be called in the next update to allow the rest of the code scheduled for the current update to be executed. Some features, like effects, can cause queued functions to be delayed until the feature completes.
Parametersmethod:Function — Reference to a method to be executed later.
|
|
args:Array (default = null ) — Array of Objects that represent the arguments to pass to the method.
|