zeus.agentviewer.protocol
Class ProtocolModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byzeus.agentviewer.protocol.ProtocolModel
All Implemented Interfaces:
ProtocolMonitor, java.io.Serializable, javax.swing.table.TableModel

public class ProtocolModel
extends javax.swing.table.AbstractTableModel
implements ProtocolMonitor

See Also:
Serialized Form

Field Summary
private  java.lang.String[] columnNames
           
private  java.util.Vector data
           
static int PROTOCOL
           
private  ProtocolDb protocolDb
           
static int STATE
           
static int TYPE
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ProtocolModel(AgentContext context)
           
 
Method Summary
 int getColumnCount()
           
 java.lang.String getColumnName(int col)
           
 int getRowCount()
           
 StrategyInfo[] getStrategyInfos(int row)
           
 java.lang.Object getValueAt(int row, int col)
           
 void protocolAccessedEvent(ProtocolEvent event)
           
 void protocolAddedEvent(ProtocolEvent event)
           
 void protocolDeletedEvent(ProtocolEvent event)
           
 void protocolModifiedEvent(ProtocolEvent event)
           
 void removeZeusEventMonitors()
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final int TYPE
See Also:
Constant Field Values

PROTOCOL

public static final int PROTOCOL
See Also:
Constant Field Values

STATE

public static final int STATE
See Also:
Constant Field Values

columnNames

private java.lang.String[] columnNames

data

private java.util.Vector data

protocolDb

private ProtocolDb protocolDb
Constructor Detail

ProtocolModel

public ProtocolModel(AgentContext context)
Method Detail

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface javax.swing.table.TableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface javax.swing.table.TableModel

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)
Specified by:
getValueAt in interface javax.swing.table.TableModel

getColumnName

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

protocolAddedEvent

public void protocolAddedEvent(ProtocolEvent event)
Specified by:
protocolAddedEvent in interface ProtocolMonitor

protocolDeletedEvent

public void protocolDeletedEvent(ProtocolEvent event)
Specified by:
protocolDeletedEvent in interface ProtocolMonitor

protocolModifiedEvent

public void protocolModifiedEvent(ProtocolEvent event)
Specified by:
protocolModifiedEvent in interface ProtocolMonitor

protocolAccessedEvent

public void protocolAccessedEvent(ProtocolEvent event)
Specified by:
protocolAccessedEvent in interface ProtocolMonitor

removeZeusEventMonitors

public void removeZeusEventMonitors()

getStrategyInfos

public StrategyInfo[] getStrategyInfos(int row)


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.