|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractListModel
org.progeeks.meta.swing.editor.CollectionModelAdapter
public class CollectionModelAdapter
Adapts a javax.swing.ListModel to a PropertyMutator containing a Collection-based value. Note: this model internally caches the values in an ArrayList.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractListModel |
---|
listenerList |
Constructor Summary | |
---|---|
CollectionModelAdapter()
|
Method Summary | |
---|---|
java.lang.Object |
getElementAt(int index)
|
int |
getSize()
|
void |
setMutator(PropertyMutator mutator)
|
Methods inherited from class javax.swing.AbstractListModel |
---|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionModelAdapter()
Method Detail |
---|
public void setMutator(PropertyMutator mutator)
public java.lang.Object getElementAt(int index)
public int getSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |