Packagelunas
Interfacepublic interface Style extends flash.events.IEventDispatcher, ValueObject, Identifiable
Implementors CoreStyle

The Style interface defines style object used in the displays and components.



Public Properties
 PropertyDefined By
 Inheritedid : *
Indicates the id value of this object.
Identifiable
  styleSheet : StyleSheet
Indicates the style sheet reference of this object.
Style
Public Methods
 MethodDefined By
  
getStyle(prop:String):*
Returns the value of the specified property if it's exist in the object, else returns null.
Style
  
initialize():void
Invoked in the constructor of the IStyle instance.
Style
  
setStyle(... args):void
Sets the properties of this IStyle object.
Style
  
update():void
Updates the IStyle object.
Style
Property Detail
styleSheetproperty
styleSheet:StyleSheet

Indicates the style sheet reference of this object.


Implementation
    public function get styleSheet():StyleSheet
    public function set styleSheet(value:StyleSheet):void
Method Detail
getStyle()method
public function getStyle(prop:String):*

Returns the value of the specified property if it's exist in the object, else returns null.

Parameters

prop:String

Returns
* — the value of the specified property if it's exist in the object or null.
initialize()method 
public function initialize():void

Invoked in the constructor of the IStyle instance.

setStyle()method 
public function setStyle(... args):void

Sets the properties of this IStyle object.

Parameters

... args

update()method 
public function update():void

Updates the IStyle object.