de.rowa.posps.client.controls
Class OperationInvocationTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by de.rowa.posps.client.controls.BeanTableModel<OperationInvocation>
          extended by de.rowa.posps.client.controls.OperationInvocationTableModel
All Implemented Interfaces:
OperationInvocationListener, java.io.Serializable, javax.swing.table.TableModel

public class OperationInvocationTableModel
extends BeanTableModel<OperationInvocation>
implements OperationInvocationListener

Swing table model adapter for the operation invocation log of a ConnectionProtocol.

Author:
Michael Koch
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
OperationInvocationTableModel(ConnectionProtocol connectionProtocol)
           
 
Method Summary
 OperationInvocation getRow(int rowIndex)
           
 int getRowCount()
           
 void operationInvoked(ConnectionProtocol connectionProtocol, OperationInvocation operationInvocation)
          Called after an operation has been added to the log of a ConnectionProtocol.
 
Methods inherited from class de.rowa.posps.client.controls.BeanTableModel
getColumnClass, getColumnCount, getColumnName, getValueAt
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationInvocationTableModel

public OperationInvocationTableModel(ConnectionProtocol connectionProtocol)
Method Detail

operationInvoked

public void operationInvoked(ConnectionProtocol connectionProtocol,
                             OperationInvocation operationInvocation)
Description copied from interface: OperationInvocationListener
Called after an operation has been added to the log of a ConnectionProtocol.

Specified by:
operationInvoked in interface OperationInvocationListener
Parameters:
connectionProtocol - The connection protocol to which this operation data has been added.
operationInvocation - Data of the operation invocation which has been added.

getRowCount

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

getRow

public OperationInvocation getRow(int rowIndex)
Specified by:
getRow in class BeanTableModel<OperationInvocation>


Copyright © 2007-2016 Becton Dickinson. All Rights Reserved.