Class NotesDialog.NoteTableModel
- java.lang.Object
-
- javax.swing.AbstractListModel<Note>
-
- org.openstreetmap.josm.gui.dialogs.NotesDialog.NoteTableModel
-
- All Implemented Interfaces:
Serializable
,ListModel<Note>
- Enclosing class:
- NotesDialog
class NotesDialog.NoteTableModel extends AbstractListModel<Note>
-
-
Field Summary
Fields Modifier and Type Field Description private List<Note>
data
private Predicate<Note>
filter
private List<Note>
filteredData
-
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description NoteTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearData()
Note
getElementAt(int index)
int
getSize()
void
setData(Collection<Note> noteList)
void
setFilter(Predicate<Note> filter)
-
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
-
-
-
Constructor Detail
-
NoteTableModel
NoteTableModel()
-
-
Method Detail
-
getSize
public int getSize()
-
getElementAt
public Note getElementAt(int index)
-
setData
public void setData(Collection<Note> noteList)
-
clearData
public void clearData()
-
-