public class CompoundProgressRangeModel
extends javax.swing.DefaultBoundedRangeModel
Modifier and Type | Class and Description |
---|---|
protected class |
CompoundProgressRangeModel.InternalProgressListener |
protected class |
CompoundProgressRangeModel.ValueUpdater |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
currentNote |
protected int |
currentValue |
protected boolean |
opCanceled |
protected java.util.List<CompoundProgressRangeModel.InternalProgressListener> |
progresses |
protected int |
resolution |
Constructor and Description |
---|
CompoundProgressRangeModel() |
Modifier and Type | Method and Description |
---|---|
void |
cancelOperations()
Sets the canceled flag that will propagate to the running
TaskProgressListeners.
|
TaskProgressListener |
createNewTaskListener()
Creates a new progress listener that will contribute to the overall
progress.
|
protected int |
getCurrentValue() |
int |
getMaxValue() |
protected void |
refreshProgress() |
void |
reset()
Resets the compound model, clearing out any internal progress listeners
contributing to the value.
|
protected void |
updateCurrentNote(java.lang.String value) |
addChangeListener, fireStateChanged, getChangeListeners, getExtent, getListeners, getMaximum, getMinimum, getValue, getValueIsAdjusting, removeChangeListener, setExtent, setMaximum, setMinimum, setRangeProperties, setValue, setValueIsAdjusting, toString
protected int resolution
protected java.util.List<CompoundProgressRangeModel.InternalProgressListener> progresses
protected java.lang.String currentNote
protected int currentValue
protected boolean opCanceled
public int getMaxValue()
public TaskProgressListener createNewTaskListener()
public void reset()
protected void refreshProgress()
protected int getCurrentValue()
protected void updateCurrentNote(java.lang.String value)
public void cancelOperations()