org.argouml.cognitive.checklist
Class ChecklistStatus

java.lang.Object
  extended byorg.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
           
 
Constructor Summary
ChecklistStatus()
          The constructor.
 
Method Summary
 void addAll(ChecklistStatus list)
           
 void addItem(CheckItem item)
           
 boolean contains(CheckItem item)
           
 CheckItem elementAt(int index)
           
 Enumeration elements()
           
 Vector getCheckItems()
           
 void removeItem(CheckItem item)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

numChecks

private static int numChecks

items

private Vector items
CheckItems that the designer has marked off as already considered.

Constructor Detail

ChecklistStatus

public ChecklistStatus()
The constructor.

Method Detail

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()


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook