|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--sunw.demo.quote.QuoteEvent
Simple encapsulation of quote data for a single stock. Note that this class is serializable because EventObject implements java.io.Serializable. The QuoteServer communicates with remote QuoteListeners (used by the QuoteMonitor bean) via QuoteEvents.
QuoteServer
,
QuoteListener
Method Summary | |
double |
getAsk()
|
double |
getBid()
|
java.util.Date |
getDate()
|
double |
getOpen()
|
double |
getPrice()
|
java.lang.String |
getSymbol()
|
long |
getVolume()
|
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public java.lang.String getSymbol()
public java.util.Date getDate()
public double getPrice()
public double getBid()
public double getAsk()
public double getOpen()
public long getVolume()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |