public static class DeleteFromRelationConfirmationDialog.RelationMemberTableModel extends DefaultTableModel
Modifier and Type | Field and Description |
---|---|
private List<RelationToChildReference> |
data |
columnIdentifiers, dataVector
listenerList
Constructor and Description |
---|
DeleteFromRelationConfirmationDialog.RelationMemberTableModel()
Constructs a new
RelationMemberTableModel . |
Modifier and Type | Method and Description |
---|---|
int |
getNumObjectsToDelete() |
int |
getNumParentRelations() |
Set<OsmPrimitive> |
getObjectsToDelete() |
Set<OsmPrimitive> |
getParentRelations() |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int row,
int column) |
void |
populate(Collection<RelationToChildReference> references) |
protected void |
sort() |
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<RelationToChildReference> data
public DeleteFromRelationConfirmationDialog.RelationMemberTableModel()
RelationMemberTableModel
.public int getRowCount()
getRowCount
in interface TableModel
getRowCount
in class DefaultTableModel
protected void sort()
public void populate(Collection<RelationToChildReference> references)
public Set<OsmPrimitive> getObjectsToDelete()
public int getNumObjectsToDelete()
public Set<OsmPrimitive> getParentRelations()
public int getNumParentRelations()
public Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface TableModel
getValueAt
in class DefaultTableModel
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultTableModel