|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
net.sourceforge.fixagora.sellside.client.model.editor.SellSideBookEditorMonitorTableModel
public class SellSideBookEditorMonitorTableModel
The Class SellSideBookEditorMonitorTableModel.
Constructor Summary | |
---|---|
SellSideBookEditorMonitorTableModel(SellSideBook sellSideBook,
MainPanel mainPanel)
Instantiates a new sell side book editor monitor table model. |
Method Summary | |
---|---|
int |
getColumnCount()
|
java.lang.String |
getColumnName(int column)
|
AbstractSellSideEntry |
getEntryForRow()
Gets the entry for row. |
int |
getLastOffset(java.lang.String text)
Gets the last offset. |
int |
getLimitOffset(java.lang.String text)
Gets the limit offset. |
int |
getMouseOverRow()
Gets the mouse over row. |
int |
getRowCount()
|
static java.lang.String |
getTimeLabel(long time)
Gets the time label. |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
|
boolean |
isCanceled(int row)
Checks if is canceled. |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
boolean |
isCompleteFilled(int row)
Checks if is complete filled. |
boolean |
isRepaintRequired()
Checks if is repaint required. |
boolean |
isShowYield()
Checks if is show yield. |
boolean |
isUpdated(int row)
Checks if is updated. |
void |
onNewOrderSingleResponse(NewOrderSingleResponse newOrderSingleResponse)
On new order single response. |
void |
onOpenSellSideBookResponse(OpenSellSideBookResponse openSellSideBookResponse)
On open sell side book response. |
void |
onSellSideQuoteRequestResponse(SellSideQuoteRequestResponse sellSideQuoteRequestResponse)
On sell side quote request response. |
void |
resetUpdate()
Reset update. |
void |
setMinWidth(int minWidth)
Sets the min width. |
boolean |
setMouseOverRow(int row)
Sets the mouse over row. |
void |
setTable(javax.swing.JTable table)
Sets the table. |
void |
setTableWidth()
Sets the table width. |
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 |
---|
public SellSideBookEditorMonitorTableModel(SellSideBook sellSideBook, MainPanel mainPanel)
sellSideBook
- the sell side bookmainPanel
- the main panelMethod Detail |
---|
public int getColumnCount()
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public int getRowCount()
public boolean isShowYield()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
public void setMinWidth(int minWidth)
minWidth
- the new min widthpublic void setTableWidth()
public void setTable(javax.swing.JTable table)
table
- the new tablepublic boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public boolean isRepaintRequired()
public boolean setMouseOverRow(int row)
row
- the row
public int getMouseOverRow()
public void onNewOrderSingleResponse(NewOrderSingleResponse newOrderSingleResponse)
newOrderSingleResponse
- the new order single responsepublic void onOpenSellSideBookResponse(OpenSellSideBookResponse openSellSideBookResponse)
openSellSideBookResponse
- the open sell side book responsepublic int getLimitOffset(java.lang.String text)
text
- the text
public int getLastOffset(java.lang.String text)
text
- the text
public AbstractSellSideEntry getEntryForRow()
public boolean isUpdated(int row)
row
- the row
public void resetUpdate()
public boolean isCanceled(int row)
row
- the row
public boolean isCompleteFilled(int row)
row
- the row
public void onSellSideQuoteRequestResponse(SellSideQuoteRequestResponse sellSideQuoteRequestResponse)
sellSideQuoteRequestResponse
- the sell side quote request responsepublic static java.lang.String getTimeLabel(long time)
time
- the time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |