openfuture.bugbase.app.model
Class BugReportTableModel
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--openfuture.bugbase.app.model.BugReportTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
- public class BugReportTableModel
- extends javax.swing.table.AbstractTableModel
Table model for bug report tables.
Created: Thu Feb 03 06:23:21 2000
- Version:
- $Revision: 1.4 $
- Author:
- Wolfgang Reissenberger
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Method Summary |
static java.lang.String |
dateFormat(java.util.Date date,
java.lang.String pattern)
|
java.util.LinkedList |
getBugReportList()
Get the value of bugReportList. |
java.lang.Class |
getColumnClass(int columnIndex)
|
int |
getColumnCount()
|
java.lang.String |
getColumnName(int col)
Method is used to define the column labels |
int |
getRowCount()
Returns the number of records managed by the data source object. |
java.lang.Object |
getValueAt(int x,
int y)
Method is used to access a single table cell |
void |
setBugReportList(java.util.LinkedList v)
Set the value of bugReportList. |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BugReportTableModel
public BugReportTableModel()
BugReportTableModel
public BugReportTableModel(java.util.LinkedList bugReportList)
getRowCount
public int getRowCount()
- Returns the number of records managed by the data source object. A
JTable uses this method to determine how many rows it
should create and display. This method should be quick, as it
is call by JTable quite frequently.
- Overrides:
getRowCount
in class javax.swing.table.AbstractTableModel
- Returns:
- the number or rows in the model
- See Also:
getColumnCount()
getColumnClass
public java.lang.Class getColumnClass(int columnIndex)
- Overrides:
getColumnClass
in class javax.swing.table.AbstractTableModel
getColumnName
public java.lang.String getColumnName(int col)
- Method is used to define the column labels
- Overrides:
getColumnName
in class javax.swing.table.AbstractTableModel
getColumnCount
public int getColumnCount()
- Overrides:
getColumnCount
in class javax.swing.table.AbstractTableModel
getValueAt
public java.lang.Object getValueAt(int x,
int y)
- Method is used to access a single table cell
- Overrides:
getValueAt
in class javax.swing.table.AbstractTableModel
getBugReportList
public java.util.LinkedList getBugReportList()
- Get the value of bugReportList.
- Returns:
- Value of bugReportList.
setBugReportList
public void setBugReportList(java.util.LinkedList v)
- Set the value of bugReportList.
- Parameters:
v
- Value to assign to bugReportList.
dateFormat
public static java.lang.String dateFormat(java.util.Date date,
java.lang.String pattern)
Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.