com.metamatrix.console.ui.views.transactions
Class TransactionTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
com.metamatrix.toolbox.ui.widget.table.DefaultTableModel
com.metamatrix.console.ui.views.transactions.TransactionTableModel
- All Implemented Interfaces:
- EnhancedTableModel, java.io.Serializable, javax.swing.table.TableModel
public class TransactionTableModel
- extends DefaultTableModel
Extension to DefaultSortableTableModel to model the Transactions tab table.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.DefaultTableModel |
columnIdentifiers, dataVector |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class com.metamatrix.toolbox.ui.widget.table.DefaultTableModel |
addColumn, addColumnEditStatus, createColumnEditStatusList, initializeDefaultTableModel, isCellEditable, isColumnEditable, isEditable, isRowEditable, setCellEditable, setColumnEditable, setColumnEditStatusList, setColumnIdentifiers, setDataVector, setEditable, setRowEditable, setValueAt |
Methods inherited from class javax.swing.table.DefaultTableModel |
addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setDataVector, setNumRows, setRowCount |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.table.TableModel |
addTableModelListener, getColumnCount, getColumnName, getRowCount, getValueAt, removeTableModelListener |
NUM_COLUMNS
public static final int NUM_COLUMNS
- See Also:
- Constant Field Values
TRANSACTION_ID_COL
public static final int TRANSACTION_ID_COL
- See Also:
- Constant Field Values
SESSION_ID_COL
public static final int SESSION_ID_COL
- See Also:
- Constant Field Values
STATUS_COL
public static final int STATUS_COL
- See Also:
- Constant Field Values
START_TIME_COL
public static final int START_TIME_COL
- See Also:
- Constant Field Values
END_TIME_COL
public static final int END_TIME_COL
- See Also:
- Constant Field Values
CONNECTOR_ID_COL
public static final int CONNECTOR_ID_COL
- See Also:
- Constant Field Values
PROCESSOR_ID_COL
public static final int PROCESSOR_ID_COL
- See Also:
- Constant Field Values
DATABASE_COL
public static final int DATABASE_COL
- See Also:
- Constant Field Values
REQUEST_ID_COL
public static final int REQUEST_ID_COL
- See Also:
- Constant Field Values
TRANSACTION_ID_HDR
public static final java.lang.String TRANSACTION_ID_HDR
- See Also:
- Constant Field Values
SESSION_ID_HDR
public static final java.lang.String SESSION_ID_HDR
- See Also:
- Constant Field Values
STATUS_HDR
public static final java.lang.String STATUS_HDR
- See Also:
- Constant Field Values
START_TIME_HDR
public static final java.lang.String START_TIME_HDR
- See Also:
- Constant Field Values
END_TIME_HDR
public static final java.lang.String END_TIME_HDR
- See Also:
- Constant Field Values
CONNECTOR_ID_HDR
public static final java.lang.String CONNECTOR_ID_HDR
- See Also:
- Constant Field Values
PROCESSOR_ID_HDR
public static final java.lang.String PROCESSOR_ID_HDR
- See Also:
- Constant Field Values
DATABASE_HDR
public static final java.lang.String DATABASE_HDR
- See Also:
- Constant Field Values
REQUEST_ID_HDR
public static final java.lang.String REQUEST_ID_HDR
- See Also:
- Constant Field Values
TransactionTableModel
public TransactionTableModel()
getColumnClass
public java.lang.Class getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interface javax.swing.table.TableModel
- Overrides:
getColumnClass
in class javax.swing.table.AbstractTableModel
resetFromTransactionsList
public void resetFromTransactionsList(java.util.Collection tx)
- Method to repopulate the table model based on a Collection of
ServerTransaction objects.
transactionIDForTransactionNum
public TransactionID transactionIDForTransactionNum(java.lang.Long transactionNum)
- Method to return a TransactionID contained within the model, given its
transaction number. This method is accurate only if the model has been
populated exclusively through use of the resetFromTransactionsList()
method.
Copyright © 2009. All Rights Reserved.