Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.javatools.ui.checklist.xml
Class XMLChecklistModel

java.lang.Object
  extended by oracle.javatools.ui.checklist.DefaultChecklistModel
      extended by oracle.javatools.ui.checklist.xml.XMLChecklistModel
All Implemented Interfaces:
ChecklistModel

public class XMLChecklistModel
extends DefaultChecklistModel

XMLChecklistModel used by XMLChecklist identifies each step with a unique step id. Clients should use add and remove methods of this class to add or remove steps from the model.


Constructor Summary
XMLChecklistModel()
          Create a default XMLChecklistModel.
 
Method Summary
 void addStep(java.lang.String id, Step step)
          Add the step to the model identified by the id.
 void addStep(java.lang.String id, Step step, int index)
          Add the step to the model identified by the id at the specified index.
 void addSubstep(Step parent, java.lang.String id, Step child)
          Add the sub step identified by the id to the parent step.
 void addSubstep(Step parent, java.lang.String id, Step child, int index)
          Add the sub step identified by the id to the parent step at the specified index.
protected  void fireStepRemoved(Step step, int index)
          Override to remove id associated with the step.
 Step getStep(java.lang.String id)
          Returns the Step identified by the id.
 Step getSubstep(Step parentStep, java.lang.String id)
          Returns the substep of the parent identified by the id.
 void removeStep(java.lang.String id)
          Remove the step identified by the id from the model.
 void removeSubstep(Step parent, java.lang.String childId)
          Remove the sub step identified by the id from the parent.
 
Methods inherited from class oracle.javatools.ui.checklist.DefaultChecklistModel
addChecklistModelListener, addStep, addStep, addSubstep, addSubstep, fireStepAdded, getChecklistModelListeners, getStepAt, getStepCount, getStepIndex, getSubstepAt, getSubstepCount, getSubstepIndex, removeAllSteps, removeAllSubsteps, removeChecklistModelListener, removeStep, removeStepAt, removeSubstep, removeSubstepAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLChecklistModel

public XMLChecklistModel()
Create a default XMLChecklistModel.

Method Detail

getStep

public Step getStep(java.lang.String id)
Returns the Step identified by the id.


getSubstep

public Step getSubstep(Step parentStep,
                       java.lang.String id)
Returns the substep of the parent identified by the id.


addStep

public void addStep(java.lang.String id,
                    Step step)
Add the step to the model identified by the id.


addStep

public void addStep(java.lang.String id,
                    Step step,
                    int index)
Add the step to the model identified by the id at the specified index.


removeStep

public void removeStep(java.lang.String id)
Remove the step identified by the id from the model.


addSubstep

public void addSubstep(Step parent,
                       java.lang.String id,
                       Step child)
Add the sub step identified by the id to the parent step.


addSubstep

public void addSubstep(Step parent,
                       java.lang.String id,
                       Step child,
                       int index)
Add the sub step identified by the id to the parent step at the specified index.


removeSubstep

public void removeSubstep(Step parent,
                          java.lang.String childId)
Remove the sub step identified by the id from the parent.


fireStepRemoved

protected void fireStepRemoved(Step step,
                               int index)
Override to remove id associated with the step.

Overrides:
fireStepRemoved in class DefaultChecklistModel

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.