#include <NCMultiSelectionBox.h>
Inheritance diagram for NCMultiSelectionBox:
Public Member Functions | |
NCMultiSelectionBox (NCWidget *parent, const YWidgetOpt &opt, const YCPString &label) | |
virtual | ~NCMultiSelectionBox () |
virtual long | nicesize (YUIDimension dim) |
virtual void | setSize (long newwidth, long newheight) |
virtual void | setLabel (const YCPString &nlabel) |
virtual int | getCurrentItem () |
virtual void | setCurrentItem (int index) |
virtual NCursesEvent | wHandleInput (wint_t key) |
virtual void | setEnabling (bool do_bv) |
virtual bool | setKeyboardFocus () |
unsigned int | getNumLines () |
const NCTableLine * | getLine (const int &index) |
void | clearItems () |
Protected Member Functions | |
NCTableTag * | tagCell (int index) |
const NCTableTag * | tagCell (int index) const |
bool | isItemSelected (int index) const |
bool | setItemSelected (int index, bool val, bool update=true) |
void | setAllItemsSelected (bool val) |
void | toggleCurrentItem () |
virtual void | startMultipleChanges () |
virtual void | doneMultipleChanges () |
virtual const char * | location () const |
virtual NCPad * | CreatePad () |
virtual void | wRecoded () |
virtual void | itemAdded (const YCPString &string, bool selected) |
virtual void | deleteAllItems () |
virtual bool | itemIsSelected (int index) |
virtual void | selectItem (int index) |
virtual void | deselectItem (int index) |
virtual void | selectAllItems () |
virtual void | deselectAllItems () |
Protected Attributes | |
NCTablePad *& | pad |
Private Member Functions | |
NCMultiSelectionBox & | operator= (const NCMultiSelectionBox &) |
NCMultiSelectionBox (const NCMultiSelectionBox &) | |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const NCMultiSelectionBox &OBJ) |
|
|
|
|
|
|
|
|
|
Reimplemented from NCPadWidget. |
|
Reimplemented from YMultiSelectionBox. |
|
Implements YMultiSelectionBox. |
|
|
|
Reimplemented from YWidget. |
|
Implements YMultiSelectionBox. |
|
|
|
|
|
|
|
Implements YMultiSelectionBox. |
|
Implements YMultiSelectionBox. |
|
Reimplemented from NCPadWidget. |
|
Implements YWidget. |
|
|
|
|
|
Implements YMultiSelectionBox. |
|
|
|
Implements YMultiSelectionBox. |
|
Pure virtual to make shure every widget implements it. Necessary to make shure that UI requests via YWidget::setEnabling perform, and behave the same way as direct calls to NCWidget::setEnabling. Defaut implementation is provided, and for most derived widgets it's ok to simply use it. Reimplemented from NCPadWidget. |
|
|
|
Reimplemented from YWidget. |
|
Reimplemented from YMultiSelectionBox. |
|
Reimplemented from YWidget. |
|
Reimplemented from YWidget. |
|
|
|
|
|
|
|
Reimplemented from NCWidget. |
|
Reimplemented from NCPadWidget. |
|
|
|
Reimplemented from NCPadWidget. |