public interface StepModel<E>
Stepbar
,
StepRenderer
Modifier and Type | Method and Description |
---|---|
void |
add(E step)
Adds a step at the end.
|
void |
add(int index,
E step)
Adds a step at the end.
|
boolean |
back()
Activate previous step if possible.
|
int |
getActiveIndex()
Return the index of the active step.
|
E |
getActiveStep()
Return the active step.
|
ListModel<E> |
getSteps()
Returns the step list model.
|
boolean |
next()
Activate next step if possible.
|
boolean |
remove(E item)
Removes the first occurrence of the specified step from this list, if it is present (optional operation).
|
E |
remove(int index)
Removes the step at the specified position in this list (optional operation).
|
void |
setActiveIndex(int index)
Sets the index of the active step.
|
void |
setActiveStep(E step)
Sets the active step.
|
int |
size()
Returns the length of the step list.
|
boolean back()
boolean next()
void setActiveIndex(int index)
index
- the index of the active step.void setActiveStep(E step)
step
- the active step.void add(E step)
step
- void add(int index, E step)
index
- step
- E remove(int index)
boolean remove(E item)
int getActiveIndex()
Default: 0.
E getActiveStep()
Default: first step.
int size()
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.