Packagelunas.display.button
Classpublic class AquaButtonStyle
InheritanceAquaButtonStyle Inheritance AbstractStyle Inheritance ConfigurableObject Inheritance CoreEventDispatcher Inheritance CoreObject

The IStyle class of the AquaButton component.



Public Properties
 PropertyDefined by
  antiAliasType : String = "null"
The anti alias type of the fields in the component.
AquaButtonStyle
 Inheritedchannel : 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
 Inheritedid : *
Returns the id of this object.
ConfigurableObject
 InheritedisConfigurable : Boolean
(read-write) Returns true if the object is configurable and receive the notification of the ConfigCollector in the setup() method.
ConfigurableObject
 InheritedisGlobal : 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
 InheritedstyleSheet : 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
Public Methods
 MethodDefined by
  
AquaButtonStyle(id:* = null, init:* = null)
Creates a new AquaButtonStyle instance.
AquaButtonStyle
 Inherited
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
 Inherited
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
CoreEventDispatcher
 Inherited
Returns the internal EventDispatcher reference.
CoreEventDispatcher
 Inherited
getIsGlobal():Boolean
Returns the value of the isGlobal flag of this model.
CoreEventDispatcher
 Inherited
Returns the internal ILogger reference of this ILogable object.
CoreObject
 Inherited
getStyle(prop:String):*
Returns the value of the specified property if it's exist in the object, else returns null.
AbstractStyle
 Inherited
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
CoreEventDispatcher
 Inherited
hashCode():uint
Returns a hashcode value for the object.
CoreObject
 Inherited
Creates and returns the internal EventDispatcher reference (this method is invoked in the constructor).
CoreEventDispatcher
  
initialize():void
Initialize the style object.
AquaButtonStyle
 Inherited
isLocked():Boolean
Returns true if the object is locked.
CoreEventDispatcher
 Inherited
lock():void
Locks the object.
CoreEventDispatcher
 Inherited
Invoked when the style is changed.
AbstractStyle
 Inherited
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
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
CoreEventDispatcher
 Inherited
Sets the internal EventDispatcher reference.
CoreEventDispatcher
 Inherited
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
 Inherited
setLogger(log:ILogger = null):void
Sets the internal ILogger reference of this ILogable object.
CoreObject
 Inherited
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
 Inherited
setup():void
Invoked when this object when the ConfigCollector is run.
AbstractStyle
 Inherited
styleChanged():void
Invoked when a style property of this IStyle change.
AbstractStyle
 Inherited
Invoked when the styleSheet value of this IStyle change.
AbstractStyle
 Inherited
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
CoreEventDispatcher
 Inherited
toString():String
Returns the String representation of this object.
AbstractStyle
 Inherited
unlock():void
Unlocks the display.
CoreEventDispatcher
 Inherited
unregisterEventListener(type:String, listener:Boolean, useCapture:* = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object.
CoreEventDispatcher
 Inherited
update():void
Update the display.
ConfigurableObject
 Inherited
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
Protected Methods
 MethodDefined by
 Inherited
_setID(id:*):void
Sets the id of the object and register it in the StyleCollector if it's possible.
AbstractStyle
Property detail
antiAliasTypeproperty
public var antiAliasType:String = "null"

The anti alias type of the fields in the component.

colorproperty 
public var color:Number = 0x000000

The default color of the field of the component.

easingBeginproperty 
public var easingBegin:Number = 90

The easing begin value.

easingDurationproperty 
public var easingDuration:Number = 1.5

The easing duration value.

easingEndproperty 
public var easingEnd:Number = 0

The easing end value.

easingPropertyproperty 
public var easingProperty:String = "brightness"

The name of the easing property.

easingRollOverproperty 
public var easingRollOver:Function

The id of the easing rollover method.

easingUseSecondsproperty 
public var easingUseSeconds:Boolean = true

Indicates if the easing use seconds.

embedFontsproperty 
public var embedFonts:Boolean = false

Indicates if the fields embed fonts.

gridFitTypeproperty 
public var gridFitType:String = "null"

Indicates the type of the gridfit of the fields.

htmlproperty 
public var html:Boolean = true

Indicates if the button use a html text or not.

iconFiltersproperty 
public var iconFilters:Array

The array of the filters of the component icon.

labelStyleNameproperty 
public var labelStyleName:String = "aqua_button_label"

The style name of the field of the component.

marginproperty 
public var margin:Number = 2

The padding value used in the component.

multilineproperty 
public var multiline:Boolean = false

Indicates if the text in the button is multiline.

paddingproperty 
public var padding:Number = 1

The padding value used in the component.

selectableproperty 
public var selectable:Boolean = false

Indicates if the field is selectable in the component.

textDisabledColorproperty 
public var textDisabledColor:Number = 0xCCCCCC

The color of the text when is disabled.

textRollOverColorproperty 
public var textRollOverColor:Number = 0xFFFFFF

The color of the text when is over.

textSelectedColorproperty 
public var textSelectedColor:Number = 0x37284F

The color of the text when is selected.

themeBottomLeftRadiusproperty 
public var themeBottomLeftRadius:Number = 8

The radius of the bottom-left corner, in pixels.

themeBottomRightRadiusproperty 
public var themeBottomRightRadius:Number = 8

The radius of the bottom-right corner, in pixels.

themeDisabledFillproperty 
public var themeDisabledFill:FillStyle

The disabled color value of the background.

themeFillproperty 
public var themeFill:FillStyle

The alpha value of the text.

themeFiltersproperty 
public var themeFilters:Array

The array of the filters of the component background.

themeRollOverFillproperty 
public var themeRollOverFill:FillStyle

The rollover color value of the background.

themeSelectedFillproperty 
public var themeSelectedFill:FillStyle

The selected color value of the background.

themeTopLeftRadiusproperty 
public var themeTopLeftRadius:Number = 8

The radius of the upper-left corner, in pixels.

themeTopRightRadiusproperty 
public var themeTopRightRadius:Number = 8

The radius of the upper-right corner, in pixels.

useTextColorproperty 
public var useTextColor:Boolean = true

Indicates if the component use the style text colors.

wordWrapproperty 
public var wordWrap:Boolean = false

The wordwrap value of the fields.

Constructor detail
AquaButtonStyle()constructor
public function AquaButtonStyle(id:* = null, init:* = null)

Creates a new AquaButtonStyle instance.

Parameters
id:* (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.
Method detail
initialize()method
public override function initialize():void

Initialize the style object.