Constructs a new Ticker object, given its initial contents string.paramticker Ticker object for which L&F has to be createdthrowsNullPointerException if str is null this.ticker = ticker;
Ticker
str
null
this.ticker = ticker;
needed for implementations where the ticker is operated through the Displayable directlyparamowner the last Displayable this ticker was set to this.owner = owner;
this.owner = owner;
change the string set to this tickerparamstr string to set on this ticker. if (owner != null) { Display d = owner.lGetCurrentDisplay(); if (d != null) { d.lSetTicker(owner, ticker); } }
if (owner != null) { Display d = owner.lGetCurrentDisplay(); if (d != null) { d.lSetTicker(owner, ticker); } }