#include <UIListBoxes.h>
Inheritance diagram for CUICheckListBox:
Public Member Functions | |
CUICheckListBox (const CUIRect &aRectangle, const char *aTitle=NULL, MUIWidgetEvents *aObserver=NULL) | |
Constructs the CUICheckListBox object. | |
virtual unsigned int | GetItemsNumber () |
Returns the number of items in the ListBox. | |
virtual unsigned int | GetItemHeight (unsigned int aItemIndex) |
Returns the height of item with given index. | |
virtual void | DrawItem (unsigned int aItemIndex, CUIRect &aRect) |
Draws specified item in a given rectangle. | |
bool | AddCheckBox (const char *aTitle) |
Adds a new CUICheckBox to the List Box. | |
bool | IsChecked (unsigned int aIndex) |
Returns true if Check Box with specified index is checked. | |
void | SetChecked (unsigned int aIndex, bool aChecked) |
Sets the check state of Check Box with specified index. | |
const char * | GetItemTitle (unsigned int aIndex) |
Returns title of Check Box with given index. | |
void | SetItemTitle (unsigned int aIndex, const char *aTitle) |
Sets the title of Check Box with given index. |
|
Adds a new CUICheckBox to the List Box.
|
|
Returns the height of item with given index. If KConstItemHeight is among the iOptions only GetItemHeight(0) is called by the CUIListBox. GetItemHeight( 0 ) is also called from the CalculateParameters() so the derived class must be ready to return a correct value even if the ListBox contains no items yet. Implements CUIListBox. |