|
Led Ticker Component v2.2 www.ledticker.net |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ledticker.elements.Token
net.ledticker.demo.tokens.TextToken
A token representing a line of text
| Constructor Summary | |
TextToken()
Creates a TextToken with no display value |
|
TextToken(java.lang.String text)
|
|
TextToken(java.lang.String text,
ColorModel colorModel)
Creates a TextToken with a display value and a ColorModel |
|
| Method Summary | |
java.lang.String |
getDisplayValue()
Gets the String representation of the token that will
be scrolled by the ticker |
void |
setValue(java.lang.Object value)
Sets the token's value |
| Methods inherited from class net.ledticker.elements.Token |
getColorModel, setColorModel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextToken()
public TextToken(java.lang.String text)
text - the display text of the TextToken
public TextToken(java.lang.String text,
ColorModel colorModel)
text - the display valuecolorModel - the ColorModel| Method Detail |
public java.lang.String getDisplayValue()
TokenString representation of the token that will
be scrolled by the ticker
getDisplayValue in class TokenString representationToken.getDisplayValue()public void setValue(java.lang.Object value)
Token
setValue in class Tokenvalue - the token's valueToken.setValue(java.lang.Object)
|
Led Ticker Component v2.2 www.ledticker.net |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||