net.sourceforge.fixagora.sellside.client.model.editor
Class SellSideQuotePageEditorMonitorTableModel

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

public class SellSideQuotePageEditorMonitorTableModel
extends javax.swing.table.AbstractTableModel

The Class SellSideQuotePageEditorMonitorTableModel.

See Also:
Serialized Form

Constructor Summary
SellSideQuotePageEditorMonitorTableModel(SellSideQuotePageEditor sellSideQuotePageEditor)
          Instantiates a new sell side quote page editor monitor table model.
 
Method Summary
 int getColumnCount()
           
 java.lang.String getColumnName(int column)
           
 DollarFraction getDollarFraction(long security)
          Gets the dollar fraction.
 int getFirstColumnWidth()
          Gets the first column width.
 int getMouseOverRow()
          Gets the mouse over row.
 int getRowCount()
           
 UpdateSellSideMDInputEntryResponse getUpdateSellSideMDInputEntryResponse()
          Gets the update sell side md input entry response.
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 boolean isRepaintRequired()
          Checks if is repaint required.
 boolean isShowYield()
          Checks if is show yield.
 void setMinWidth(int minWidth)
          Sets the min width.
 void setMouseOverRow(int row)
          Sets the mouse over row.
 void setTable(javax.swing.JTable table)
          Sets the table.
 void setTableWidth()
          Sets the table width.
 void updateSellSideMDInputEntry(UpdateSellSideMDInputEntryResponse updateSellSideMDInputEntryResponse)
          Update sell side md input entry.
 
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

SellSideQuotePageEditorMonitorTableModel

public SellSideQuotePageEditorMonitorTableModel(SellSideQuotePageEditor sellSideQuotePageEditor)
Instantiates a new sell side quote page editor monitor table model.

Parameters:
sellSideQuotePageEditor - the sell side quote page 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)

setMinWidth

public void setMinWidth(int minWidth)
Sets the min width.

Parameters:
minWidth - the new min width

setTableWidth

public void setTableWidth()
Sets the table width.


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

updateSellSideMDInputEntry

public void updateSellSideMDInputEntry(UpdateSellSideMDInputEntryResponse updateSellSideMDInputEntryResponse)
Update sell side md input entry.

Parameters:
updateSellSideMDInputEntryResponse - the update sell side md input entry response

isRepaintRequired

public boolean isRepaintRequired()
Checks if is repaint required.

Returns:
true, if is repaint required

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

getUpdateSellSideMDInputEntryResponse

public UpdateSellSideMDInputEntryResponse getUpdateSellSideMDInputEntryResponse()
Gets the update sell side md input entry response.

Returns:
the update sell side md input entry response

getFirstColumnWidth

public int getFirstColumnWidth()
Gets the first column width.

Returns:
the first column width

isShowYield

public boolean isShowYield()
Checks if is show yield.

Returns:
true, if is show yield

getDollarFraction

public DollarFraction getDollarFraction(long security)
Gets the dollar fraction.

Parameters:
security - the security
Returns:
the dollar fraction