com.darwinsys.swingui
Class FilterGUIListModel
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
com.darwinsys.swingui.FilterGUIListModel
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.util.List, javax.swing.ListModel, java.util.RandomAccess, java.io.Serializable
- public class FilterGUIListModel
- extends java.util.ArrayList
- implements javax.swing.ListModel
FilterGUIListModel combines an ArrayList with a ListModel for ease of use.
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Object |
source
|
Fields inherited from class java.util.AbstractList |
modCount |
Methods inherited from class java.util.ArrayList |
addAll, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, removeRange, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
source
protected java.lang.Object source
getElementAt
public java.lang.Object getElementAt(int index)
- Specified by:
getElementAt
in interface javax.swing.ListModel
getSize
public int getSize()
- Specified by:
getSize
in interface javax.swing.ListModel
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener
in interface javax.swing.ListModel
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener
in interface javax.swing.ListModel
add
public boolean add(java.lang.Object o)
- Specified by:
add
in interface java.util.List
add
public void add(int index,
java.lang.Object element)
- Specified by:
add
in interface java.util.List
addAll
public boolean addAll(java.util.Collection o)
- Specified by:
addAll
in interface java.util.List
clear
public void clear()
- Specified by:
clear
in interface java.util.List
remove
public java.lang.Object remove(int i)
- Specified by:
remove
in interface java.util.List
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.List
set
public java.lang.Object set(int index,
java.lang.Object element)
- Specified by:
set
in interface java.util.List
Copyright © 2000-2003 Ian F. Darwin. See license.html for usage license.