Packagecom.addicted2flash.util
Interfacepublic interface IListObservable extends IList, ICollection, IDisposable
ImplementorsObservableArrayList

Interface for Ilist implementations that inform added observers about events.



Public Properties
 PropertyDefined by
 InheritedlistIterator : IListIterator
Returns the IListIterator of the IList.
IList
  listObserverCount : int
[read-only] Returns the total count of registered IListObserver.
IListObservable
Public Methods
 MethodDefined by
 Inherited
add(o:*):void
Appends the specified element to the end of this list (optional operation).
ICollection
 Inherited
Adds all of the elements in the specified collection to this collection (optional operation).
ICollection
 Inherited
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
 Inherited
addAt(i:int, o:*):void
Inserts the specified element at the specified position in this list (optional operation).
IList
  
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
 Inherited
clear():void
Removes all of the elements from this list (optional operation).
ICollection
 Inherited
Returns a copy of the ICollection.
ICollection
 Inherited
contains(o:*):Boolean
Returns true if this list contains the specified element.
ICollection
 Inherited
Returns true if this collection contains all of the elements in the specified collection.
ICollection
 Inherited
dispose():void
free memory for garbage collection.
IDisposable
 Inherited
getAt(i:int):*
Returns the element at the specified position in this collection.
ICollection
 Inherited
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
 Inherited
isEmpty():Boolean
Returns true if this list contains no elements.
ICollection
 Inherited
Returns an iterator over the elements in this list.
ICollection
 Inherited
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
 Inherited
remove(o:*):Boolean
Removes the first occurrence in this list of the specified element (optional operation).
ICollection
 Inherited
Removes a single instance of the specified element from this collection, if it is present (optional operation)
ICollection
 Inherited
removeArea(fromIndex:int, toIndex:int):IList
Removes an area in the current list.
IList
 Inherited
removeAt(i:int):*
Removes the element at the specified position in this list (optional operation).
IList
  
Deletes an IListObserver from the set of observers of this object.
IListObservable
 Inherited
setAt(i:int, o:*):*
Replaces the element at the specified position in this list with the specified element (optional operation).
IList
 Inherited
size():int
Returns the number of elements in this list.
ICollection
 Inherited
subList(fromIndex:int, toIndex:int):IList
Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
IList
 Inherited
swap(o1:*, o2:*):Boolean
Swaps elements.
IList
 Inherited
swapAt(i1:int, i2:int):Boolean
Swaps elements at given indexes.
IList
 Inherited
toArray():Array
Converts the collection into an array.
ICollection
Property detail
listObserverCountproperty
listObserverCount:int  [read-only]

Returns the total count of registered IListObserver.

Implementation
    public function get listObserverCount():int
Method detail
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.

Parameters
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.

Parameters
o:IListObserver — the IListObserver to be deleted.