|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.sf.cafebabe.util.LongOperation
org.sf.cafebabe.util.TimerLongOperation
public abstract class TimerLongOperation
This class represents some long operation as Thread. It allows correctly kill such task. Additionally it produces event ActionEvent each delay mc for registered listener ActionListener.
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 org.sf.cafebabe.util.LongOperation |
---|
CANCEL_OPERATION, delay, ERROR_OPERATION, OK_OPERATION |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
TimerLongOperation(int delay,
java.awt.event.ActionListener listener)
|
Method Summary | |
---|---|
void |
startLoading()
|
void |
stopLoading()
|
Methods inherited from class org.sf.cafebabe.util.LongOperation |
---|
execute, getResultMessage, getResultType, run |
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 |
Constructor Detail |
---|
public TimerLongOperation(int delay, java.awt.event.ActionListener listener)
Method Detail |
---|
public void startLoading()
startLoading
in class LongOperation
public void stopLoading()
stopLoading
in class LongOperation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |