| Package | org.apache.flex.html |
| Class | public class Button |
| Inheritance | Button UIButtonBase flash.display.SimpleButton |
| Implements | IStrand, IEventDispatcher, IUIBase |
| Subclasses | Button, CloseButton, DropDownList, ImageButton, TextButton, TextButton |
| Language Version : | ActionScript 3.0 |
| Product Version : | FlexJS 0.0 |
| Runtime Versions : | Flash Player 10.2, AIR 2.6 |
| Method | Defined By | ||
|---|---|---|---|
Button()
Constructor. | Button | ||
![]() |
Add a bead to the strand. | UIButtonBase | |
![]() | addedToParent():void | UIButtonBase | |
![]() | getBeadByType(classOrInterface:Class):IBead
Find a bead on the strand. | UIButtonBase | |
![]() | isHeightSizedToContent():Boolean | UIButtonBase | |
![]() | isWidthSizedToContent():Boolean | UIButtonBase | |
![]() |
Remove a bead from the strand. | UIButtonBase | |
![]() | setHeight(value:Number, noEvent:Boolean = false):void | UIButtonBase | |
![]() | setWidth(value:Number, noEvent:Boolean = false):void | UIButtonBase | |
![]() | setWidthAndHeight(newWidth:Number, newHeight:Number, noEvent:Boolean = false):void | UIButtonBase | |
![]() | setX(value:Number):void | UIButtonBase | |
![]() | setY(value:Number):void | UIButtonBase | |
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when the user clicks on a button. | Button | |||
| Button | () | Constructor |
public function Button()| Language Version : | ActionScript 3.0 |
| Product Version : | FlexJS 0.0 |
| Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Constructor.
| click | Event |
org.apache.flex.events.MouseEvent| Language Version : | ActionScript 3.0 |
| Product Version : | FlexJS 0.0 |
| Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Dispatched when the user clicks on a button.