org.argouml.cognitive.checklist
Class ChecklistStatus
java.lang.Object
org.argouml.cognitive.checklist.ChecklistStatus
- All Implemented Interfaces:
- Serializable
- public class ChecklistStatus
- extends Object
- implements Serializable
A list of CheckItems that the designer has marked off as already
considered. In the ArgoUML system, this determines which items
in the TabChecklist have checkmarks.
- See Also:
TabChecklist
,
Serialized Form
Field Summary |
private Vector |
items
CheckItems that the designer has marked off as already considered. |
private static int |
numChecks
|
numChecks
private static int numChecks
items
private Vector items
- CheckItems that the designer has marked off as already considered.
ChecklistStatus
public ChecklistStatus()
- The constructor.
getCheckItems
public Vector getCheckItems()
- Returns:
- the checked items
addItem
public void addItem(CheckItem item)
- Parameters:
item
- the item to be checkmarked
addAll
public void addAll(ChecklistStatus list)
- Parameters:
list
- set the list of checkmarked items
removeItem
public void removeItem(CheckItem item)
- Parameters:
item
- the item for which to remove a checkmark
elements
public Enumeration elements()
- Returns:
- the items in Enumeration format
elementAt
public CheckItem elementAt(int index)
- Parameters:
index
- an index into this vector
- Returns:
- the element
contains
public boolean contains(CheckItem item)
- Parameters:
item
- the item
- Returns:
- true if the given item is contained in the list
toString
public String toString()
- See Also:
Object.toString()