| Package | lunas.display.button |
| Class | public class BackgroundButtonStyle |
| Inheritance | BackgroundButtonStyle AbstractStyle ConfigurableObject CoreEventDispatcher CoreObject |
| Subclasses | LabelButtonStyle |
| Property | Defined by | ||
|---|---|---|---|
| align : uint = 10
The alignement of the background.
| BackgroundButtonStyle | ||
| bottomLeftRadius : Number = 0
The radius of the bottom-left corner, in pixels.
| BackgroundButtonStyle | ||
| bottomRightRadius : Number = 0
The radius of the bottom-left corner, in pixels.
| BackgroundButtonStyle | ||
![]() | channel : String
Indicates the channel of this dispatcher if this instance is global.
| CoreEventDispatcher | |
![]() | 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 | |
| margin : EdgeMetrics
The margin values of the component.
| BackgroundButtonStyle | ||
![]() | styleSheet : StyleSheet
Indicates the style sheet reference of this object.
| AbstractStyle | |
| theme : FillStyle
The theme style when the component is up.
| BackgroundButtonStyle | ||
| themeBorder : LineStyle
The border style when the component is up.
| BackgroundButtonStyle | ||
| themeBorderDisabled : LineStyle
The border style when the component is disabled.
| BackgroundButtonStyle | ||
| themeBorderRollOver : LineStyle
The border style when the component is over.
| BackgroundButtonStyle | ||
| themeBorderSelected : LineStyle
The border style when the component is selected.
| BackgroundButtonStyle | ||
| themeDisabled : FillStyle
The theme style when the component is disabled.
| BackgroundButtonStyle | ||
| themeRollOver : FillStyle
The theme style when the component is over.
| BackgroundButtonStyle | ||
| themeSelected : FillStyle
The theme style when the component is selected.
| BackgroundButtonStyle | ||
| topLeftRadius : Number = 0
The radius of the upper-left corner, in pixels.
| BackgroundButtonStyle | ||
| topRightRadius : Number = 0
The radius of the upper-right corner, in pixels.
| BackgroundButtonStyle | ||
| tweenOver : TweenLite
The tween invoked when the button is over.
| BackgroundButtonStyle | ||
| tweenSelected : TweenLite
The tween invoked when the button is selected.
| BackgroundButtonStyle | ||
| Method | Defined by | ||
|---|---|---|---|
|
BackgroundButtonStyle(id:* = null, init:* = null)
Creates a new BackgroundButtonStyle instance.
| BackgroundButtonStyle | ||
![]() |
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 IStyle object.
| BackgroundButtonStyle | ||
![]() |
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 | |
| align | property |
| bottomLeftRadius | property |
public var bottomLeftRadius:Number = 0The radius of the bottom-left corner, in pixels.
| bottomRightRadius | property |
public var bottomRightRadius:Number = 0The radius of the bottom-left corner, in pixels.
| margin | property |
public var margin:EdgeMetricsThe margin values of the component.
| theme | property |
public var theme:FillStyleThe theme style when the component is up.
| themeBorder | property |
public var themeBorder:LineStyleThe border style when the component is up.
| themeBorderDisabled | property |
public var themeBorderDisabled:LineStyleThe border style when the component is disabled.
| themeBorderRollOver | property |
public var themeBorderRollOver:LineStyleThe border style when the component is over.
| themeBorderSelected | property |
public var themeBorderSelected:LineStyleThe border style when the component is selected.
| themeDisabled | property |
public var themeDisabled:FillStyleThe theme style when the component is disabled.
| themeRollOver | property |
public var themeRollOver:FillStyleThe theme style when the component is over.
| themeSelected | property |
public var themeSelected:FillStyleThe theme style when the component is selected.
| topLeftRadius | property |
public var topLeftRadius:Number = 0The radius of the upper-left corner, in pixels.
| topRightRadius | property |
public var topRightRadius:Number = 0The radius of the upper-right corner, in pixels.
| tweenOver | property |
public var tweenOver:TweenLiteThe tween invoked when the button is over.
| tweenSelected | property |
public var tweenSelected:TweenLiteThe tween invoked when the button is selected.
| BackgroundButtonStyle | () | constructor |
public function BackgroundButtonStyle(id:* = null, init:* = null)Creates a new BackgroundButtonStyle 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 IStyle object.