Packagelunas.components.buttons
Classpublic class MediaButtonStyle
InheritanceMediaButtonStyle Inheritance CoreStyle Inheritance ConfigurableObject Inheritance CoreEventDispatcher Inheritance Object

This style of the MediaButton style.



Public Properties
 PropertyDefined By
  antiAliasType : String
The anti alias type of the fields in the component.
MediaButtonStyle
  autoSize : Object
Indicates if the textField is autosize value.
MediaButtonStyle
  border : Boolean
Indicates if the border of the field is visible.
MediaButtonStyle
  borderColor : Number
The color of the field border.
MediaButtonStyle
 Inheritedchannel : 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.
MediaButtonStyle
  embedFonts : Boolean
Indicates if the fields embed fonts.
MediaButtonStyle
  gridFitType : String
Indicates the type of the gridfit of the fields.
MediaButtonStyle
  height : Number
Indicates the height value of the field of the component.
MediaButtonStyle
  html : Boolean = true
Indicates if the button use a html text or not.
MediaButtonStyle
 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
  labelStyleName : String = cell_button_label
The style name of the field of the component.
MediaButtonStyle
  margin : EdgeMetrics
The margin value used in the component.
MediaButtonStyle
  multiline : Boolean = true
Indicates if the text in the button is multiline.
MediaButtonStyle
  padding : EdgeMetrics
The padding value used in the component.
MediaButtonStyle
  selectable : Boolean
Indicates if the field is selectable in the component.
MediaButtonStyle
 InheritedstyleSheet : StyleSheet
Indicates the style sheet reference of this object.
CoreStyle
  textDisabledColor : Number = 0xCCCCCC
The color of the text when is disabled.
MediaButtonStyle
  textRollOverColor : Number = 0xFEFE45
The color of the text when is over.
MediaButtonStyle
  textSelectedColor : Number = 0xD1BE72
The color of the text when is selected.
MediaButtonStyle
  theme : FillStyle
Indicate the FillStyle of the component.
MediaButtonStyle
  themeBorder : LineStyle
Indicate the Line Style of the component.
MediaButtonStyle
  themeBorderOver : LineStyle
Indicate the Line Style of the component when the mouse is over.
MediaButtonStyle
  themeOver : FillStyle
Indicate the FillStyle of the component when the mouse is over.
MediaButtonStyle
  useTextColor : Boolean = true
Indicates if the component use the style text colors.
MediaButtonStyle
  width : Number
Indicates the width value of the field of the component.
MediaButtonStyle
  wordWrap : Boolean = true
The wordwrap value of the fields.
MediaButtonStyle
Public Methods
 MethodDefined By
  
MediaButtonStyle(init:* = null, id:* = null)
Creates a new MediaButtonStyle instance.
MediaButtonStyle
 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 IStyle object.
MediaButtonStyle
 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
antiAliasTypeproperty
public var antiAliasType:String

The anti alias type of the fields in the component.

autoSizeproperty 
public var autoSize:Object

Indicates if the textField is autosize value.

borderproperty 
public var border:Boolean

Indicates if the border of the field is visible.

borderColorproperty 
public var borderColor:Number

The color of the field border.

colorproperty 
public var color:Number = 0xFFFFFF

The default color of the field of the component.

embedFontsproperty 
public var embedFonts:Boolean

Indicates if the fields embed fonts.

gridFitTypeproperty 
public var gridFitType:String

Indicates the type of the gridfit of the fields.

heightproperty 
public var height:Number

Indicates the height value of the field of the component.

htmlproperty 
public var html:Boolean = true

Indicates if the button use a html text or not.

labelStyleNameproperty 
public var labelStyleName:String = cell_button_label

The style name of the field of the component.

marginproperty 
public var margin:EdgeMetrics

The margin value used in the component.

multilineproperty 
public var multiline:Boolean = true

Indicates if the text in the button is multiline.

paddingproperty 
public var padding:EdgeMetrics

The padding value used in the component.

selectableproperty 
public var selectable:Boolean

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 = 0xFEFE45

The color of the text when is over.

textSelectedColorproperty 
public var textSelectedColor:Number = 0xD1BE72

The color of the text when is selected.

themeproperty 
public var theme:FillStyle

Indicate the FillStyle of the component.

themeBorderproperty 
public var themeBorder:LineStyle

Indicate the Line Style of the component.

themeBorderOverproperty 
public var themeBorderOver:LineStyle

Indicate the Line Style of the component when the mouse is over.

themeOverproperty 
public var themeOver:FillStyle

Indicate the FillStyle of the component when the mouse is over.

useTextColorproperty 
public var useTextColor:Boolean = true

Indicates if the component use the style text colors.

widthproperty 
public var width:Number

Indicates the width value of the field of the component.

wordWrapproperty 
public var wordWrap:Boolean = true

The wordwrap value of the fields.

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

Creates a new MediaButtonStyle instance.

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

Initialize the IStyle object.