| Package | com.addicted2flash.util |
| Interface | public interface IListObservable extends IList, ICollection, IDisposable |
| Implementors | ObservableArrayList |
Ilist implementations that inform added observers about events.
| Property | Defined by | ||
|---|---|---|---|
![]() | listIterator : IListIterator
Returns the
IListIterator of the IList. | IList | |
| listObserverCount : int [read-only]
Returns the total count of registered
IListObserver. | IListObservable | ||
| Method | Defined by | ||
|---|---|---|---|
![]() |
add(o:*):void
Appends the specified element to the end of this list (optional operation).
| ICollection | |
![]() |
addAll(c:ICollection):void
Adds all of the elements in the specified collection to this collection (optional operation).
| ICollection | |
![]() |
addAllAt(i:int, c:ICollection):void
Adds all of the elements in the specified collection to this collection at a specified
position in this list.
| IList | |
![]() |
addAt(i:int, o:*):void
Inserts the specified element at the specified position in this list (optional operation).
| IList | |
|
addListObserver(o:IListObserver):void
Adds an
IListObserver to the set of observers for this object,
provided that it is not the same as some observer already in the set. | IListObservable | ||
![]() |
clear():void
Removes all of the elements from this list (optional operation).
| ICollection | |
![]() |
Returns a copy of the
ICollection. | ICollection | |
![]() |
contains(o:*):Boolean
Returns true if this list contains the specified element.
| ICollection | |
![]() |
containsAll(c:ICollection):Boolean
Returns true if this collection contains all of the elements in the specified collection.
| ICollection | |
![]() |
dispose():void
free memory for garbage collection.
| IDisposable | |
![]() |
getAt(i:int):*
Returns the element at the specified position in this collection.
| ICollection | |
![]() |
indexOf(o:*):int
Returns the index in this list of the first occurrence of the specified element, or -1 if this list
does not contain this element.
| IList | |
![]() |
isEmpty():Boolean
Returns true if this list contains no elements.
| ICollection | |
![]() |
Returns an iterator over the elements in this list.
| ICollection | |
![]() |
lastIndexOf(o:*):int
Returns the index in this list of the last occurrence of the specified element, or -1 if this list
does not contain this element.
| IList | |
![]() |
remove(o:*):Boolean
Removes the first occurrence in this list of the specified element (optional operation).
| ICollection | |
![]() |
removeAll(c:ICollection):Boolean
Removes a single instance of the specified element from this collection, if it is present (optional operation)
| ICollection | |
![]() |
removeArea(fromIndex:int, toIndex:int):IList
Removes an area in the current list.
| IList | |
![]() |
removeAt(i:int):*
Removes the element at the specified position in this list (optional operation).
| IList | |
|
removeListObserver(o:IListObserver):void
Deletes an
IListObserver from the set of observers of this object. | IListObservable | ||
![]() |
setAt(i:int, o:*):*
Replaces the element at the specified position in this list with the specified element (optional operation).
| IList | |
![]() |
size():int
Returns the number of elements in this list.
| ICollection | |
![]() |
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
| IList | |
![]() |
swap(o1:*, o2:*):Boolean
Swaps elements.
| IList | |
![]() |
swapAt(i1:int, i2:int):Boolean
Swaps elements at given indexes.
| IList | |
![]() |
toArray():Array
Converts the collection into an array.
| ICollection | |
| listObserverCount | property |
listObserverCount:int [read-only]
Returns the total count of registered IListObserver.
public function get listObserverCount():int
| addListObserver | () | method |
public function addListObserver(o:IListObserver):void
Adds an IListObserver to the set of observers for this object,
provided that it is not the same as some observer already in the set.
o:IListObserver — an IListObserver to be added.
|
| removeListObserver | () | method |
public function removeListObserver(o:IListObserver):void
Deletes an IListObserver from the set of observers of this object.
o:IListObserver — the IListObserver to be deleted.
|