| Package | lunas.core |
| Interface | public interface IStyle extends flash.events.IEventDispatcher, IValueObject, Identifiable |
| Implementors | AbstractStyle |
| Property | Defined by | ||
|---|---|---|---|
![]() | id : *
Indicates the id value of this object.
| Identifiable | |
| styleSheet : StyleSheet
Indicates the style sheet reference of this object.
| IStyle | ||
| Method | Defined 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 | ||
| styleSheet | property |
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
| getStyle | () | method |
public function getStyle(prop:String):*Returns the value of the specified property if it's exist in the object, else returns null.
Parametersprop:String |
* — 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.
... args |
| update | () | method |
public function update():void
Updates the IStyle object.