CListItemMultiButton


Implements MultiButton list item.

You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.

class CListItemMultiButton :public virtual IListItemMultiButton, public CListItem
{
public:
    // IListItem methods 
    IListItem *Clone() override;
    bool Copy(IListItem *dest) override;

    // IListItemCaption getters 
    String getCaption() override;

    // IListItemCaption setters 
    bool setCaption(const String &value) override;

    // IListItemMultiButton getters 
    int getImageIndex() const override; // Return image index in normal state 

    // IListItemMultiButton setters 
    bool setImageIndex(const int value) override; // Sets the same image index to all states 

    CListItemMultiButton();
    CListItemMultiButton(const String &caption);

    // Getters 
    int getImageIndexNormal() const;
    int getImageIndexHovered() const;
    int getImageIndexFocused() const;
    int getImageIndexFocusedHovered() const;
    int getImageIndexDown() const;
    int getImageIndexDownHovered() const;
    int getImageIndexDownFocused() const;
    int getImageIndexDownFocusedHovered() const;
    int getImageIndexActive() const;
    int getImageIndexActiveHovered() const;
    int getImageIndexInactive() const;
    int getImageIndexInactiveHovered() const;
    int getImageIndexDisabled() const;

    // Setters 
    bool setImageIndexNormal(const int value);
    bool setImageIndexHovered(const int value);
    bool setImageIndexFocused(const int value);
    bool setImageIndexFocusedHovered(const int value);
    bool setImageIndexDown(const int value);
    bool setImageIndexDownHovered(const int value);
    bool setImageIndexDownFocused(const int value);
    bool setImageIndexDownFocusedHovered(const int value);
    bool setImageIndexActive(const int value);
    bool setImageIndexActiveHovered(const int value);
    bool setImageIndexInactive(const int value);
    bool setImageIndexInactiveHovered(const int value);
    bool setImageIndexDisabled(const int value);
};
Namespace: nitisa::standard
Include: Standard/ListItems/MultiButton/ListItemMultiButton.h