|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mov.ui.QuoteFormat
public class QuoteFormat
Representation of a quote value for display in a table. This class is
used by the AbstractTable class to identify the value type so that
it can render the value correctly. A quote value might be the day open,
day close, day high etc of the quote.
| Constructor Summary | |
|---|---|
QuoteFormat(double quote)
Create a new quote value format object. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object object)
Compare two quote values. |
double |
getQuote()
Return the quote value. |
static java.lang.String |
quoteToString(double quote)
Convert from a quote (in dollars) to string. |
java.lang.String |
toString()
Create a string representation of the quote value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QuoteFormat(double quote)
quote - the quote value.| Method Detail |
|---|
public static java.lang.String quoteToString(double quote)
quote - the quote
public java.lang.String toString()
toString in class java.lang.Objectpublic double getQuote()
public int compareTo(java.lang.Object object)
compareTo in interface java.lang.Comparableobject - object to compare to
0 if the objects are equal;
1 if this object is after the specified
object or
-1 if this object is before the specified
object
|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||