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, isCanceledaddStateDelegate, checkCanceled, delegateProgressChange, delegateRunningChange, finish, isFinished, isReuseable, onProgressChange, onRunningChange, popState, processFinish, pushState, removeAllStateDelegates, removeStateDelegate, setOwnerTask, setText2, wasStarteddontStartActivity, finishNonCancelableSection, getCancellationTrace, getFraction, getLock, getModalityState, getText, getText2, initStateFrom, isCancelable, isIndeterminate, isModal, isPopupWasShown, isRunning, isShowing, setModalityProgress, startNonCancelableSection, toStringchangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckCanceled, finishNonCancelableSection, getFraction, getModalityState, getText, getText2, isIndeterminate, isModal, isPopupWasShown, isRunning, isShowing, popState, pushState, setModalityProgress, setText2, startNonCancelableSectioninitStateFrompublic PanelProgressIndicator(Consumer<? super javax.swing.JComponent> componentUpdater)
public void start()
ProgressIndicatorProgressManager internals, shouldn't be called from client code
unless you know what you're doing.start in interface ProgressIndicatorstart in class AbstractProgressIndicatorExBasepublic void stop()
ProgressIndicatorProgressManager internals, shouldn't be called from client code
unless you know what you're doing.stop in interface ProgressIndicatorstop in class AbstractProgressIndicatorExBasepublic void setText(java.lang.String text)
ProgressIndicatorsetText in interface ProgressIndicatorsetText in class AbstractProgressIndicatorExBasetext - Text to setProgressIndicator.setText2(String)public void setFraction(double fraction)
ProgressIndicatorsetFraction in interface ProgressIndicatorsetFraction in class AbstractProgressIndicatorExBaseProgressIndicator.setIndeterminate(boolean)public void setIndeterminate(boolean indeterminate)
ProgressIndicatorProgressIndicator.setFraction(double)).setIndeterminate in interface ProgressIndicatorsetIndeterminate in class AbstractProgressIndicatorExBasepublic void update(java.lang.String scanningPackagesMessage,
boolean indeterminate,
double ffraction)
public void setBordersVisible(boolean visible)