Describes minimum required functionality from CheckListBox control.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class ICheckListBox :public virtual IControl, public virtual IComponentItemList
{
public:
virtual IListItemCheckBox *getItem(const int index) = 0; // Return item count
virtual int getActiveIndex() = 0; // Return active item index
virtual bool isChecked(const int index) = 0; // Whether specified item is checked
virtual bool setActiveIndex(const int value) = 0; // Set active item
virtual bool setChecked(const int index, const bool value) = 0; // Set item checked/unchecked
virtual bool Add(IListItemCheckBox *item) = 0; // Add item
virtual bool Insert(IListItemCheckBox *item, const int before) = 0; // Insert item before specified one
virtual bool Delete(const int index) = 0; // Delete item by index
virtual bool Clear() = 0; // Delete all items
};
Namespace: | nitisa::standard |
Include: | Standard/Controls/ICheckListBox.h |