Add an element to this model.
This method is passed onto the data model that this data model is
wrapped around.
Parameters: object - The object to be added.
Retrieve the element currently selected. This is not passed
on to the wrapped model as this model is responsible for keeping track
of the currently selected item.
The object currently selected.
Retrieve the number of elements in this model.
This method is passed onto the data model that this data model is
wrapped around.
Number of elements in this model.
initializeSharedInstance
public static synchronized void initializeSharedInstance(Object[] data)(Code)
insertElementAt
public void insertElementAt(Object object, int index)(Code)
Add an item at a specified index.
This method is passed onto the data model that this data model is
wrapped around.
Parameters: object - The object to be added. Parameters: index - The index to add it at.
Remove the passed object from this collection.
This method is passed onto the data model that this data model is
wrapped around.
Parameters: object - The object to be removed.
Remove the element from this collection at the passed index.
This method is passed onto the data model that this data model is
wrapped around.
Parameters: index - The index to remove an element from.