public interface ChecklistModel
Modifier and Type | Method and Description |
---|---|
void |
addChecklistModelListener(ChecklistModelListener listener)
Add checklist model listener to this model.
|
Step |
getStepAt(int index)
Returns the Step at the specified index in the model.
|
int |
getStepCount()
Returns the total number of steps this checklist has.
|
int |
getStepIndex(Step step)
Returns the index of the step within this model.
|
Step |
getSubstepAt(Step parentStep,
int index)
Returns the substep at the specified index of the parentStep.
|
int |
getSubstepCount(Step parentStep)
Returns the substep count of the specified index of the parentStep.
|
int |
getSubstepIndex(Step parentStep,
Step childStep)
Returns the substep index within its parent.
|
void |
removeChecklistModelListener(ChecklistModelListener listener)
Remove the checklist model listner from this model.
|
Step getStepAt(int index)
int getStepCount()
int getStepIndex(Step step)
Step getSubstepAt(Step parentStep, int index)
int getSubstepCount(Step parentStep)
int getSubstepIndex(Step parentStep, Step childStep)
void addChecklistModelListener(ChecklistModelListener listener)
void removeChecklistModelListener(ChecklistModelListener listener)