|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
de.enough.polish.ui.AnimationThread
public class AnimationThread
Is used to animate Screens, Backgrounds and Items.
You can specify the animation interval in milliseconds in the variables section of your build.xml script. Example:
sets the interval to 200 ms. When not specified, the default interval of 100 ms will be used.
Copyright Enough Software 2004 - 2008
history
15-Mar-2004 - rob creation
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static int |
ANIMATION_INTERVAL
|
protected static boolean |
releaseResourcesOnScreenChange
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
AnimationThread()
Creates a new animation thread. |
|
| Method Summary | |
|---|---|
static void |
addAnimationItem(javax.microedition.lcdui.CustomItem item)
Adds the given item to list of items that should be animated. |
static void |
addAnimationItem(Item item)
Adds the given item to list of items that should be animated. |
static void |
removeAnimationItem(javax.microedition.lcdui.CustomItem item)
Removes the given item to list of items that should be animated. |
static void |
removeAnimationItem(Item item)
Removes the given item to list of items that should be animated. |
void |
run()
Animates the current screen. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ANIMATION_INTERVAL
protected static boolean releaseResourcesOnScreenChange
| Constructor Detail |
|---|
public AnimationThread()
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static void addAnimationItem(Item item)
item - the item that needs to be animated regardless of it's focused state etc.removeAnimationItem(Item)public static void addAnimationItem(javax.microedition.lcdui.CustomItem item)
item - the item that needs to be animated regardless of it's focused state etc.removeAnimationItem(javax.microedition.lcdui.CustomItem)public static void removeAnimationItem(Item item)
item - the item that does not need to be animated anymoreaddAnimationItem(Item)public static void removeAnimationItem(javax.microedition.lcdui.CustomItem item)
item - the item that does not need to be animated anymoreaddAnimationItem(javax.microedition.lcdui.CustomItem)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||