antLogger.logServer
Class TablePanelModel
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--antLogger.logServer.TablePanelModel
- public class TablePanelModel
- extends AbstractTableModel
- implements TableModelListener
Copyright (c) 2002
TablePanelModel
TableModel of a table to show the messages
the newest messages on top
sorting by column doesn't work, 'cause of problem with the dynamic table and it also brings performance problems
all functions concerning sort are with comments
- Author:
- Pascal Mengelt
- Version: 1.0 - 25. april 2002
| Methods inherited from class javax.swing.table.AbstractTableModel |
findColumn, addTableModelListener, removeTableModelListener, fireTableDataChanged, fireTableStructureChanged, fireTableRowsInserted, fireTableRowsUpdated, fireTableRowsDeleted, fireTableCellUpdated, fireTableChanged, getListeners |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait |
TablePanelModel
public TablePanelModel()
addNewMessage
public void addNewMessage(String[] newMsg)
- add a new message to the table
getColumnClass
public Class getColumnClass(int columnIndex)
- See Also:
- TableModel
getColumnCount
public int getColumnCount()
getColumnName
public String getColumnName(int columnIndex)
- See Also:
- TableModel
getRowCount
public int getRowCount()
getValueAt
public Object getValueAt(int row, int column)
- See Also:
- TableModel
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)
- See Also:
- TableModel
resetValues
public void resetValues()
- creates a new ArrayList values
setValueAt
public void setValueAt(Object aValue, int row, int column)
- See Also:
- TableModel
tableChanged
public void tableChanged(TableModelEvent e)
- See Also:
- TableModel