Packageorg.aswing
Interfacepublic interface MutableListModel extends ListModel
ImplementorsVectorListModel

MutableListMode is a MVC pattern's mode for List UI, different List UI can connected to a same mode to view the mode's data. When the mode's data changed the mode should fire a event to all its ListDataListeners.



Public Methods
 MethodDefined by
 Inherited
Adds a listener to the list that's notified each time a change to the data model occurs.
ListModel
 Inherited
getElementAt(index:int):*
Returns the value at the specified index.
ListModel
 Inherited
getSize():int
Returns the length of the list.
ListModel
  
insertElementAt(item:*, index:int):void
Inserts a element at specified position.
MutableListModel
  
removeElementAt(index:int):void
Removes a element from a specified position.
MutableListModel
 Inherited
Removes a listener from the list that's notified each time a change to the data model occurs.
ListModel
Method detail
insertElementAt()method
public function insertElementAt(item:*, index:int):void

Inserts a element at specified position.

Parameters
item:*
 
index:int
removeElementAt()method 
public function removeElementAt(index:int):void

Removes a element from a specified position.

Parameters
index:int