Packagelunas.components.buttons
Classpublic class ItemButtonStyle
InheritanceItemButtonStyle Inheritance IconButtonStyle Inheritance LabelButtonStyle Inheritance BackgroundButtonStyle Inheritance CoreStyle Inheritance ConfigurableObject Inheritance CoreEventDispatcher Inheritance Object

This style of the ItemButton component.



Public Properties
 PropertyDefined By
 Inheritedalign : uint = 10
The alignement of the background.
BackgroundButtonStyle
 InheritedantiAliasType : String
The anti alias type of the fields in the component.
LabelButtonStyle
 InheritedautoSize : Boolean
Indicates if the button is autoSize.
LabelButtonStyle
 Inheritedborder : Boolean
Indicates if the border of the field is visible.
LabelButtonStyle
 InheritedborderColor : Number
The color of the field border.
LabelButtonStyle
 InheritedbottomLeftRadius : Number = 0
The radius of the bottom-left corner, in pixels.
BackgroundButtonStyle
 InheritedbottomRightRadius : Number = 0
The radius of the bottom-left corner, in pixels.
BackgroundButtonStyle
 Inheritedchannel : String
[read-only] Indicates the channel of this dispatcher if this instance is global.
CoreEventDispatcher
 Inheritedcolor : Number = 0xFFFFFF
The default color of the field of the component.
LabelButtonStyle
 InheritedembedFonts : Boolean
Indicates if the fields embed fonts.
LabelButtonStyle
 InheritedgradientMatrix : Matrix
The matrix value to draw the gradient fill.
BackgroundButtonStyle
 InheritedgradientRotation : Number = 0
The rotation value to draw the gradient fill.
BackgroundButtonStyle
 InheritedgradientTranslation : Point
The translation vector to draw the gradient fill.
BackgroundButtonStyle
 InheritedgridFitType : String
Indicates the type of the gridfit of the fields.
LabelButtonStyle
 Inheritedheight : Number
Indicates the height value of the label field of the component.
IconButtonStyle
 Inheritedhtml : Boolean = true
Indicates if the button use a html text or not.
LabelButtonStyle
 InheritediconAlign : uint
The alignement of the icon in the component (can be Align.LEFT or Align.RIGHT only, default Align.LEFT).
IconButtonStyle
 InheritediconFilters : Array
The collection of all filters over the icon of the button.
IconButtonStyle
 Inheritedid : *
Returns the id of this object.
ConfigurableObject
 InheritedisConfigurable : Boolean
Indicates if the object is configurable and receive the notification of the ConfigCollector in the setup() method.
ConfigurableObject
 InheritedlabelFilters : Array
The collection of all filters over the label of the button.
LabelButtonStyle
 InheritedlabelStyleName : String = label_button_label
The style name of the field of the component.
LabelButtonStyle
 Inheritedmargin : EdgeMetrics
The margin values of the component.
BackgroundButtonStyle
 Inheritedmultiline : Boolean
Indicates if the text in the button is multiline.
LabelButtonStyle
 Inheritedpadding : EdgeMetrics
The padding value used in the component.
LabelButtonStyle
 Inheritedselectable : Boolean
Indicates if the field is selectable in the component.
LabelButtonStyle
  spacing : Number
Indicate the space value between the icons.
ItemButtonStyle
 InheritedstyleSheet : StyleSheet
Indicates the style sheet reference of this object.
CoreStyle
 InheritedtextDisabledColor : Number = 0xCCCCCC
The color of the text when is disabled.
LabelButtonStyle
 InheritedtextRollOverColor : Number = 0xFEFE45
The color of the text when is over.
LabelButtonStyle
 InheritedtextSelectedColor : Number = 0xD1BE72
The color of the text when is selected.
LabelButtonStyle
 Inheritedtheme : IFillStyle
The theme style when the component is up.
BackgroundButtonStyle
 InheritedthemeBorder : ILineStyle
The border style when the component is up.
BackgroundButtonStyle
 InheritedthemeBorderDisabled : ILineStyle
The border style when the component is disabled.
BackgroundButtonStyle
 InheritedthemeBorderRollOver : ILineStyle
The border style when the component is over.
BackgroundButtonStyle
 InheritedthemeBorderSelected : ILineStyle
The border style when the component is selected.
BackgroundButtonStyle
 InheritedthemeDisabled : IFillStyle
The theme style when the component is disabled.
BackgroundButtonStyle
 InheritedthemeFilters : Array
The collection of all filters of the theme.
BackgroundButtonStyle
 InheritedthemeRollOver : IFillStyle
The theme style when the component is over.
BackgroundButtonStyle
 InheritedthemeSelected : IFillStyle
The theme style when the component is selected.
BackgroundButtonStyle
 InheritedtopLeftRadius : Number = 0
The radius of the upper-left corner, in pixels.
BackgroundButtonStyle
 InheritedtopRightRadius : Number = 0
The radius of the upper-right corner, in pixels.
BackgroundButtonStyle
 InheritedtweenOver : TweenTo
The tween invoked when the button is over.
BackgroundButtonStyle
 InheritedtweenSelected : TweenTo
The tween invoked when the button is selected.
BackgroundButtonStyle
 InheriteduseGradientBox : Boolean
Indicates if the IFillStyle of this display use gradient box matrix (only if the IFillStyle is a FillGradientStyle).
BackgroundButtonStyle
 InheriteduseLight : Boolean = true
Indicates if the background use a motion light effect when the button is over or selected.
BackgroundButtonStyle
 InheriteduseTextColor : Boolean = true
Indicates if the component use the style text colors.
LabelButtonStyle
 Inheritedwidth : Number
Indicates the width value of the label field of the component.
IconButtonStyle
 InheritedwordWrap : Boolean
The wordwrap value of the fields.
LabelButtonStyle
Public Methods
 MethodDefined By
  
ItemButtonStyle(init:* = null, id:* = null)
Creates a new ItemButtonStyle instance.
ItemButtonStyle
 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 system.events.EventDispatcher reference.
CoreEventDispatcher
 Inherited
getStyle(prop:String):*
Returns the value of the specified property if it's exist in the object, else returns null.
CoreStyle
 Inherited
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.
ItemButtonStyle
 Inherited
isGlobal():Boolean
Indicates if the dispatcher use a global event flow.
CoreEventDispatcher
 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.
CoreStyle
 Inherited
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
 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 system.events.EventDispatcher to dispatch this events, if the flag value is false the instance use a local EventDispatcher.
CoreEventDispatcher
 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.
CoreStyle
 Inherited
setup():void
[override] Invoked when this object when the ConfigCollector is run.
CoreStyle
 Inherited
Invoked when a style property of this IStyle change.
CoreStyle
 Inherited
Invoked when the styleSheet value of this IStyle change.
CoreStyle
 Inherited
toString():String
Returns the String representation of this object.
CoreStyle
 Inherited
unlock():void
Unlocks the display.
CoreEventDispatcher
 Inherited
unregisterEventListener(type:String, listener:*, useCapture:Boolean = 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
[override] Sets the id of the object and register it in the StyleCollector if it's possible.
CoreStyle
 Inherited
Creates and returns the internal EventDispatcher reference (this method is invoked in the constructor).
CoreEventDispatcher
Property Detail
spacingproperty
public var spacing:Number

Indicate the space value between the icons.

Constructor Detail
ItemButtonStyle()Constructor
public function ItemButtonStyle(init:* = null, id:* = null)

Creates a new ItemButtonStyle instance.

Parameters
init:* (default = null) — The id of the object.
 
id:* (default = null) — An object that contains properties with which to populate the newly Style object. If init is not an object, it is ignored.
Method Detail
initialize()method
override public function initialize():void

Initialize the Style object.