public class DispatchThreadProgressWindow extends ProgressWindow
ProgressWindow.Listener
AbstractProgressIndicatorExBase.IndicatorAction
Disposable.Parent
DEFAULT_PROGRESS_DIALOG_POSTPONE_TIME_MILLIS, myBackgrounded, TOPIC
Constructor and Description |
---|
DispatchThreadProgressWindow(boolean shouldShowCancel,
Project project) |
Modifier and Type | Method and Description |
---|---|
protected void |
prepareShowDialog() |
void |
setFraction(double fraction)
Sets the fraction: a number between 0.0 and 1.0 reflecting the ratio of work that has already be done (0.0 for nothing, 1.0 for all).
|
void |
setRunnable(java.lang.Runnable runnable) |
void |
setText(java.lang.String text)
Sets text above the progress bar
|
void |
setText2(java.lang.String text)
Sets text under the progress bar
|
background, dispose, getDialog, getTitle, isBackgrounded, isPopupWasShown, pumpEventsForHierarchy, setCancelButtonText, setDelayInMillis, setIndeterminate, setTitle, showDialog, start, startBlocking, startBlocking, stop, toString
cancel, isCanceled
addStateDelegate, checkCanceled, delegateProgressChange, delegateRunningChange, finish, isFinished, isReuseable, onProgressChange, onRunningChange, popState, processFinish, pushState, removeAllStateDelegates, removeStateDelegate, setOwnerTask, wasStarted
dontStartActivity, finishNonCancelableSection, getCancellationTrace, getFraction, getLock, getModalityState, getText, getText2, initStateFrom, isCancelable, isIndeterminate, isModal, isRunning, isShowing, setModalityProgress, startNonCancelableSection
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cancel, checkCanceled, finishNonCancelableSection, getFraction, getModalityState, getText, getText2, isCanceled, isIndeterminate, isModal, isRunning, isShowing, popState, pushState, setModalityProgress, startNonCancelableSection
initStateFrom
public DispatchThreadProgressWindow(boolean shouldShowCancel, Project project)
public void setText(java.lang.String text)
ProgressIndicator
setText
in interface ProgressIndicator
setText
in class ProgressWindow
text
- Text to setProgressIndicator.setText2(String)
public void setFraction(double fraction)
ProgressIndicator
setFraction
in interface ProgressIndicator
setFraction
in class ProgressWindow
ProgressIndicator.setIndeterminate(boolean)
public void setText2(java.lang.String text)
ProgressIndicator
setText2
in interface ProgressIndicator
setText2
in class ProgressWindow
text
- Text to setProgressIndicator.setText(String)
protected void prepareShowDialog()
prepareShowDialog
in class ProgressWindow
public void setRunnable(java.lang.Runnable runnable)