net.sourceforge.fixagora.excel.client.model.editor
Class ExcelTradeCaptureEditorMonitorTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by net.sourceforge.fixagora.excel.client.model.editor.ExcelTradeCaptureEditorMonitorTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class ExcelTradeCaptureEditorMonitorTableModel
extends javax.swing.table.AbstractTableModel

The Class ExcelTradeCaptureEditorMonitorTableModel.

See Also:
Serialized Form

Constructor Summary
ExcelTradeCaptureEditorMonitorTableModel(ExcelTradeCaptureEditor tradeCaptureEditor)
          Instantiates a new excel trade capture editor monitor table model.
 
Method Summary
 int getColumnCount()
           
 java.lang.String getColumnName(int column)
           
 java.lang.String getDecimalFormatPattern()
          Gets the decimal format pattern.
 ExcelTradeCaptureEntry getEntryForRow()
          Gets the entry for row.
 java.util.List<ExcelTradeCaptureEntry> getExcelTradeCaptureEntries()
          Gets the excel trade capture entries.
 int getMouseOverRow()
          Gets the mouse over row.
 int getRowCount()
           
 int getTradeCount()
          Gets the trade count.
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void onExcelTradeCaptureEntryResponse(ExcelTradeCaptureEntryResponse excelTradeCaptureEntryResponse)
          On excel trade capture entry response.
 void onOpenExcelTradeCaptureResponse(OpenExcelTradeCaptureResponse openExcelTradeCaptureResponse)
          On open excel trade capture response.
 void setMouseOverRow(int row)
          Sets the mouse over row.
 void setTable(javax.swing.JTable table)
          Sets the table.
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelTradeCaptureEditorMonitorTableModel

public ExcelTradeCaptureEditorMonitorTableModel(ExcelTradeCaptureEditor tradeCaptureEditor)
Instantiates a new excel trade capture editor monitor table model.

Parameters:
tradeCaptureEditor - the trade capture editor
Method Detail

getColumnCount

public int getColumnCount()

getColumnName

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

getRowCount

public int getRowCount()

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)

setTable

public void setTable(javax.swing.JTable table)
Sets the table.

Parameters:
table - the new table

isCellEditable

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

setMouseOverRow

public void setMouseOverRow(int row)
Sets the mouse over row.

Parameters:
row - the new mouse over row

getMouseOverRow

public int getMouseOverRow()
Gets the mouse over row.

Returns:
the mouse over row

onExcelTradeCaptureEntryResponse

public void onExcelTradeCaptureEntryResponse(ExcelTradeCaptureEntryResponse excelTradeCaptureEntryResponse)
On excel trade capture entry response.

Parameters:
excelTradeCaptureEntryResponse - the excel trade capture entry response

getEntryForRow

public ExcelTradeCaptureEntry getEntryForRow()
Gets the entry for row.

Returns:
the entry for row

onOpenExcelTradeCaptureResponse

public void onOpenExcelTradeCaptureResponse(OpenExcelTradeCaptureResponse openExcelTradeCaptureResponse)
On open excel trade capture response.

Parameters:
openExcelTradeCaptureResponse - the open excel trade capture response

getTradeCount

public int getTradeCount()
Gets the trade count.

Returns:
the trade count

getExcelTradeCaptureEntries

public java.util.List<ExcelTradeCaptureEntry> getExcelTradeCaptureEntries()
Gets the excel trade capture entries.

Returns:
the excel trade capture entries

getDecimalFormatPattern

public java.lang.String getDecimalFormatPattern()
Gets the decimal format pattern.

Returns:
the decimal format pattern