|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
mauda.AutomaticZoomThread
public class AutomaticZoomThread
Handles an automatically zoom for the jedas-panel.
| 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 | |
|---|---|
AutomaticZoomThread()
Creates a thread that adjust the zoom of the jedas-panel automatically. |
|
| Method Summary | |
|---|---|
static void |
forceZoom(Exercise ex)
Perform an automatic zoom immediately. |
static boolean |
isEnabled()
Returns the enabled-State of the automatic zoom. |
void |
run()
|
static void |
setEnabled(boolean en)
Enables or disables the automatic zoom. |
void |
startZooming(Exercise ex)
Starts the automatic zoom. |
void |
stopZooming()
Stops the automatic zoom. |
| 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 AutomaticZoomThread()
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void startZooming(Exercise ex)
ex - The current exercise.public void stopZooming()
public static void forceZoom(Exercise ex)
ex - The current exercise.public static void setEnabled(boolean en)
en - true=enabled, false=disabledpublic static boolean isEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||