|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
org.mov.ui.AbstractTableModel
org.mov.ui.AbstractQuoteModel
org.mov.ui.EODQuoteModel
public class EODQuoteModel
Table model to display end of day quotes to the user. This model tells a table how to display end of day quotes by describing the columns and how to populate the table with quotes from a quote bundle.
AbstractTable,
Column,
ExpressionColumn,
QuoteBundle,
Serialized Form| Field Summary | |
|---|---|
static int |
ACTIVITY_COLUMN
Activity column number. |
static int |
DATE_COLUMN
Date column number. |
static int |
DAY_CLOSE_COLUMN
Day close column number. |
static int |
DAY_HIGH_COLUMN
Day high column number. |
static int |
DAY_LOW_COLUMN
Day low column number. |
static int |
DAY_OPEN_COLUMN
Day open column number. |
static int |
PERCENT_CHANGE_COLUMN
Percent change column number. |
static int |
POINT_CHANGE_COLUMN
Point change column number. |
static int |
SYMBOL_COLUMN
Symbol column number. |
static int |
VOLUME_COLUMN
Volume column number. |
| Fields inherited from class org.mov.ui.AbstractQuoteModel |
|---|
EXPRESSION_COLUMN_COUNT |
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
EODQuoteModel(EODQuoteBundle quoteBundle,
java.util.List quotes,
int displayDate,
int displaySymbol)
Create a new end of day quote model. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getValueAt(int row,
int column)
Return the value at the given table cell. |
| Methods inherited from class org.mov.ui.AbstractQuoteModel |
|---|
getColumn, getColumnCount, getExpressionColumns, getQuotes, getRowCount, setExpressionColumns, setQuotes |
| Methods inherited from class org.mov.ui.AbstractTableModel |
|---|
getColumnClass, getColumnName, setColumns |
| 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 |
| Field Detail |
|---|
public static final int SYMBOL_COLUMN
public static final int DATE_COLUMN
public static final int VOLUME_COLUMN
public static final int DAY_LOW_COLUMN
public static final int DAY_HIGH_COLUMN
public static final int DAY_OPEN_COLUMN
public static final int DAY_CLOSE_COLUMN
public static final int POINT_CHANGE_COLUMN
public static final int PERCENT_CHANGE_COLUMN
public static final int ACTIVITY_COLUMN
| Constructor Detail |
|---|
public EODQuoteModel(EODQuoteBundle quoteBundle,
java.util.List quotes,
int displayDate,
int displaySymbol)
quoteBundle - Quote bundlequotes - A list of EODQuote which contain
the quote symbols and dates to table.displayDate - Display the date column? Either Column.HIDDEN,
Column.VISIBLE or Column.ALWAYS_HIDDEN.displaySymbol - Display the symbol column? Either Column.HIDDEN,
Column.VISIBLE or Column.ALWAYS_HIDDEN.| Method Detail |
|---|
public java.lang.Object getValueAt(int row,
int column)
row - Row number.column - Column number.
|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||