#include <albaGUICheckListBox.h>
|  | 
|  | albaGUICheckListBox (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxCLIP_CHILDREN) | 
|  | 
| virtual | ~albaGUICheckListBox () | 
|  | 
| void | Clear () | 
|  | 
| void | AddItem (int id, wxString label) | 
|  | 
| void | AddItem (int id, wxString label, bool checked) | 
|  | 
| void | RemoveItem (int id) | 
|  | 
| void | CheckItem (int id, bool check) | 
|  | 
| void | SetItemLabel (int id, albaString label) | 
|  | 
| albaString | GetItemLabel (int id) | 
|  | 
| void | Select (int id) | 
|  | 
| int | GetSelection () | 
|  | 
| bool | IsItemChecked (int id) | 
|  | 
| void | SetCheckMode (int mode) | 
|  | 
| void | SetCheckModeToRadio () | 
|  | 
| void | SetCheckModeToCheck () | 
|  | 
| void | SetListener (albaObserver *listener) | 
|  | 
| int | FindItem (wxString label) | 
|  | 
| int | FindItemIndex (int id) | 
|  | 
| bool | IsCheckEvent () | 
|  | 
| int | GetNumberOfItems () | 
|  | 
| void | SetCheckEvent (bool enable) | 
|  | 
| void | HighlightItem (int index, int rgbText[3], int rgbBack[3]) | 
|  | 
|  | albaGUIPanel (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel") | 
|  | 
|  | 
| void | OnSelect (wxCommandEvent &event) | 
|  | 
| void | OnCheck (wxCommandEvent &event) | 
|  | 
| void | OnSize (wxSizeEvent &event) | 
|  | 
a CheckList that send albaEventNotification in the form albaEvent(this, widget_id, item_id, checked) 
Definition at line 49 of file albaGUICheckListBox.h.
◆ albaGUICheckListBox()
      
        
          | albaGUICheckListBox::albaGUICheckListBox | ( | wxWindow * | parent, | 
        
          |  |  | wxWindowID | id, | 
        
          |  |  | const wxPoint & | pos = wxDefaultPosition, | 
        
          |  |  | const wxSize & | size = wxDefaultSize, | 
        
          |  |  | long | style = wxTAB_TRAVERSAL|wxCLIP_CHILDREN | 
        
          |  | ) |  |  | 
      
 
 
◆ ~albaGUICheckListBox()
  
  | 
        
          | virtual albaGUICheckListBox::~albaGUICheckListBox | ( |  | ) |  |  | virtual | 
 
 
◆ Clear()
      
        
          | void albaGUICheckListBox::Clear | ( |  | ) |  | 
      
 
Clear the checked listbox. 
 
 
◆ AddItem() [1/2]
      
        
          | void albaGUICheckListBox::AddItem | ( | int | id, | 
        
          |  |  | wxString | label | 
        
          |  | ) |  |  | 
      
 
Add the item to the checked listbox. 
 
 
◆ AddItem() [2/2]
      
        
          | void albaGUICheckListBox::AddItem | ( | int | id, | 
        
          |  |  | wxString | label, | 
        
          |  |  | bool | checked | 
        
          |  | ) |  |  | 
      
 
Add the item to the checked listbox and allow to check it. 
 
 
◆ RemoveItem()
      
        
          | void albaGUICheckListBox::RemoveItem | ( | int | id | ) |  | 
      
 
Remove the item from the checked listbox. 
 
 
◆ CheckItem()
      
        
          | void albaGUICheckListBox::CheckItem | ( | int | id, | 
        
          |  |  | bool | check | 
        
          |  | ) |  |  | 
      
 
Check/Uncheck the item into the checked listbox. 
 
 
◆ SetItemLabel()
      
        
          | void albaGUICheckListBox::SetItemLabel | ( | int | id, | 
        
          |  |  | albaString | label | 
        
          |  | ) |  |  | 
      
 
 
◆ GetItemLabel()
      
        
          | albaString albaGUICheckListBox::GetItemLabel | ( | int | id | ) |  | 
      
 
 
◆ Select()
      
        
          | void albaGUICheckListBox::Select | ( | int | id | ) |  | 
      
 
 
◆ GetSelection()
  
  | 
        
          | int albaGUICheckListBox::GetSelection | ( |  | ) |  |  | inline | 
 
 
◆ IsItemChecked()
      
        
          | bool albaGUICheckListBox::IsItemChecked | ( | int | id | ) |  | 
      
 
Return true if the item is checked. 
 
 
◆ SetCheckMode()
  
  | 
        
          | void albaGUICheckListBox::SetCheckMode | ( | int | mode | ) |  |  | inline | 
 
Set the check mode of the checked listbox to be MODE_RADIO or MODE_CHECK. 
Definition at line 91 of file albaGUICheckListBox.h.
 
 
◆ SetCheckModeToRadio()
  
  | 
        
          | void albaGUICheckListBox::SetCheckModeToRadio | ( |  | ) |  |  | inline | 
 
 
◆ SetCheckModeToCheck()
  
  | 
        
          | void albaGUICheckListBox::SetCheckModeToCheck | ( |  | ) |  |  | inline | 
 
 
◆ SetListener()
  
  | 
        
          | void albaGUICheckListBox::SetListener | ( | albaObserver * | listener | ) |  |  | inline | 
 
 
◆ FindItem()
      
        
          | int albaGUICheckListBox::FindItem | ( | wxString | label | ) |  | 
      
 
Return the index of the item into the checked listbox, otherwise -1 if the item is not present. 
 
 
◆ FindItemIndex()
      
        
          | int albaGUICheckListBox::FindItemIndex | ( | int | id | ) |  | 
      
 
Return the index of the item into the array, otherwise -1 if the item is not present. 
 
 
◆ IsCheckEvent()
  
  | 
        
          | bool albaGUICheckListBox::IsCheckEvent | ( |  | ) |  |  | inline | 
 
Return true if the event raised is coming from a check/uncheck item. 
Definition at line 108 of file albaGUICheckListBox.h.
 
 
◆ GetNumberOfItems()
  
  | 
        
          | int albaGUICheckListBox::GetNumberOfItems | ( |  | ) |  |  | inline | 
 
 
◆ SetCheckEvent()
  
  | 
        
          | void albaGUICheckListBox::SetCheckEvent | ( | bool | enable | ) |  |  | inline | 
 
Set Flag used to distinguish between Check item and Select item event. 
Definition at line 114 of file albaGUICheckListBox.h.
 
 
◆ HighlightItem()
      
        
          | void albaGUICheckListBox::HighlightItem | ( | int | index, | 
        
          |  |  | int | rgbText[3], | 
        
          |  |  | int | rgbBack[3] | 
        
          |  | ) |  |  | 
      
 
 
◆ OnSelect()
  
  | 
        
          | void albaGUICheckListBox::OnSelect | ( | wxCommandEvent & | event | ) |  |  | protected | 
 
Send an event to the listener to notify that an item has been selected. 
 
 
◆ OnCheck()
  
  | 
        
          | void albaGUICheckListBox::OnCheck | ( | wxCommandEvent & | event | ) |  |  | protected | 
 
Send an event to the listener to notify that an item has been checked. 
 
 
◆ OnSize()
  
  | 
        
          | void albaGUICheckListBox::OnSize | ( | wxSizeEvent & | event | ) |  |  | protected | 
 
Resize the checked listbox according to the new parent panel size. 
 
 
◆ m_CheckEvent
  
  | 
        
          | bool albaGUICheckListBox::m_CheckEvent |  | protected | 
 
Flag used to distinguish between Check item and Select item event. 
Definition at line 129 of file albaGUICheckListBox.h.
 
 
◆ m_Listener
◆ m_CheckListBox
  
  | 
        
          | wxCheckListBox* albaGUICheckListBox::m_CheckListBox |  | protected | 
 
 
◆ m_PreventNotify
  
  | 
        
          | bool albaGUICheckListBox::m_PreventNotify |  | protected | 
 
 
◆ m_CheckMode
  
  | 
        
          | int albaGUICheckListBox::m_CheckMode |  | protected | 
 
 
◆ m_Array
◆ m_SelectedItem
  
  | 
        
          | int albaGUICheckListBox::m_SelectedItem |  | protected | 
 
 
The documentation for this class was generated from the following file: