FileDocCategorySizeDatePackage
TickerLFImpl.javaAPI DocphoneME MR2 API (J2ME)2400Wed May 02 18:00:22 BST 2007javax.microedition.lcdui

TickerLFImpl

public class TickerLFImpl extends Object implements TickerLF
Implementation class for TickerLF interface.

Fields Summary
private Ticker
ticker
Ticker object that corresponds to this Look & Feel object.
private DisplayableLFImpl
owner
The last Displayable this ticker was set to.
Constructors Summary
TickerLFImpl(Ticker ticker)
Constructs a new TickerLFImpl object for a given Ticker.

param
ticker Ticker object for which L&F has to be created

	this.ticker = ticker;
    
Methods Summary
public voidlSetOwner(DisplayableLF owner)
This is needed in order to delegate the string setting to DisplayableLFImpl.

param
owner the last Displayable this ticker was set to

	this.owner = (DisplayableLFImpl)owner;
    
public voidlSetString(java.lang.String str)
Change the string set to this ticker.

param
str string to set on this ticker.


	// this method should have no effect if this ticker is not owned
	// by the current displayable. This is checked by DisplayableLFImpl
	
	if (owner != null) {
	    owner.tickerTextChanged(ticker);
	}