IDropDown


Describes minimum required functionality from DropDown control.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IDropDown :public virtual IControl, public virtual IComponentItemList
{
public:
    virtual IListItemLabel *getItem(const int index) = 0; // Return item by index 
    virtual String getText() = 0; // Return text 
    virtual int getActiveIndex() = 0; // Return active item index 

    virtual bool setText(const String &value) = 0; // Set text 
    virtual bool setActiveIndex(const int value) = 0; // Set active item 

    virtual bool Add(IListItemLabel *item) = 0; // Add item 
    virtual bool Insert(IListItemLabel *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 

    virtual bool Open() = 0; // Open list 
    virtual bool Close() = 0; // Close list 
};
Namespace: nitisa::standard
Include: Standard/Controls/IDropDown.h