gov.nasa.worldwindx.applications.dataimporter
Class FileSetTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
gov.nasa.worldwindx.applications.dataimporter.FileSetTableModel
- All Implemented Interfaces:
- PropertyChangeListener, Serializable, EventListener, TableModel
public class FileSetTableModel
- extends AbstractTableModel
- implements PropertyChangeListener
The table model for the file-set table.
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
columnTitles
protected static final String[] columnTitles
fileSets
protected Set<FileSet> fileSets
FileSetTableModel
public FileSetTableModel(FileSetMap fileSetMap)
clearFileSets
protected void clearFileSets()
getColumnClass
public Class getColumnClass(int col)
- Specified by:
getColumnClass in interface TableModel- Overrides:
getColumnClass in class AbstractTableModel
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount in interface TableModel
getColumnName
public String getColumnName(int col)
- Specified by:
getColumnName in interface TableModel- Overrides:
getColumnName in class AbstractTableModel
getImageIcon
protected ImageIcon getImageIcon(int row)
getRow
public FileSet getRow(int row)
getRowCount
public int getRowCount()
- Specified by:
getRowCount in interface TableModel
getRowForFileSet
public Integer getRowForFileSet(FileSet fileSet)
getValueAt
public Object getValueAt(int row,
int col)
- Specified by:
getValueAt in interface TableModel
propertyChange
public void propertyChange(PropertyChangeEvent propertyChangeEvent)
- Specified by:
propertyChange in interface PropertyChangeListener
setFileSetMap
public void setFileSetMap(FileSetMap fileSetMap)