|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.sys.TaskObject
ewe.graphics.ImageMover
| Field Summary | |
Point |
end
This is the ending point. |
AniImage |
image
This is the image being moved. |
int |
pauseTime
This is the time to pause between steps, which defaults to 10 ms. |
Point |
start
This is the starting point. |
int |
timeToMove
This is the length of time it should take to move the image. |
| Fields inherited from class ewe.sys.TaskObject |
handle, interruptThreadToStop, myThread, napIterations, napTime, shouldStop |
| Constructor Summary | |
ImageMover(AniImage image,
Point start,
Point end,
int timeToMove)
|
|
| Method Summary | |
protected void |
doRun()
Override this method if you want to use an mThread to run your Task. |
| Methods inherited from class ewe.sys.TaskObject |
checkAbortFail, checkFailure, doStart, doStop, exec, getHandle, nap, run, setNapTime, show, sleep, start, startTask, stopTask, waitOn, waitOnAny, waitOnSuccess, yield, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, toString |
| Field Detail |
public int timeToMove
public AniImage image
public Point start
public Point end
public int pauseTime
| Constructor Detail |
public ImageMover(AniImage image,
Point start,
Point end,
int timeToMove)
| Method Detail |
protected void doRun()
TaskObject
doRun in class TaskObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||