| Package | lunas |
| Class | public class StyleCollector |
| Inheritance | StyleCollector Object |
| Method | Defined By | ||
|---|---|---|---|
clear():void [static]
Removes all elements in the StyleCollector. | StyleCollector | ||
contains(id:*):Boolean [static]
Returns true if the StyleCollector contains the specified id. | StyleCollector | ||
[static]
Returns the IStyle object register in the collector with the id passed-in argument. | StyleCollector | ||
[static]
Insert a IStyle with an unique id into the StyleCollector. | StyleCollector | ||
isEmpty():Boolean [static]
Returns 'true' if the StyleCollector is 'empty'. | StyleCollector | ||
remove(id:*):void [static]
Removes the specified IStyle object with the passed-in id value into the StyleCollector. | StyleCollector | ||
size():uint [static]
Returns the size of the StyleCollector. | StyleCollector | ||
| clear | () | method |
public static function clear():voidRemoves all elements in the StyleCollector.
| contains | () | method |
public static function contains(id:*):Boolean
Returns true if the StyleCollector contains the specified id.
Parameters
id:* |
Boolean — true if the StyleCollector contains the specified id.
|
| get | () | method |
public static function get(id:*):StyleReturns the IStyle object register in the collector with the id passed-in argument.
Parameters
id:* |
Style — the IStyle object register in the collector with the id passed-in argument.
|
| insert | () | method |
public static function insert(id:*, style:Style):BooleanInsert a IStyle with an unique id into the StyleCollector.
Parameters
id:* — the Id of the IStyle to register
| |
style:Style — The IStyle object to insert in the collector.
|
Boolean |
ArgumentError — if the specified 'id' is already register in the collector.
|
| isEmpty | () | method |
public static function isEmpty():BooleanReturns 'true' if the StyleCollector is 'empty'.
ReturnsBoolean — 'true' if the StyleCollector is 'empty'.
|
| remove | () | method |
public static function remove(id:*):voidRemoves the specified IStyle object with the passed-in id value into the StyleCollector.
Parameters
id:* |
| size | () | method |
public static function size():uintReturns the size of the StyleCollector.
Returnsuint — the size of the StyleCollector.
|