The Abstract definition for the data model the provides
a List with its contents.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is appropriate
for short term storage or RMI between applications running the same
version of Swing. A future release of Swing will provide support for
long term persistence.
fireContentsChanged(Object source,
int index0,
int index1)
AbstractListModel subclasses must call this method after
one or more elements of the list change.
protected void
fireIntervalAdded(Object source,
int index0,
int index1)
AbstractListModel subclasses must call this method after
one or more elements are added to the model.
protected void
fireIntervalRemoved(Object source,
int index0,
int index1)
AbstractListModel subclasses must call this method after
one or more elements are removed from the model.
protected void fireContentsChanged(Object source,
int index0,
int index1)
AbstractListModel subclasses must call this method after
one or more elements of the list change. The changed elements
are specified by a closed interval index0, index1, i.e. the
range that includes both index0 and index1. Note that
index0 need not be less than or equal to index1.
Parameters:
source - The ListModel that changed, typically "this".
protected void fireIntervalAdded(Object source,
int index0,
int index1)
AbstractListModel subclasses must call this method after
one or more elements are added to the model. The new elements
are specified by a closed interval index0, index1, i.e. the
range that includes both index0 and index1. Note that
index0 need not be less than or equal to index1.
Parameters:
source - The ListModel that changed, typically "this".
protected void fireIntervalRemoved(Object source,
int index0,
int index1)
AbstractListModel subclasses must call this method after
one or more elements are removed from the model. The new elements
are specified by a closed interval index0, index1, i.e. the
range that includes both index0 and index1. Note that
index0 need not be less than or equal to index1.
Parameters:
source - The ListModel that changed, typically "this".
Submit a bug or feature For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, California, 94303, U.S.A. All Rights Reserved.