public abstract class FreeMindTask
extends java.lang.Thread
| Modifier and Type | Class and Description |
|---|---|
protected class |
FreeMindTask.ProgressDescription |
| Modifier and Type | Field and Description |
|---|---|
protected FreeMindTask.ProgressDescription |
mProgressDescription |
| Constructor and Description |
|---|
FreeMindTask(javax.swing.RootPaneContainer pRootPaneContainer,
int pAmountOfSteps,
java.lang.String pName) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAmountOfSteps() |
int |
getRounds() |
boolean |
isFinished() |
boolean |
isInterrupted() |
protected abstract boolean |
processAction()
Subclasses should process one single action out of the set of its actions
and then return.
|
void |
run() |
void |
setAmountOfSteps(int pAmountOfSteps) |
void |
setFinished(boolean pFinished) |
void |
setInterrupted(boolean pInterrupted) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected FreeMindTask.ProgressDescription mProgressDescription
public FreeMindTask(javax.swing.RootPaneContainer pRootPaneContainer,
int pAmountOfSteps,
java.lang.String pName)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadprotected abstract boolean processAction()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isInterrupted()
isInterrupted in class java.lang.Threadpublic void setInterrupted(boolean pInterrupted)
public boolean isFinished()
public void setFinished(boolean pFinished)
public int getAmountOfSteps()
public void setAmountOfSteps(int pAmountOfSteps)
public int getRounds()