Package eu.steffo.cleaver.gui
Class JobsTablePanel.JobsTableModel
java.lang.Object
eu.steffo.cleaver.gui.JobsTablePanel.JobsTableModel
- All Implemented Interfaces:
javax.swing.table.TableModel
- Enclosing class:
- JobsTablePanel
public class JobsTablePanel.JobsTableModel
extends java.lang.Object
implements javax.swing.table.TableModel
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JobsTableModel(java.util.ArrayList<Job> jobs)
-
Method Summary
Modifier and Type Method Description void
addTableModelListener(javax.swing.event.TableModelListener l)
java.lang.Class<?>
getColumnClass(int columnIndex)
int
getColumnCount()
java.lang.String
getColumnName(int columnIndex)
int
getRowCount()
java.lang.Object
getValueAt(int rowIndex, int columnIndex)
boolean
isCellEditable(int rowIndex, int columnIndex)
void
removeTableModelListener(javax.swing.event.TableModelListener l)
void
setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
-
Field Details
-
Constructor Details
-
Method Details
-
getRowCount
public int getRowCount()- Specified by:
getRowCount
in interfacejavax.swing.table.TableModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in interfacejavax.swing.table.TableModel
-
getColumnName
public java.lang.String getColumnName(int columnIndex)- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
-
getColumnClass
public java.lang.Class<?> getColumnClass(int columnIndex)- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
-
getValueAt
public java.lang.Object getValueAt(int rowIndex, int columnIndex)- Specified by:
getValueAt
in interfacejavax.swing.table.TableModel
-
setValueAt
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)- Specified by:
setValueAt
in interfacejavax.swing.table.TableModel
-
addTableModelListener
public void addTableModelListener(javax.swing.event.TableModelListener l)- Specified by:
addTableModelListener
in interfacejavax.swing.table.TableModel
-
removeTableModelListener
public void removeTableModelListener(javax.swing.event.TableModelListener l)- Specified by:
removeTableModelListener
in interfacejavax.swing.table.TableModel
-