Class InspectionResultTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.pentaho.reporting.designer.core.inspections.InspectionResultTableModel
-
- All Implemented Interfaces:
Serializable
,EventListener
,TableModel
,InspectionResultListener
public class InspectionResultTableModel extends AbstractTableModel implements InspectionResultListener
User: Martin Date: 01.02.2006 Time: 19:12:32- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description InspectionResultTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(InspectionResult inspectionResult)
void
clear()
Class<?>
getColumnClass(int columnIndex)
int
getColumnCount()
String
getColumnName(int column)
InspectionResult
getInspectionResult(int row)
int
getRowCount()
Object
getValueAt(int rowIndex, int columnIndex)
void
notifyInspectionResult(InspectionResult result)
void
notifyInspectionStarted()
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
-
-
-
Method Detail
-
notifyInspectionResult
public void notifyInspectionResult(InspectionResult result)
- Specified by:
notifyInspectionResult
in interfaceInspectionResultListener
-
add
public boolean add(InspectionResult inspectionResult)
-
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interfaceTableModel
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfaceTableModel
-
getColumnClass
public Class<?> getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getValueAt
public Object getValueAt(int rowIndex, int columnIndex)
- Specified by:
getValueAt
in interfaceTableModel
-
getInspectionResult
public InspectionResult getInspectionResult(int row)
-
clear
public void clear()
-
notifyInspectionStarted
public void notifyInspectionStarted()
- Specified by:
notifyInspectionStarted
in interfaceInspectionResultListener
-
-