Packagelunas.core
Interfacepublic interface IStyle extends flash.events.IEventDispatcher, IValueObject, Identifiable
ImplementorsAbstractStyle

The IStyle interface defines style object used in the components of your applications.



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

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.