public final class SubTaskProgressIndicator extends SensitiveProgressWrapper
Modifier and Type | Method and Description |
---|---|
void |
finished() |
double |
getFraction() |
void |
setFraction(double newValue)
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 |
setIndeterminate(boolean indeterminate)
Marks the progress indeterminate (for processes that can't estimate the amount of work to be done) or determinate (for processes
that can display the fraction of the work done using
ProgressIndicator.setFraction(double) ). |
void |
setText(java.lang.String text)
Sets text above the progress bar
|
void |
setText2(java.lang.String text)
Sets text under the progress bar
|
cancel, checkCanceled, getCancellationTrace, getModalityState, getOriginalProgressIndicator, isCanceled, isIndeterminate, unwrap, unwrapAll, wrap
dontStartActivity, finishNonCancelableSection, getLock, getText, getText2, initStateFrom, isCancelable, isModal, isPopupWasShown, isReuseable, isRunning, isShowing, popState, pushState, setModalityProgress, start, startNonCancelableSection, stop, toString
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
finishNonCancelableSection, getText, getText2, isModal, isPopupWasShown, isRunning, isShowing, popState, pushState, setModalityProgress, start, startNonCancelableSection, stop
public void setIndeterminate(boolean indeterminate)
ProgressIndicator
ProgressIndicator.setFraction(double)
).setIndeterminate
in interface ProgressIndicator
setIndeterminate
in class ProgressWrapper
public void setText(java.lang.String text)
ProgressIndicator
setText
in interface ProgressIndicator
setText
in class ProgressWrapper
text
- Text to setProgressIndicator.setText2(String)
public void setFraction(double newValue)
ProgressIndicator
setFraction
in interface ProgressIndicator
setFraction
in class ProgressWrapper
ProgressIndicator.setIndeterminate(boolean)
public void setText2(java.lang.String text)
ProgressIndicator
setText2
in interface ProgressIndicator
setText2
in class ProgressWrapper
text
- Text to setProgressIndicator.setText(String)
public double getFraction()
getFraction
in interface ProgressIndicator
getFraction
in class AbstractProgressIndicatorBase
ProgressIndicator.setFraction(double)
public void finished()