|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jappit.imagefx.ImageFx
com.jappit.imagefx.fxs.PuzzleFx
public class PuzzleFx
| Field Summary |
|---|
| Fields inherited from class com.jappit.imagefx.ImageFx |
|---|
ORIENTATION_HORIZONTAL, ORIENTATION_NONE, ORIENTATION_VERTICAL, TYPE_IN, TYPE_NONE, TYPE_OUT |
| Constructor Summary | |
|---|---|
PuzzleFx(int hPieces,
int vPieces,
int type)
Creates a puzzle FX with the given number of horizontal and vertical pieces, and with the specified FX type |
|
| Method Summary | |
|---|---|
protected void |
paintFx(javax.microedition.lcdui.Graphics g,
javax.microedition.lcdui.Image image,
long timeDiff)
Renders the given Image applying the FX |
void |
start(long millisecs)
Starts the FX animation |
| Methods inherited from class com.jappit.imagefx.ImageFx |
|---|
assertFxType, assertNotFxType, assertNotOrientation, assertOrientation, getDirection, getFxType, getOrientation, getPercentage, isEnded, isLooping, isRunning, paint, setDirection, setFxType, setLooping, setOrientation, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PuzzleFx(int hPieces,
int vPieces,
int type)
hPieces - the horizontal pieces numbervPieces - the vertical pieces numbertype - the FX type| Method Detail |
|---|
public void start(long millisecs)
ImageFx
start in class ImageFxmillisecs - the FX duration, in milliseconds
protected void paintFx(javax.microedition.lcdui.Graphics g,
javax.microedition.lcdui.Image image,
long timeDiff)
ImageFx
paintFx in class ImageFxg - the Graphics object to be used for rendering the FXimage - the Image object to be drawntimeDiff - the current time difference from FX start
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||