public class ScheduleTableModel extends javax.swing.table.AbstractTableModel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DISABLED |
static java.lang.String |
ENABLED |
Constructor and Description |
---|
ScheduleTableModel(Schedule[] scheduleList)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Get the number of column
|
java.lang.String |
getColumnName(int columnIndex)
Get the column name
|
int |
getRowCount()
Get the number of row
|
java.lang.Object |
getValueAt(int row,
int column)
Get the value of the cell at row and column.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public static final java.lang.String ENABLED
public static final java.lang.String DISABLED
public ScheduleTableModel(Schedule[] scheduleList)
scheduleList
- the array of the schedulespublic int getRowCount()
public int getColumnCount()
public java.lang.Object getValueAt(int row, int column)
public java.lang.String getColumnName(int columnIndex)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel