public class DefaultProgressStepperModel extends java.lang.Object implements ProgressStepperModel, java.io.Serializable
Default implementation of ProgressStepperModel.
The step data is immutable after construction. Only the current step index can be changed. Step states are computed from the current step index:
| Constructor and description |
|---|
DefaultProgressStepperModel(Step[] steps)Creates a model with the given steps. |
DefaultProgressStepperModel(java.util.List<Step> steps)Creates a model with the given steps. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
addListener(ProgressStepperModelListener listener) |
|
public void |
addListeners(java.util.List<ProgressStepperModelListener> listeners) |
|
public int |
getCurrentStepIndex() |
|
public java.util.List<ProgressStepperModelListener> |
getListeners() |
|
public Step |
getStep(int index) |
|
public int |
getStepCount() |
|
public StepState |
getStepState(int index) |
|
public void |
nextStep() |
|
public void |
previousStep() |
|
public void |
removeAllListeners() |
|
public void |
removeListener(ProgressStepperModelListener listener) |
|
public void |
setCurrentStepIndex(int index) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Creates a model with the given steps. The current step index is set to 0.
steps - the steps arrayCreates a model with the given steps. The current step index is set to 0.
steps - the steps listReadyAPI functional (soapui) SDK 4.0.1