org.norvelle.textcite.gui.adapter
Interface ListModelAdaptee
- All Known Implementing Classes:
- AuthorCollection, BookCollection, CitationCategoryCollection, Clipboard
public interface ListModelAdaptee
ListModelAdaptee
An interface indicating that the implementing class can serve as a data model
for a ListModelAdapter (i.e. a data source for a JList). This is necessary in order
to make sure that CiteBook data classes are kept entirely free from any contamination
by the View (i.e. superclasses and interfaces provided by Swing)
- Author:
- Erik Norvelle
getElementAt
java.lang.Object getElementAt(int pos)
throws java.lang.ArrayIndexOutOfBoundsException
- Throws:
java.lang.ArrayIndexOutOfBoundsException
getSize
int getSize()
getPosInList
int getPosInList(java.lang.Object item)
addAdapter
void addAdapter(ListModelChangeListener adapter)
removeAdapter
void removeAdapter(ListModelChangeListener adapter)
recreateAdapterCollection
void recreateAdapterCollection()