This interface defines a class that carry styles.
Style is user defined properties installed on TWaver Flex data
and used to carry more customized information as your need.
styleProperties:ICollection
[read-only]
Get a ICollection that contians all style proerty name.
Implementation public function get styleProperties():ICollection
public function getStyle(styleProp:String, returnDefaultIfNull:Boolean = true):*
Get the style property value.
Parameters
| styleProp:String — style property name.
|
|
| returnDefaultIfNull:Boolean (default = true ) — whether return default value if this property is null.
|
Returns | * — style property value.
|
public function setStyle(styleProp:String, newValue:*):IStyle
Set a style property for an element/data.
Parameters
| styleProp:String — the style property name
|
|
| newValue:* — the new value of this style property
|
Returns
Thu Jun 30 2011, 03:49 PM +08:00