|
|||||||||||
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.Movie
Constructor Summary | |
Movie()
|
Method Summary | |
void |
addActor(int id,
javax.microedition.lcdui.Image img,
int[][] steps,
int startX,
int startY,
int startTick,
int endTick,
boolean loop)
Adds an image (actor) that will be presented on the screen using the steps animation. |
boolean |
clock()
Animated components receive clock events in order to update their animation. |
int |
getBgColor()
|
javax.microedition.lcdui.Image |
getBgImage()
|
int |
getBgImageHpos()
|
int |
getBgImageVpos()
|
int |
getStepX()
Get the stepX in a percendage of the Movie width. |
int |
getStepY()
Get the stepY in a percendage of the Movie height. |
int |
getTimelineLength()
|
boolean |
isAnimated()
If a componets states that it is animated, it will receive periodically clock events in order to update its animation. |
boolean |
isBorder()
|
boolean |
isCompleted()
|
boolean |
isLoopTimeline()
|
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). |
gr.bluevibe.fire.components.Movie.Actor |
removeActor(int pos)
Removes the actor with the given id, from the internal map of this banner. |
void |
setBgColor(int bgColor)
|
void |
setBgImage(javax.microedition.lcdui.Image bgImage,
int vpos,
int hpos)
|
void |
setBorder(boolean border)
|
void |
setLoopTimeline(boolean loopTimeline)
|
void |
setStepX(int stepX)
Set the stepX. |
void |
setStepY(int stepY)
Set the stepY. |
void |
setTimelineLength(int timelineLength)
|
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 Movie()
Method Detail |
public void addActor(int id, javax.microedition.lcdui.Image img, int[][] steps, int startX, int startY, int startTick, int endTick, boolean loop) throws java.lang.Exception
java.lang.Exception
public gr.bluevibe.fire.components.Movie.Actor removeActor(int pos)
pos
-
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 boolean isAnimated()
Component
isAnimated
in class Component
public void validate()
Component
validate
in class Component
public boolean isLoopTimeline()
public void setLoopTimeline(boolean loopTimeline)
public int getBgColor()
public void setBgColor(int bgColor)
public int getTimelineLength()
public void setTimelineLength(int timelineLength)
public int getStepY()
public void setStepY(int stepY)
stepY
- , as a percentage of the Movie height.public int getStepX()
public void setStepX(int stepX)
stepX
- , as a percentage of the Movie width.public javax.microedition.lcdui.Image getBgImage()
public void setBgImage(javax.microedition.lcdui.Image bgImage, int vpos, int hpos)
public int getBgImageHpos()
public int getBgImageVpos()
public boolean isBorder()
public void setBorder(boolean border)
public boolean isCompleted()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |