zeus.generator.agent
Class ProtocolModel

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

public class ProtocolModel
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Field Summary
protected  javax.swing.event.EventListenerList changeListeners
           
protected  java.lang.String[] columnNames
           
protected  java.lang.Object[][] data
           
protected  OntologyDb ontologyDb
           
(package private) static int PROTOCOL
           
protected  int selectedRow
           
(package private) static int STATE
           
protected  java.util.Hashtable store
           
protected  StrategyModel strategyModel
           
(package private) static int TYPE
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ProtocolModel(OntologyDb ontologyDb, StrategyModel strategyModel, ProtocolInfo[] protocols)
           
 
Method Summary
 void addChangeListener(javax.swing.event.ChangeListener x)
           
protected  void fireChanged()
           
 int getColumnCount()
           
 java.lang.String getColumnName(int col)
           
 ProtocolInfo[] getData()
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 boolean isCellEditable(int row, int col)
           
 void removeChangeListener(javax.swing.event.ChangeListener x)
           
 void selectRow(int row)
           
 void setValueAt(java.lang.Object aValue, int row, int column)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

static final int TYPE
See Also:
Constant Field Values

PROTOCOL

static final int PROTOCOL
See Also:
Constant Field Values

STATE

static final int STATE
See Also:
Constant Field Values

columnNames

protected java.lang.String[] columnNames

data

protected java.lang.Object[][] data

changeListeners

protected javax.swing.event.EventListenerList changeListeners

store

protected java.util.Hashtable store

strategyModel

protected StrategyModel strategyModel

ontologyDb

protected OntologyDb ontologyDb

selectedRow

protected int selectedRow
Constructor Detail

ProtocolModel

public ProtocolModel(OntologyDb ontologyDb,
                     StrategyModel strategyModel,
                     ProtocolInfo[] protocols)
Method Detail

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

isCellEditable

public boolean isCellEditable(int row,
                              int col)

getColumnName

public java.lang.String getColumnName(int col)

getValueAt

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

setValueAt

public void setValueAt(java.lang.Object aValue,
                       int row,
                       int column)

getData

public ProtocolInfo[] getData()

selectRow

public void selectRow(int row)

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener x)

removeChangeListener

public void removeChangeListener(javax.swing.event.ChangeListener x)

fireChanged

protected void fireChanged()


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