org.argouml.cognitive.checklist
Class Checklist
java.lang.Object
org.argouml.cognitive.checklist.Checklist
- All Implemented Interfaces:
- Serializable
- public class Checklist
- extends Object
- implements Serializable
A Checklist is basically a list of CheckItems. It also provides
some convience functions for adding trivial CheckItems (ones that
have no predicate).
In ArgoUML, Checklists are shown in the TabChecklist panel.
- See Also:
TabChecklist
,
Serialized Form
Constructor Summary |
Checklist()
The constructor. |
items
private Vector items
- Pending CheckItems for the designer to consider.
nextCategory
private String nextCategory
Checklist
public Checklist()
- The constructor.
getCheckItems
public Vector getCheckItems()
- Returns:
- the items
addItem
public void addItem(CheckItem item)
- Parameters:
item
- the item to be added to the list
removeItem
public void removeItem(CheckItem item)
- Parameters:
item
- the item to be removed
addItem
public void addItem(String description)
- Parameters:
description
- the description for a new item
addAll
public void addAll(Checklist list)
- Replace the list by the given new list.
- Parameters:
list
- the given new list
elements
public Enumeration elements()
- Returns:
- the list in enumeration format
size
public int size()
- Returns:
- the number of items in the list
elementAt
public CheckItem elementAt(int index)
- Parameters:
index
- the position of the item to retrieve
- Returns:
- the item
setNextCategory
public void setNextCategory(String cat)
- Parameters:
cat
- the category
toString
public String toString()
- See Also:
Object.toString()