|
Venice 0.751beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.org.venice.ui.ExpressionResult
Representation of a result to be displayed in an ExpressionColumn.
This class is the type of the results displayed in that column.
AbstractTable,
AbstractTableModel,
EODQuoteModel,
ExpressionColumn| Field Summary | |
static ExpressionResult |
EMPTY
Empty or missing result. |
| Constructor Summary | |
ExpressionResult(int type,
double result)
Create a new result. |
|
| Method Summary | |
int |
compareTo(java.lang.Object object)
Compare this result to another result. |
double |
getResult()
Get result value. |
java.lang.String |
toString()
Return a string representation of the result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final ExpressionResult EMPTY
| Constructor Detail |
public ExpressionResult(int type,
double result)
type - Type of the result, e.g. Expression.BOOLEAN_TYPEresult - Value of result.| Method Detail |
public double getResult()
public java.lang.String toString()
public int compareTo(java.lang.Object object)
compareTo in interface java.lang.Comparableobject - Result to compare with.
-1if the result is before this result;
0if the results are equal;
1 if the result is after this result.
|
Venice 0.751beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||