public abstract class ConvertStep
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ShapeDebugFrame |
debug
A ShapeDebugFrame for use by subclasses.
|
Modifier | Constructor and Description |
---|---|
protected |
ConvertStep()
Construct a ConvertStep.
|
Modifier and Type | Method and Description |
---|---|
protected void |
bumpMaxProgress()
Increase the maximum progress level by one.
|
protected void |
bumpMaxProgress(int amount)
Increase the maximum progress level by some amount.
|
protected void |
bumpProgress()
Increase the progress level by one.
|
void |
doStep()
Perform the conversion step.
|
abstract java.lang.String |
getDescription()
Get a user-friendly description of this step.
|
javax.swing.JProgressBar |
getProgressBar()
Get the JProgressBar component for this step.
|
javax.swing.JComponent |
getStatusComponent()
Get the status component for this step.
|
protected void |
setProgress(int amount)
Set the progress level.
|
protected void |
setProgressLimit(int max)
Set the progress maximum.
|
protected void |
setStatus(java.lang.String s)
Set the status label.
|
protected abstract void |
step()
Perform the step.
|
protected ShapeDebugFrame debug
protected void setProgress(int amount)
amount
- The new progress.protected void bumpProgress()
protected void bumpMaxProgress()
protected void bumpMaxProgress(int amount)
amount
- The amount to increase the maximum progress level.protected void setProgressLimit(int max)
max
- The new progress maximum.protected void setStatus(java.lang.String s)
s
- The new status label.public javax.swing.JProgressBar getProgressBar()
public javax.swing.JComponent getStatusComponent()
public final void doStep()
public abstract java.lang.String getDescription()
protected abstract void step()