Led Display Component v1.0
www.LedTicker.net/display

net.leddisplay.demo.elements
Class StockColorModel

java.lang.Object
  extended bynet.leddisplay.demo.elements.StockColorModel
All Implemented Interfaces:
ColorModel

public class StockColorModel
extends java.lang.Object
implements ColorModel


Constructor Summary
StockColorModel()
           
 
Method Summary
 java.awt.Color getColor()
          Gets the color of a token
 void setChangePercent(double changePercent)
           
 void setColor(java.awt.Color color)
          Sets the color of a token
 void setDownColor(java.awt.Color c)
           
 void setNeutralColor(java.awt.Color c)
           
 void setUpColor(java.awt.Color c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StockColorModel

public StockColorModel()
Method Detail

getColor

public java.awt.Color getColor()
Description copied from interface: ColorModel
Gets the color of a token

Specified by:
getColor in interface ColorModel
Returns:
the color of the token

setColor

public void setColor(java.awt.Color color)
Description copied from interface: ColorModel
Sets the color of a token

Specified by:
setColor in interface ColorModel
Parameters:
color - the color of the token

setUpColor

public void setUpColor(java.awt.Color c)

setNeutralColor

public void setNeutralColor(java.awt.Color c)

setDownColor

public void setDownColor(java.awt.Color c)

setChangePercent

public void setChangePercent(double changePercent)

Led Display Component v1.0
www.LedTicker.net/display