|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.bluevibe.fire.components.Component
gr.bluevibe.fire.components.FTicker
FTicket implements j2me ticker functionallity for Panels
Constructor Summary | |
FTicker()
|
|
FTicker(java.lang.String t)
Creates a ticker with the given String. |
Method Summary | |
boolean |
clock()
Animated components receive clock events in order to update their animation. |
java.lang.String |
getText()
|
boolean |
isAnimated()
If a componets states that it is animated, it will receive periodically clock events in order to update its animation. |
void |
paint(javax.microedition.lcdui.Graphics g)
Paint is called by the container of the component to allow it to draw itself on Graphics g The drawable area on g is (0,0,width,height). |
void |
setText(java.lang.String t)
Set the text of the ticker. |
void |
validate()
A validate event requests from the component to recalculate its internal properties suck as width/height etc. |
Methods inherited from class gr.bluevibe.fire.components.Component |
addCommand, equals, fireValidateEvent, generateEvent, getHeight, getMinHeight, getMinWidth, getWidth, isSelected, isTraversable, keyEvent, pointerEvent, setCommandListener, setContainerCurrent, setCurrent, setHeight, setMinHeight, setMinWidth, setSelected, setWidth |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FTicker(java.lang.String t)
t
- the scrolling String.public FTicker()
Method Detail |
public java.lang.String getText()
public void setText(java.lang.String t)
t
- public boolean isAnimated()
Component
isAnimated
in class Component
public void paint(javax.microedition.lcdui.Graphics g)
Component
paint
in class Component
g
- the area on witch the component will draw it self.public boolean clock()
Component
clock
in class Component
public void validate()
Component
validate
in class Component
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |