Class CodeSelectionPanel.ProjectionCodeModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.openstreetmap.josm.gui.preferences.projection.CodeSelectionPanel.ProjectionCodeModel
-
- All Implemented Interfaces:
Serializable
,TableModel
- Enclosing class:
- CodeSelectionPanel
private class CodeSelectionPanel.ProjectionCodeModel extends AbstractTableModel
List model for the filtered view on the list of all codes.
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ProjectionCodeModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
String
getColumnName(int column)
int
getRowCount()
String
getValueAt(int index, int column)
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
-
-
-
Constructor Detail
-
ProjectionCodeModel
private ProjectionCodeModel()
-
-
Method Detail
-
getRowCount
public int getRowCount()
-
getValueAt
public String getValueAt(int index, int column)
-
getColumnCount
public int getColumnCount()
-
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
-