public class StatusBarProgress extends ProgressIndicatorBase
AbstractProgressIndicatorExBase.IndicatorAction
Constructor and Description |
---|
StatusBarProgress() |
Modifier and Type | Method and Description |
---|---|
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 |
setText(java.lang.String text)
Sets text above the progress bar
|
void |
start()
Marks the process as started.
|
void |
stop()
Marks the process as finished.
|
cancel, isCanceled
addStateDelegate, checkCanceled, delegateProgressChange, delegateRunningChange, finish, isFinished, isReuseable, onProgressChange, onRunningChange, popState, processFinish, pushState, removeAllStateDelegates, removeStateDelegate, setIndeterminate, setOwnerTask, setText2, wasStarted
dontStartActivity, finishNonCancelableSection, getCancellationTrace, getFraction, getLock, getModalityState, getText, getText2, initStateFrom, isCancelable, isIndeterminate, isModal, isPopupWasShown, isRunning, isShowing, setModalityProgress, startNonCancelableSection, 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
checkCanceled, finishNonCancelableSection, getFraction, getModalityState, getText, getText2, isIndeterminate, isModal, isPopupWasShown, isRunning, isShowing, popState, pushState, setIndeterminate, setModalityProgress, setText2, startNonCancelableSection
initStateFrom
public 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 AbstractProgressIndicatorExBase
public 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 AbstractProgressIndicatorExBase
public void setText(java.lang.String text)
ProgressIndicator
setText
in interface ProgressIndicator
setText
in class AbstractProgressIndicatorExBase
text
- Text to setProgressIndicator.setText2(String)
public void setFraction(double fraction)
ProgressIndicator
setFraction
in interface ProgressIndicator
setFraction
in class AbstractProgressIndicatorExBase
ProgressIndicator.setIndeterminate(boolean)