|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.jmo.mailmessager.utils.MailMessagerIconAnimator
public class MailMessagerIconAnimator
Used to spawn a thread for animation of rotating "thinking" icons as well as rotating icons of mail accounts that contain new email messages.
MailMessagerTray
,
MailMessagerConstants
,
MailMessagerController
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
MailMessagerIconAnimator()
Creates MailMessagerIconAnimator to be used for animating busy icons. |
|
MailMessagerIconAnimator(java.lang.String[] imageFilenames)
Creates MailMessagerIconAnimator to be used for animating email provider icons where that provider has new email messages. |
Method Summary | |
---|---|
void |
end(int opt)
Tells the current Animator thread to gracefully stop. |
static boolean |
isProcessing()
Returns whether the IconAnimator instance is performing a provider animation or a busy animation. |
void |
run()
Main thread to perform the specified type of System Tray icon animation. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MailMessagerIconAnimator()
public MailMessagerIconAnimator(java.lang.String[] imageFilenames)
imageFilenames
- Array of image filesnames of providers with new messages.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static boolean isProcessing()
public void end(int opt)
opt
- Index into array for which default ICONS and TOOLTIPS element to display.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |