|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Methods needed to customize look and feel of a Ticker
| Method Summary | |
int |
getHeight(javax.microedition.lcdui.Ticker tk)
Get the height of this component |
int |
getInitialXPosition(javax.microedition.lcdui.Ticker tk)
Get the starting x position of the Ticker text. |
int |
getUpdatePeriod(javax.microedition.lcdui.Ticker tk)
Get the timeout period to use for Ticker animation. |
void |
paint(javax.microedition.lcdui.Graphics g,
javax.microedition.lcdui.Ticker tk,
int x)
Method to be used for drawing a Ticker. |
int |
updatePosition(javax.microedition.lcdui.Ticker tk,
int currentX)
Retrieve the new x position of the ticker, called during animation. |
| Method Detail |
public void paint(javax.microedition.lcdui.Graphics g,
javax.microedition.lcdui.Ticker tk,
int x)
g - Graphics object to use for drawingtk - Ticker to drawx - x position to start drawing ticker textpublic int getHeight(javax.microedition.lcdui.Ticker tk)
tk - Ticker to obtain size information about
public int updatePosition(javax.microedition.lcdui.Ticker tk,
int currentX)
tk - Ticker to obtain size information aboutcurrentX - current x positionpublic int getUpdatePeriod(javax.microedition.lcdui.Ticker tk)
tk - Ticker to obtain updatePeriod forpublic int getInitialXPosition(javax.microedition.lcdui.Ticker tk)
tk - the Ticker to obtain the x position for
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||