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

net.leddisplay.demo.elements
Class TextDisplayElement

java.lang.Object
  extended bynet.leddisplay.demo.elements.AbstractDisplayElement
      extended bynet.leddisplay.demo.elements.TextDisplayElement
All Implemented Interfaces:
DisplayElement

public class TextDisplayElement
extends AbstractDisplayElement


Field Summary
 
Fields inherited from class net.leddisplay.demo.elements.AbstractDisplayElement
tokens
 
Constructor Summary
TextDisplayElement(java.lang.String text)
          Creates a TextDisplayElement with a given display value
 
Method Summary
 void setColor(java.awt.Color color)
          Sets the color for the display value
 void setText(java.lang.String text)
          Sets the display value
 
Methods inherited from class net.leddisplay.demo.elements.AbstractDisplayElement
getTokens
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextDisplayElement

public TextDisplayElement(java.lang.String text)
Creates a TextDisplayElement with a given display value

Parameters:
text - the display value
Method Detail

setText

public void setText(java.lang.String text)
Sets the display value

Parameters:
text - the new display value

setColor

public void setColor(java.awt.Color color)
Sets the color for the display value

Parameters:
color - the new color for the display value

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