public class DaemonProgressIndicator extends AbstractProgressIndicatorBase implements StandardProgressIndicator, Disposable
Disposable.Parent
Constructor and Description |
---|
DaemonProgressIndicator() |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the current process.
|
void |
cancel(java.lang.Throwable cause) |
void |
checkCanceled()
Usually invoked in the thread associated with this indicator, used to check if the computation performed by this thread
has been canceled, and, if yes, stop it immediately (by throwing an exception).
|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
boolean |
equals(java.lang.Object obj) |
protected java.lang.Throwable |
getCancellationTrace() |
int |
hashCode() |
boolean |
isCanceled() |
static void |
setDebug(boolean debug) |
void |
start()
Marks the process as started.
|
void |
stop()
Marks the process as finished.
|
void |
stopIfRunning() |
java.lang.String |
toString() |
dontStartActivity, finishNonCancelableSection, getFraction, getLock, getModalityState, getText, getText2, initStateFrom, isCancelable, isIndeterminate, isModal, isPopupWasShown, isReuseable, isRunning, isShowing, popState, pushState, setFraction, setIndeterminate, setModalityProgress, setText, setText2, startNonCancelableSection
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
finalize, getClass, notify, notifyAll, wait, wait, wait
finishNonCancelableSection, getFraction, getModalityState, getText, getText2, isIndeterminate, isModal, isPopupWasShown, isRunning, isShowing, popState, pushState, setFraction, setIndeterminate, setModalityProgress, setText, setText2, startNonCancelableSection
public final void stop()
ProgressIndicator
ProgressManager
internals, shouldn't be called from client code
unless you know what you're doing.stop
in interface ProgressIndicator
stop
in class AbstractProgressIndicatorBase
public void stopIfRunning()
public final void cancel()
ProgressIndicator
cancel
in interface ProgressIndicator
cancel
in class AbstractProgressIndicatorBase
public final void cancel(java.lang.Throwable cause)
public void dispose()
Disposable
dispose
in interface Disposable
public final boolean isCanceled()
isCanceled
in interface ProgressIndicator
isCanceled
in class AbstractProgressIndicatorBase
ProgressIndicator.checkCanceled()
is called instead.ProgressIndicator.cancel()
public final void checkCanceled()
ProgressIndicator
ProgressManager.checkCanceled()
where you don't need to know current indicator and pass it around.checkCanceled
in interface ProgressIndicator
checkCanceled
in class AbstractProgressIndicatorBase
protected java.lang.Throwable getCancellationTrace()
getCancellationTrace
in class AbstractProgressIndicatorBase
public final void start()
ProgressIndicator
ProgressManager
internals, shouldn't be called from client code
unless you know what you're doing.start
in interface ProgressIndicator
start
in class AbstractProgressIndicatorBase
public static void setDebug(boolean debug)
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class AbstractProgressIndicatorBase