| Package | lunas.display.button |
| Class | public class AquaButton |
| Inheritance | AquaButton AbstractButton AbstractComponent CoreSprite flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
| background : Shape
The background of the button.
| AquaButton | ||
![]() | border : EdgeMetrics
Indicates the thickness, in pixels, of the four edge regions around a visual component.
| AbstractComponent | |
![]() | bubbles : Boolean = true
Indicates if the events use bubbling when are dispatched.
| AbstractComponent | |
![]() | builder : IBuilder
Indicates the IBuilder reference of this instance.
| AbstractComponent | |
![]() | buttonMode : Boolean
Specifies whether this object receives mouse messages.
| AbstractButton | |
![]() | componentInspectorSetting : Boolean
Initialize when the Flash component settings are initialized (only in Flash with a compiled component).
| AbstractComponent | |
![]() | data : *
Indicates the data value object of the component.
| AbstractButton | |
![]() | enabled : Boolean
Indicates the enabled state of the component.
| AbstractComponent | |
![]() | group : Boolean
Indicates with a boolean if this object is grouped.
| AbstractComponent | |
![]() | groupName : String
Indicates the name of the group of this object.
| AbstractComponent | |
![]() | h : Number
(read-only) Indicates the virtual height value of this component.
| AbstractComponent | |
![]() | id : *
Returns the id of this object.
| CoreSprite | |
![]() | index : Number
A number value to indicated the index of this IButton.
| AbstractButton | |
![]() | isConfigurable : Boolean
Indicates if the display is configurable.
| CoreSprite | |
![]() | isReleaseOutside : Boolean = true
Indicates if the button notify a releaseOutside event.
| AbstractButton | |
![]() | label : String
Returns the text label for a button instance.
| AbstractButton | |
![]() | maxHeight : Number
This property defined the maximum height of this component.
| AbstractComponent | |
![]() | maxWidth : Number
This property defined the maximum width of this component.
| AbstractComponent | |
![]() | minHeight : Number
This property defined the mimimun height of this component.
| AbstractComponent | |
![]() | minWidth : Number
This property defined the mimimun width of this component.
| AbstractComponent | |
![]() | mouseEnabled : Boolean
Specifies whether this object receives mouse messages.
| AbstractButton | |
![]() | selected : Boolean
A flag that indicates whether this control is selected.
| AbstractButton | |
![]() | style : IStyle
Returns the style of this component.
| AbstractComponent | |
![]() | toggle : Boolean
Indicates a boolean value indicating whether the button behaves as a toggle switch (true) or not (false).
| AbstractButton | |
![]() | useHandCursor : Boolean
A Boolean value that, when set to true, indicates whether Flash Player displays the hand cursor when the mouse rolls over a button.
| AbstractButton | |
![]() | w : Number
(read-only) Indicates the virtual width value of this component.
| AbstractComponent | |
| Method | Defined by | ||
|---|---|---|---|
|
AquaButton(id:* = null, isConfigurable:Boolean = false, name:String = null)
Creates a new AquaButton instance.
| AquaButton | ||
![]() |
doLater():void
Launch an event with a delayed interval.
| AbstractComponent | |
![]() |
draw(... arguments):void
Draw the view of the component.
| AbstractComponent | |
|
getBuilderRenderer():Class
Returns the constructor function of the
IBuilder of this instance. | AquaButton | ||
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreSprite | |
|
getStyleRenderer():Class
Returns the constructor of the IStyle of this instance.
| AquaButton | ||
![]() |
groupPolicyChanged():void
Invoked when the group property or the groupName property changed.
| AbstractButton | |
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreSprite | |
![]() |
hide():void
Hides the component.
| AbstractComponent | |
![]() |
initialize():void
Initialize the component.
| AbstractComponent | |
![]() |
isLocked():Boolean
Returns
true if the object is locked. | CoreSprite | |
![]() |
isVisible():Boolean
Returns
true if the component is visible. | AbstractComponent | |
![]() |
lock():void
Locks the object.
| CoreSprite | |
![]() |
move(x:Number, y:Number):void
Moves the component.
| AbstractComponent | |
![]() |
notifyChanged():void
Notify a change in this component.
| AbstractComponent | |
![]() |
notifyEnabled():void
Notify an event when the enabled property is changed.
| AbstractComponent | |
![]() |
notifyResized():void
Notify an event when you resize the component.
| AbstractComponent | |
![]() |
refresh(init:*):void
Refresh the component with an object of initialization.
| AbstractComponent | |
![]() |
registerView(scope:Sprite = null):void
Register the view in argument.
| AbstractButton | |
![]() |
resetLock():void
Reset the lock security of the display.
| CoreSprite | |
![]() |
scope():Sprite
Returns the scope reference of this IButton.
| AbstractButton | |
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreSprite | |
![]() |
setSelected(b:Boolean, flag:Boolean = false):void
Sets a boolean value indicating whether the button is selected (true) or not (false).
| AbstractButton | |
![]() |
setSize(w:Number, h:Number):void
Sets the virtuals width and height of the component.
| AbstractComponent | |
![]() |
setStyle(... args):void
Sets the style property on the style declaration or object.
| AbstractComponent | |
![]() |
setup():void
Setup the IConfigurable object.
| CoreSprite | |
![]() |
show():void
Shows the component.
| AbstractComponent | |
![]() |
toString():String
Returns the
String representation of this object. | CoreSprite | |
![]() |
unlock():void
Unlocks the display.
| CoreSprite | |
![]() |
unregisterView():void
Unregister the view of this button.
| AbstractButton | |
![]() |
update():void
Updates the component.
| AbstractComponent | |
![]() |
viewChanged():void
Invoked after the draw method and when the IBuilder is updated.
| AbstractComponent | |
![]() |
viewDestroyed(e:Event = null):void
Invoked when the component is destroyed with a removeMovieClip.
| AbstractComponent | |
![]() |
viewEnabled():void
Invoked when the enabled property of the component change.
| AbstractButton | |
|
viewIconChanged():void
Invoked when the icon property is changed.
| AquaButton | ||
|
viewLabelChanged():void
Invoked when the label change in the component.
| AquaButton | ||
![]() |
viewResize():void
Invoked when the component is resized.
| AbstractComponent | |
|
viewStyleChanged(e:Event = null):void
Invoked when the style of the component is changed.
| AquaButton | ||
| background | property |
public var background:ShapeThe background of the button.
| AquaButton | () | constructor |
public function AquaButton(id:* = null, isConfigurable:Boolean = false, name:String = null)Creates a new AquaButton instance.
Parametersid:* (default = null) — Indicates the id of the object.
|
|
isConfigurable:Boolean (default = false) — This flag indicates if the IConfigurable object is register in the ConfigCollector.
|
|
name:String (default = null) — Indicates the instance name of the object.
|
| getBuilderRenderer | () | method |
public override function getBuilderRenderer():Class
Returns the constructor function of the IBuilder of this instance.
Class — the constructor function of the IBuilder of this instance.
|
| getStyleRenderer | () | method |
public override function getStyleRenderer():ClassReturns the constructor of the IStyle of this instance.
ReturnsClass — the constructor of the IStyle of this instance.
|
| viewIconChanged | () | method |
public function viewIconChanged():voidInvoked when the icon property is changed.
| viewLabelChanged | () | method |
public override function viewLabelChanged():voidInvoked when the label change in the component.
| viewStyleChanged | () | method |
public override function viewStyleChanged(e:Event = null):voidInvoked when the style of the component is changed.
Parameterse:Event (default = null) |