static class UserListDialog.UserTableModel extends DefaultTableModel
Modifier and Type | Field and Description |
---|---|
private List<UserListDialog.UserInfo> |
data |
columnIdentifiers, dataVector
listenerList
Constructor and Description |
---|
UserTableModel() |
Modifier and Type | Method and Description |
---|---|
protected Map<User,Integer> |
computeStatistics(Collection<? extends OsmPrimitive> primitives) |
int |
getRowCount() |
List<User> |
getSelectedUsers(int[] rows) |
Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int row,
int column) |
void |
populate(Collection<? extends OsmPrimitive> primitives) |
void |
selectPrimitivesOwnedBy(int[] rows) |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
private List<UserListDialog.UserInfo> data
public UserTableModel()
protected Map<User,Integer> computeStatistics(Collection<? extends OsmPrimitive> primitives)
public void populate(Collection<? extends OsmPrimitive> primitives)
public int getRowCount()
getRowCount
in interface TableModel
getRowCount
in class DefaultTableModel
public Object getValueAt(int row, int column)
getValueAt
in interface TableModel
getValueAt
in class DefaultTableModel
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultTableModel
public void selectPrimitivesOwnedBy(int[] rows)
public List<User> getSelectedUsers(int[] rows)