com.moneydance.awt.ticker
Class StockTickerItem
java.lang.Object
com.moneydance.awt.ticker.TickerItem
com.moneydance.awt.ticker.StockTickerItem
- public class StockTickerItem
- extends TickerItem
Description: This is a component that graphically represents a stock
value and related information as it is scrolled across
the screen in a Ticker component.
------------------------------------------------------------------------
$Author: sreilly $ $Date: 2001/01/31 19:31:13 $
$Revision: 1.1 $
Method Summary |
java.awt.Dimension |
getTickerSize(boolean horizontal)
|
int |
render(java.awt.Graphics g,
int x,
int y,
boolean horizontal,
int size)
render the text on the ticker, and return the length if horizontal,
the height otherwise... |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StockTickerItem
public StockTickerItem(java.lang.String symbol,
float value)
getTickerSize
public java.awt.Dimension getTickerSize(boolean horizontal)
render
public int render(java.awt.Graphics g,
int x,
int y,
boolean horizontal,
int size)
- Description copied from class:
TickerItem
- render the text on the ticker, and return the length if horizontal,
the height otherwise...
- Overrides:
render
in class TickerItem