Led Ticker Component v2.2
www.ledticker.net

net.ledticker.demo.elements
Class AbstractTickerElement

java.lang.Object
  extended bynet.ledticker.demo.elements.AbstractTickerElement
All Implemented Interfaces:
TickerElement
Direct Known Subclasses:
StockTickerElement, TextTickerElement

public abstract class AbstractTickerElement
extends java.lang.Object
implements TickerElement

Abstract implementation of the interface


Field Summary
protected  Token[] tokens
          The element's tokens
 
Constructor Summary
protected AbstractTickerElement(Token[] tokens)
          Creates an element without tokens
 
Method Summary
 Token[] getTokens()
          Gets the element's tokens
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tokens

protected Token[] tokens
The element's tokens

Constructor Detail

AbstractTickerElement

protected AbstractTickerElement(Token[] tokens)
Creates an element without tokens

Method Detail

getTokens

public Token[] getTokens()
Gets the element's tokens

Specified by:
getTokens in interface TickerElement
Returns:
the element's tokens

Led Ticker Component v2.2
www.ledticker.net