Class PasteTagsConflictResolverDialog.StatisticsTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- javax.swing.table.DefaultTableModel
-
- org.openstreetmap.josm.gui.conflict.tags.PasteTagsConflictResolverDialog.StatisticsTableModel
-
- All Implemented Interfaces:
Serializable
,TableModel
- Enclosing class:
- PasteTagsConflictResolverDialog
static final class PasteTagsConflictResolverDialog.StatisticsTableModel extends DefaultTableModel
-
-
Field Summary
Fields Modifier and Type Field Description private List<PasteTagsConflictResolverDialog.StatisticsInfo>
data
private static String[]
HEADERS
-
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description StatisticsTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
append(PasteTagsConflictResolverDialog.StatisticsInfo info)
int
getRowCount()
Object
getValueAt(int row, int column)
boolean
isCellEditable(int row, int column)
(package private) void
reset()
-
Methods inherited from class javax.swing.table.DefaultTableModel
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
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Field Detail
-
data
private final transient List<PasteTagsConflictResolverDialog.StatisticsInfo> data
-
-
Constructor Detail
-
StatisticsTableModel
StatisticsTableModel()
-
-
Method Detail
-
getValueAt
public Object getValueAt(int row, int column)
- Specified by:
getValueAt
in interfaceTableModel
- Overrides:
getValueAt
in classDefaultTableModel
-
isCellEditable
public boolean isCellEditable(int row, int column)
- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classDefaultTableModel
-
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interfaceTableModel
- Overrides:
getRowCount
in classDefaultTableModel
-
reset
void reset()
-
append
void append(PasteTagsConflictResolverDialog.StatisticsInfo info)
-
-