MicroTAPAS.debug
Class DebugTableModel

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--MicroTAPAS.debug.DebugTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class DebugTableModel
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Field Summary
protected  boolean[] bColumns
           
(package private)  java.lang.String[] columnNames
           
protected  java.util.Vector data
           
 java.lang.Object[] longValues
           
 java.lang.Object[] longValuesMapped
           
 int[] mappedColumns
           
protected  int nextEmptyRow
           
protected  int numRows
           
protected static int START_NUM_ROWS
           
protected  java.util.Vector vColumnNames
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
DebugTableModel(boolean[] pBColumns)
           
DebugTableModel(boolean[] pBColumns, java.util.Vector pData)
           
 
Method Summary
 void clear()
           
 int getColumnCount()
           
 java.lang.String getColumnName(int col)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
private  void init()
           
 void insertRow(DebugEvent de)
           
 boolean isCellEditable(int row, int col)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bColumns

protected boolean[] bColumns

mappedColumns

public int[] mappedColumns

longValuesMapped

public java.lang.Object[] longValuesMapped

vColumnNames

protected java.util.Vector vColumnNames

data

protected java.util.Vector data

START_NUM_ROWS

protected static int START_NUM_ROWS

nextEmptyRow

protected int nextEmptyRow

numRows

protected int numRows

columnNames

final java.lang.String[] columnNames

longValues

public final java.lang.Object[] longValues
Constructor Detail

DebugTableModel

public DebugTableModel(boolean[] pBColumns)

DebugTableModel

public DebugTableModel(boolean[] pBColumns,
                       java.util.Vector pData)
Method Detail

init

private void init()

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getColumnName

public java.lang.String getColumnName(int col)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)

isCellEditable

public boolean isCellEditable(int row,
                              int col)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

insertRow

public void insertRow(DebugEvent de)

clear

public void clear()


The Telematics Architecture for Plug-and-Play Systems (TAPAS) is a research project undertaken by the Norwegian University of Science and Technology's Telematics department which aims at developing an architecture for network-based service systems with a) flexibility and adaptability, b) robustness and survivability, and c) QoS awareness and resource control.

More information can be found at the project's homepage at http://tapas.item.ntnu.no and the project manager, Professor Finn Arve Aagesen, can be reached at finn.arve.aagesen@item.ntnu.no.