| Package | lunas.components.buttons |
| Class | public class DashboardButtonStyle |
| Inheritance | DashboardButtonStyle PictureButtonStyle BackgroundButtonStyle CoreStyle ConfigurableObject CoreEventDispatcher Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | align : uint = 10
The alignement of the background. | BackgroundButtonStyle | |
| antiAliasType : String = normal
The anti alias type of the fields in the component. | DashboardButtonStyle | ||
| autoSize : Object
Indicates if the textField is autosize value. | DashboardButtonStyle | ||
| border : Boolean
Indicates if the border of the field is visible. | DashboardButtonStyle | ||
| borderColor : Number
The color of the field border. | DashboardButtonStyle | ||
![]() | 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 [read-only]
Indicates the channel of this dispatcher if this instance is global. | CoreEventDispatcher | |
| color : Number = 0xFFFFFF
The default color of the field of the component. | DashboardButtonStyle | ||
| embedFonts : Boolean
Indicates if the fields embed fonts. | DashboardButtonStyle | ||
![]() | gradientMatrix : Matrix
The matrix value to draw the gradient fill. | BackgroundButtonStyle | |
![]() | gradientRotation : Number = 0
The rotation value to draw the gradient fill. | BackgroundButtonStyle | |
![]() | gradientTranslation : Point
The translation vector to draw the gradient fill. | BackgroundButtonStyle | |
| gridFitType : String = none
Indicates the type of the gridfit of the fields. | DashboardButtonStyle | ||
| html : Boolean = true
Indicates if the button use a html text or not. | DashboardButtonStyle | ||
![]() | id : *
Returns the id of this object. | ConfigurableObject | |
![]() | isConfigurable : Boolean
Indicates if the object is configurable and receive the notification of the ConfigCollector in the setup() method. | ConfigurableObject | |
| labelStyleName : String = dashboard_button_label
The style name of the field of the component. | DashboardButtonStyle | ||
![]() | margin : EdgeMetrics
The margin values of the component. | BackgroundButtonStyle | |
| multiline : Boolean
Indicates if the text in the button is multiline. | DashboardButtonStyle | ||
| padding : EdgeMetrics
The padding value used in the component. | DashboardButtonStyle | ||
![]() | pictureAlign : uint = 1
The aligment of the picture when is loading. | PictureButtonStyle | |
![]() | pictureOffset : Point
The offset of the picture when is loading. | PictureButtonStyle | |
![]() | pictureSmoothing : Boolean = true
Indicates if a smooth is apply over the picture (only if the external picture is a BitmapData). | PictureButtonStyle | |
![]() | pictureUseScrollRect : Boolean
Indicates if the scrollRect property of the picture is used when is loading. | PictureButtonStyle | |
| reflection : Boolean
Indicates if a reflection effect is apply over the text. | DashboardButtonStyle | ||
| scrollDuration : Number = 12
The value of the scroll duration of the text container. | DashboardButtonStyle | ||
| scrollEasing : Function
The scroll effect of the text container. | DashboardButtonStyle | ||
| selectable : Boolean
Indicates if the field is selectable in the component. | DashboardButtonStyle | ||
![]() | styleSheet : StyleSheet
Indicates the style sheet reference of this object. | CoreStyle | |
| textDisabledColor : Number = 0xCCCCCC
The color of the text when is disabled. | DashboardButtonStyle | ||
| textRollOverColor : Number = 0xFEFE45
The color of the text when is over. | DashboardButtonStyle | ||
| textSelectedColor : Number = 0xD1BE72
The color of the text when is selected. | DashboardButtonStyle | ||
![]() | theme : IFillStyle
The theme style when the component is up. | BackgroundButtonStyle | |
![]() | themeBorder : ILineStyle
The border style when the component is up. | BackgroundButtonStyle | |
![]() | themeBorderDisabled : ILineStyle
The border style when the component is disabled. | BackgroundButtonStyle | |
![]() | themeBorderRollOver : ILineStyle
The border style when the component is over. | BackgroundButtonStyle | |
![]() | themeBorderSelected : ILineStyle
The border style when the component is selected. | BackgroundButtonStyle | |
![]() | themeDisabled : IFillStyle
The theme style when the component is disabled. | BackgroundButtonStyle | |
![]() | themeFilters : Array
The collection of all filters of the theme. | BackgroundButtonStyle | |
![]() | themeRollOver : IFillStyle
The theme style when the component is over. | BackgroundButtonStyle | |
![]() | themeSelected : IFillStyle
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 : TweenTo
The tween invoked when the button is over. | BackgroundButtonStyle | |
![]() | tweenSelected : TweenTo
The tween invoked when the button is selected. | BackgroundButtonStyle | |
![]() | useGradientBox : Boolean
Indicates if the IFillStyle of this display use gradient box matrix (only if the IFillStyle is a FillGradientStyle). | BackgroundButtonStyle | |
![]() | useLight : Boolean = true
Indicates if the background use a motion light effect when the button is over or selected. | BackgroundButtonStyle | |
| useTextColor : Boolean = true
Indicates if the component use the style text colors. | DashboardButtonStyle | ||
| wordWrap : Boolean
The wordwrap value of the fields. | DashboardButtonStyle | ||
| Method | Defined By | ||
|---|---|---|---|
DashboardButtonStyle(init:* = null, id:* = null)
Creates a new DashboardButtonStyle instance. | DashboardButtonStyle | ||
![]() | 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 system.events.EventDispatcher reference. | CoreEventDispatcher | |
![]() | getStyle(prop:String):*
Returns the value of the specified property if it's exist in the object, else returns null. | CoreStyle | |
![]() | hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event. | CoreEventDispatcher | |
initialize():void [override]
Initialize the style object. | DashboardButtonStyle | ||
![]() | isGlobal():Boolean
Indicates if the dispatcher use a global event flow. | CoreEventDispatcher | |
![]() | isLocked():Boolean
Returns true if the object is locked. | CoreEventDispatcher | |
![]() | lock():void
Locks the object. | CoreEventDispatcher | |
![]() | notifyStyleChanged():void
Invoked when the style is changed. | CoreStyle | |
![]() | registerEventListener(type:String, listener:*, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = 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(dispatcher:EventDispatcher):void
Sets the internal EventDispatcher reference. | CoreEventDispatcher | |
![]() | setGlobal(flag:Boolean = false, channel:String = null):void
Sets if the instance use a global system.events.EventDispatcher to dispatch this events, if the flag value is false the instance use a local EventDispatcher. | CoreEventDispatcher | |
![]() | 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. | CoreStyle | |
![]() | setup():void [override]
Invoked when this object when the ConfigCollector is run. | CoreStyle | |
![]() | styleChanged():void
Invoked when a style property of this IStyle change. | CoreStyle | |
![]() | styleSheetChanged():void
Invoked when the styleSheet value of this IStyle change. | CoreStyle | |
![]() | toString():String
Returns the String representation of this object. | CoreStyle | |
![]() | unlock():void
Unlocks the display. | CoreEventDispatcher | |
![]() | unregisterEventListener(type:String, listener:*, useCapture:Boolean = 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 = normalThe anti alias type of the fields in the component.
| autoSize | property |
public var autoSize:ObjectIndicates if the textField is autosize value.
| border | property |
public var border:BooleanIndicates if the border of the field is visible.
| borderColor | property |
public var borderColor:NumberThe color of the field border.
| color | property |
public var color:Number = 0xFFFFFFThe default color of the field of the component.
| embedFonts | property |
public var embedFonts:BooleanIndicates if the fields embed fonts.
| gridFitType | property |
public var gridFitType:String = noneIndicates the type of the gridfit of the fields.
| html | property |
public var html:Boolean = trueIndicates if the button use a html text or not.
| labelStyleName | property |
public var labelStyleName:String = dashboard_button_labelThe style name of the field of the component.
| multiline | property |
public var multiline:BooleanIndicates if the text in the button is multiline.
| padding | property |
public var padding:EdgeMetricsThe padding value used in the component.
| reflection | property |
public var reflection:BooleanIndicates if a reflection effect is apply over the text.
| scrollDuration | property |
public var scrollDuration:Number = 12The value of the scroll duration of the text container.
| scrollEasing | property |
public var scrollEasing:FunctionThe scroll effect of the text container.
| selectable | property |
public var selectable:BooleanIndicates 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 = 0xFEFE45The color of the text when is over.
| textSelectedColor | property |
public var textSelectedColor:Number = 0xD1BE72The color of the text when is selected.
| useTextColor | property |
public var useTextColor:Boolean = trueIndicates if the component use the style text colors.
| wordWrap | property |
public var wordWrap:BooleanThe wordwrap value of the fields.
| DashboardButtonStyle | () | Constructor |
public function DashboardButtonStyle(init:* = null, id:* = null)Creates a new DashboardButtonStyle instance.
Parametersinit:* (default = null) — An object that contains properties with which to populate the newly Style object. If init is not an object, it is ignored.
| |
id:* (default = null) — The id of the object.
|
| initialize | () | method |
override public function initialize():voidInitialize the style object.