public class DeviceTableModel extends AbstractTableModel
listenerList
Constructor and Description |
---|
DeviceTableModel()
Creates the Model
|
Modifier and Type | Method and Description |
---|---|
void |
addProgram(DeviceIf dev,
Program prog)
Add a Device-Program to the Model
|
void |
clearTable()
Clears the Table
|
int |
getColumnCount() |
String |
getColumnName(int col)
Returns the Names for the Columns
|
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
void |
removeColumn(int column)
Remove a Column
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public void addProgram(DeviceIf dev, Program prog)
dev
- Deviceprog
- Program in Devicepublic void removeColumn(int column)
column
- Column to removepublic void clearTable()
public int getColumnCount()
public String getColumnName(int col)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public int getRowCount()
public Object getValueAt(int rowIndex, int columnIndex)
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)