|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jgoodies.binding.list.ArrayListModel<E>
E - the type of the list elementscom.jgoodies.common.collect.ArrayListModel.
This class will be removed from the next library version.
@Deprecated public final class ArrayListModel<E>
Adds ListModel capabilities to its superclass
ArrayList, i. e. allows to observe changes in the content and
structure. Useful for lists that are bound to list views, for example
JList, JComboBox and JTable.
| Constructor Summary | |
|---|---|
ArrayListModel()
Deprecated. Constructs an empty list with an initial capacity of ten. |
|
ArrayListModel(java.util.Collection<? extends E> c)
Deprecated. Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator. |
|
ArrayListModel(int initialCapacity)
Deprecated. Constructs an empty list with the specified initial capacity. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayListModel()
public ArrayListModel(int initialCapacity)
initialCapacity - the initial capacity of the list.
java.lang.IllegalArgumentException - if the specified initial capacity
is negativepublic ArrayListModel(java.util.Collection<? extends E> c)
ArrayListModel instance has an initial capacity of
110% the size of the specified collection.
c - the collection whose elements are to be placed into this list.
java.lang.NullPointerException - if the specified collection is
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||