Package | com.yworks.support |
Class | public class ReadOnlyList |
Inheritance | ReadOnlyList flash.utils.Proxy |
Implements | List |
Method | Defined By | ||
---|---|---|---|
ReadOnlyList(wrapped:List) | ReadOnlyList | ||
Not supported by this implementation. | ReadOnlyList | ||
addItem(item:Object):Boolean
Not supported by this implementation. | ReadOnlyList | ||
clear():void
Not supported by this implementation. | ReadOnlyList | ||
contains(item:Object):Boolean
Returns true if this collection contains the specified element. | ReadOnlyList | ||
getItemAt(index:int):Object
Returns the element at the specified position in this collection. | ReadOnlyList | ||
indexOf(item:Object):int
Returns the index of the first occurrence of the specified element in this list,
or -1 if this list does not contain the element. | ReadOnlyList | ||
insert(item:Object, index:uint):void
Not supported by this implementation. | ReadOnlyList | ||
isEmpty():Boolean
Returns true if this collection contains no elements. | ReadOnlyList | ||
Returns an iterator over a set of elements. | ReadOnlyList | ||
length():uint
Returns the number of elements in this collection. | ReadOnlyList | ||
removeAt(index:uint):void
Not supported by this implementation. | ReadOnlyList | ||
removeItem(item:Object):Boolean
Not supported by this implementation. | ReadOnlyList | ||
sort(comparisonFunction:Function = null, sortOptions:int = -1):void
Not supported by this implementation. | ReadOnlyList | ||
toArray():Array
Returns an array containing all of the elements in this collection. | ReadOnlyList |
ReadOnlyList | () | Constructor |
addAll | () | method |
public function addAll(it:Iterable):void
Not supported by this implementation.
Parameters
it:Iterable |
flash.errors:IllegalOperationError — always
|
addItem | () | method |
public function addItem(item:Object):Boolean
Not supported by this implementation.
Parameters
item:Object |
Boolean |
flash.errors:IllegalOperationError — always
|
clear | () | method |
public function clear():void
Not supported by this implementation.
flash.errors:IllegalOperationError — always
|
contains | () | method |
public function contains(item:Object):Boolean
Returns true if this collection contains the specified element.
Parameters
item:Object — element whose presence in this collection is to be tested
|
Boolean — true if this collection contains the specified element
|
getItemAt | () | method |
public function getItemAt(index:int):Object
Returns the element at the specified position in this collection.
Parameters
index:int — the index of the element to return
|
Object — the element at the specified position in this list
|
indexOf | () | method |
public function indexOf(item:Object):int
Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.
Parameters
item:Object — the element to search for
|
int — the index of the first occurrence of the specified element in this list,
or -1 if this list does not contain the element
|
insert | () | method |
public function insert(item:Object, index:uint):void
Not supported by this implementation.
Parameters
item:Object | |
index:uint |
flash.errors:IllegalOperationError — always
|
isEmpty | () | method |
public function isEmpty():Boolean
Returns true if this collection contains no elements.
ReturnsBoolean — true if this collection contains no elements
|
iterator | () | method |
public function iterator():Iterator
Returns an iterator over a set of elements.
ReturnsIterator — an Iterator.
|
length | () | method |
public function length():uint
Returns the number of elements in this collection.
Returnsuint — the number of elements in this collection
|
removeAt | () | method |
public function removeAt(index:uint):void
Not supported by this implementation.
Parameters
index:uint |
flash.errors:IllegalOperationError — always
|
removeItem | () | method |
public function removeItem(item:Object):Boolean
Not supported by this implementation.
Parameters
item:Object |
Boolean |
flash.errors:IllegalOperationError — always
|
sort | () | method |
public function sort(comparisonFunction:Function = null, sortOptions:int = -1):void
Not supported by this implementation.
Parameters
comparisonFunction:Function (default = null )
| |
sortOptions:int (default = -1 )
|
flash.errors:IllegalOperationError — always
|
toArray | () | method |
public function toArray():Array
Returns an array containing all of the elements in this collection.
ReturnsArray — an array containing all of the elements in this collection
|