Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

254 bytes added, 21:37, 17 November 2009
Public Methods
int selectedIndex(void);
</pre></big>
*return the index of the first checked item. return -1 if none of them checked.
 
<big><pre>
bool editable()const;
</pre></big>
*always return true.
 
<big><pre>
void set(const void *flags);
</pre></big>
*set the status (checked or unchecked)for each item.
 
<big><pre>
bool& operator[](unsigned int index);
</pre></big>
*return the checked status for the item indexed by parameter index.
 
<big><pre>
int length(void);
</pre></big>
*return the number of items
---incomplete---
1
edit