| Package | lunas.display.button |
| Class | public class AquaButtonStyle |
| Inheritance | AquaButtonStyle AbstractStyle ConfigurableObject CoreEventDispatcher CoreObject |
| Property | Defined by | ||
|---|---|---|---|
| antiAliasType : String = "null"
The anti alias type of the fields in the component.
| AquaButtonStyle | ||
![]() | channel : String
Indicates the channel of this dispatcher if this instance is global.
| CoreEventDispatcher | |
| color : Number = 0x000000
The default color of the field of the component.
| AquaButtonStyle | ||
| easingBegin : Number = 90
The easing begin value.
| AquaButtonStyle | ||
| easingDuration : Number = 1.5
The easing duration value.
| AquaButtonStyle | ||
| easingEnd : Number = 0
The easing end value.
| AquaButtonStyle | ||
| easingProperty : String = "brightness"
The name of the easing property.
| AquaButtonStyle | ||
| easingRollOver : Function
The id of the easing rollover method.
| AquaButtonStyle | ||
| easingUseSeconds : Boolean = true
Indicates if the easing use seconds.
| AquaButtonStyle | ||
| embedFonts : Boolean = false
Indicates if the fields embed fonts.
| AquaButtonStyle | ||
| gridFitType : String = "null"
Indicates the type of the gridfit of the fields.
| AquaButtonStyle | ||
| html : Boolean = true
Indicates if the button use a html text or not.
| AquaButtonStyle | ||
| iconFilters : Array
The array of the filters of the component icon.
| AquaButtonStyle | ||
![]() | id : *
Returns the id of this object.
| ConfigurableObject | |
![]() | isConfigurable : Boolean
(read-write) Returns
true if the object is configurable and receive the notification of the ConfigCollector in the setup() method. | ConfigurableObject | |
![]() | isGlobal : Boolean
(read-only) Returns the value of the isGlobal flag of this model.
| CoreEventDispatcher | |
| labelStyleName : String = "aqua_button_label"
The style name of the field of the component.
| AquaButtonStyle | ||
| margin : Number = 2
The padding value used in the component.
| AquaButtonStyle | ||
| multiline : Boolean = false
Indicates if the text in the button is multiline.
| AquaButtonStyle | ||
| padding : Number = 1
The padding value used in the component.
| AquaButtonStyle | ||
| selectable : Boolean = false
Indicates if the field is selectable in the component.
| AquaButtonStyle | ||
![]() | styleSheet : StyleSheet
Indicates the style sheet reference of this object.
| AbstractStyle | |
| textDisabledColor : Number = 0xCCCCCC
The color of the text when is disabled.
| AquaButtonStyle | ||
| textRollOverColor : Number = 0xFFFFFF
The color of the text when is over.
| AquaButtonStyle | ||
| textSelectedColor : Number = 0x37284F
The color of the text when is selected.
| AquaButtonStyle | ||
| themeBottomLeftRadius : Number = 8
The radius of the bottom-left corner, in pixels.
| AquaButtonStyle | ||
| themeBottomRightRadius : Number = 8
The radius of the bottom-right corner, in pixels.
| AquaButtonStyle | ||
| themeDisabledFill : FillStyle
The disabled color value of the background.
| AquaButtonStyle | ||
| themeFill : FillStyle
The alpha value of the text.
| AquaButtonStyle | ||
| themeFilters : Array
The array of the filters of the component background.
| AquaButtonStyle | ||
| themeRollOverFill : FillStyle
The rollover color value of the background.
| AquaButtonStyle | ||
| themeSelectedFill : FillStyle
The selected color value of the background.
| AquaButtonStyle | ||
| themeTopLeftRadius : Number = 8
The radius of the upper-left corner, in pixels.
| AquaButtonStyle | ||
| themeTopRightRadius : Number = 8
The radius of the upper-right corner, in pixels.
| AquaButtonStyle | ||
| useTextColor : Boolean = true
Indicates if the component use the style text colors.
| AquaButtonStyle | ||
| wordWrap : Boolean = false
The wordwrap value of the fields.
| AquaButtonStyle | ||
| Method | Defined by | ||
|---|---|---|---|
|
AquaButtonStyle(id:* = null, init:* = null)
Creates a new AquaButtonStyle instance.
| AquaButtonStyle | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0.0, useWeakReference:Boolean = false):void
Allows the registration of event listeners on the event target.
| CoreEventDispatcher | |
![]() |
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
| CoreEventDispatcher | |
![]() |
Returns the internal
EventDispatcher reference. | CoreEventDispatcher | |
![]() |
getIsGlobal():Boolean
Returns the value of the isGlobal flag of this model.
| CoreEventDispatcher | |
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
getStyle(prop:String):*
Returns the value of the specified property if it's exist in the object, else returns null.
| AbstractStyle | |
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| CoreEventDispatcher | |
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreObject | |
![]() |
Creates and returns the internal
EventDispatcher reference (this method is invoked in the constructor). | CoreEventDispatcher | |
|
initialize():void
Initialize the style object.
| AquaButtonStyle | ||
![]() |
isLocked():Boolean
Returns
true if the object is locked. | CoreEventDispatcher | |
![]() |
lock():void
Locks the object.
| CoreEventDispatcher | |
![]() |
notifyStyleChanged():void
Invoked when the style is changed.
| AbstractStyle | |
![]() |
registerEventListener(type:String, listener:Boolean, useCapture:int = false, priority:Boolean = 0, useWeakReference:* = false):void
Allows the registration of event listeners on the event target (Function or EventListener).
| CoreEventDispatcher | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| CoreEventDispatcher | |
![]() |
setEventDispatcher(e:EventDispatcher):void
Sets the internal
EventDispatcher reference. | CoreEventDispatcher | |
![]() |
setGlobal(flag:Boolean = false, channel:String = null):void
Sets if the instance use a global
EventDispatcher to dispatch this events, if the flag value is false the instance use a local EventDispatcher. | CoreEventDispatcher | |
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
setStyle(... args):void
This method is invoked to change a style attribute in this IStyle object with a generic object or a key(String)/value pair of arguments.
| AbstractStyle | |
![]() |
setup():void
Invoked when this object when the ConfigCollector is run.
| AbstractStyle | |
![]() |
styleChanged():void
Invoked when a style property of this
IStyle change. | AbstractStyle | |
![]() |
styleSheetChanged():void
Invoked when the styleSheet value of this
IStyle change. | AbstractStyle | |
![]() |
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
| CoreEventDispatcher | |
![]() |
toString():String
Returns the
String representation of this object. | AbstractStyle | |
![]() |
unlock():void
Unlocks the display.
| CoreEventDispatcher | |
![]() |
unregisterEventListener(type:String, listener:Boolean, useCapture:* = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object.
| CoreEventDispatcher | |
![]() |
update():void
Update the display.
| ConfigurableObject | |
![]() |
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| CoreEventDispatcher | |
| antiAliasType | property |
public var antiAliasType:String = "null"The anti alias type of the fields in the component.
| color | property |
public var color:Number = 0x000000The default color of the field of the component.
| easingBegin | property |
public var easingBegin:Number = 90The easing begin value.
| easingDuration | property |
public var easingDuration:Number = 1.5The easing duration value.
| easingEnd | property |
public var easingEnd:Number = 0The easing end value.
| easingProperty | property |
public var easingProperty:String = "brightness"The name of the easing property.
| easingRollOver | property |
public var easingRollOver:FunctionThe id of the easing rollover method.
| easingUseSeconds | property |
public var easingUseSeconds:Boolean = trueIndicates if the easing use seconds.
| embedFonts | property |
public var embedFonts:Boolean = falseIndicates if the fields embed fonts.
| gridFitType | property |
public var gridFitType:String = "null"Indicates the type of the gridfit of the fields.
| html | property |
public var html:Boolean = trueIndicates if the button use a html text or not.
| iconFilters | property |
public var iconFilters:ArrayThe array of the filters of the component icon.
| labelStyleName | property |
public var labelStyleName:String = "aqua_button_label"The style name of the field of the component.
| margin | property |
public var margin:Number = 2The padding value used in the component.
| multiline | property |
public var multiline:Boolean = falseIndicates if the text in the button is multiline.
| padding | property |
public var padding:Number = 1The padding value used in the component.
| selectable | property |
public var selectable:Boolean = falseIndicates if the field is selectable in the component.
| textDisabledColor | property |
public var textDisabledColor:Number = 0xCCCCCCThe color of the text when is disabled.
| textRollOverColor | property |
public var textRollOverColor:Number = 0xFFFFFFThe color of the text when is over.
| textSelectedColor | property |
public var textSelectedColor:Number = 0x37284FThe color of the text when is selected.
| themeBottomLeftRadius | property |
public var themeBottomLeftRadius:Number = 8The radius of the bottom-left corner, in pixels.
| themeBottomRightRadius | property |
public var themeBottomRightRadius:Number = 8The radius of the bottom-right corner, in pixels.
| themeDisabledFill | property |
public var themeDisabledFill:FillStyleThe disabled color value of the background.
| themeFill | property |
public var themeFill:FillStyleThe alpha value of the text.
| themeFilters | property |
public var themeFilters:ArrayThe array of the filters of the component background.
| themeRollOverFill | property |
public var themeRollOverFill:FillStyleThe rollover color value of the background.
| themeSelectedFill | property |
public var themeSelectedFill:FillStyleThe selected color value of the background.
| themeTopLeftRadius | property |
public var themeTopLeftRadius:Number = 8The radius of the upper-left corner, in pixels.
| themeTopRightRadius | property |
public var themeTopRightRadius:Number = 8The radius of the upper-right corner, in pixels.
| useTextColor | property |
public var useTextColor:Boolean = trueIndicates if the component use the style text colors.
| wordWrap | property |
public var wordWrap:Boolean = falseThe wordwrap value of the fields.
| AquaButtonStyle | () | constructor |
public function AquaButtonStyle(id:* = null, init:* = null)Creates a new AquaButtonStyle instance.
Parametersid:* (default = null) — The id of the object.
|
|
init:* (default = null) — An object that contains properties with which to populate the newly IStyle object. If initObject is not an object, it is ignored.
|
| initialize | () | method |
public override function initialize():voidInitialize the style object.