public class PanelProgressIndicator extends ProgressIndicatorBase
AbstractProgressIndicatorExBase.IndicatorAction
Constructor and Description |
---|
PanelProgressIndicator(Consumer<? super javax.swing.JComponent> componentUpdater) |
Modifier and Type | Method and Description |
---|---|
void |
setBordersVisible(boolean visible) |
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 |
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 |
start()
Marks the process as started.
|
void |
stop()
Marks the process as finished.
|
void |
update(java.lang.String scanningPackagesMessage,
boolean indeterminate,
double ffraction) |
cancel, isCanceled
addStateDelegate, checkCanceled, delegateProgressChange, delegateRunningChange, finish, isFinished, isReuseable, onProgressChange, onRunningChange, popState, processFinish, pushState, removeAllStateDelegates, removeStateDelegate, 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, setModalityProgress, setText2, startNonCancelableSection
initStateFrom
public PanelProgressIndicator(Consumer<? super javax.swing.JComponent> componentUpdater)
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)
public void setIndeterminate(boolean indeterminate)
ProgressIndicator
ProgressIndicator.setFraction(double)
).setIndeterminate
in interface ProgressIndicator
setIndeterminate
in class AbstractProgressIndicatorExBase
public void update(java.lang.String scanningPackagesMessage, boolean indeterminate, double ffraction)
public void setBordersVisible(boolean visible)