Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

NCMultiSelectionBox Class Reference

#include <NCMultiSelectionBox.h>

Inheritance diagram for NCMultiSelectionBox:

YMultiSelectionBox NCPadWidget YWidget NCWidget NCSchrollCB tnode< NCWidget * > NCursesError List of all members.

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 NCTableLinegetLine (const int &index)
void clearItems ()

Protected Member Functions

NCTableTagtagCell (int index)
const NCTableTagtagCell (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 NCPadCreatePad ()
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

NCMultiSelectionBoxoperator= (const NCMultiSelectionBox &)
 NCMultiSelectionBox (const NCMultiSelectionBox &)

Friends

std::ostream & operator<< (std::ostream &STREAM, const NCMultiSelectionBox &OBJ)

Constructor & Destructor Documentation

NCMultiSelectionBox::NCMultiSelectionBox const NCMultiSelectionBox  )  [private]
 

NCMultiSelectionBox::NCMultiSelectionBox NCWidget parent,
const YWidgetOpt opt,
const YCPString label
 

NCMultiSelectionBox::~NCMultiSelectionBox  )  [virtual]
 


Member Function Documentation

void NCMultiSelectionBox::clearItems  )  [inline]
 

NCPad * NCMultiSelectionBox::CreatePad  )  [protected, virtual]
 

Reimplemented from NCPadWidget.

void NCMultiSelectionBox::deleteAllItems  )  [protected, virtual]
 

Reimplemented from YMultiSelectionBox.

virtual void NCMultiSelectionBox::deselectAllItems  )  [inline, protected, virtual]
 

Implements YMultiSelectionBox.

virtual void NCMultiSelectionBox::deselectItem int  index  )  [inline, protected, virtual]
 

virtual void NCMultiSelectionBox::doneMultipleChanges  )  [inline, protected, virtual]
 

Reimplemented from YWidget.

int NCMultiSelectionBox::getCurrentItem  )  [virtual]
 

Implements YMultiSelectionBox.

const NCTableLine* NCMultiSelectionBox::getLine const int &  index  )  [inline]
 

unsigned int NCMultiSelectionBox::getNumLines  )  [inline]
 

bool NCMultiSelectionBox::isItemSelected int  index  )  const [protected]
 

void NCMultiSelectionBox::itemAdded const YCPString string,
bool  selected
[protected, virtual]
 

Implements YMultiSelectionBox.

virtual bool NCMultiSelectionBox::itemIsSelected int  index  )  [inline, protected, virtual]
 

Implements YMultiSelectionBox.

virtual const char* NCMultiSelectionBox::location  )  const [inline, protected, virtual]
 

Reimplemented from NCPadWidget.

long NCMultiSelectionBox::nicesize YUIDimension  dim  )  [virtual]
 

Implements YWidget.

NCMultiSelectionBox& NCMultiSelectionBox::operator= const NCMultiSelectionBox  )  [private]
 

virtual void NCMultiSelectionBox::selectAllItems  )  [inline, protected, virtual]
 

virtual void NCMultiSelectionBox::selectItem int  index  )  [inline, protected, virtual]
 

Implements YMultiSelectionBox.

void NCMultiSelectionBox::setAllItemsSelected bool  val  )  [protected]
 

void NCMultiSelectionBox::setCurrentItem int  index  )  [virtual]
 

Implements YMultiSelectionBox.

virtual void NCMultiSelectionBox::setEnabling bool  do_bv  )  [inline, virtual]
 

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.

bool NCMultiSelectionBox::setItemSelected int  index,
bool  val,
bool  update = true
[protected]
 

virtual bool NCMultiSelectionBox::setKeyboardFocus  )  [inline, virtual]
 

Reimplemented from YWidget.

void NCMultiSelectionBox::setLabel const YCPString nlabel  )  [virtual]
 

Reimplemented from YMultiSelectionBox.

void NCMultiSelectionBox::setSize long  newwidth,
long  newheight
[virtual]
 

Reimplemented from YWidget.

virtual void NCMultiSelectionBox::startMultipleChanges  )  [inline, protected, virtual]
 

Reimplemented from YWidget.

const NCTableTag * NCMultiSelectionBox::tagCell int  index  )  const [protected]
 

NCTableTag * NCMultiSelectionBox::tagCell int  index  )  [protected]
 

void NCMultiSelectionBox::toggleCurrentItem  )  [protected]
 

NCursesEvent NCMultiSelectionBox::wHandleInput wint_t  key  )  [virtual]
 

Reimplemented from NCWidget.

void NCMultiSelectionBox::wRecoded  )  [protected, virtual]
 

Reimplemented from NCPadWidget.


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  STREAM,
const NCMultiSelectionBox OBJ
[friend]
 


Member Data Documentation

NCTablePad*& NCMultiSelectionBox::pad [protected]
 

Reimplemented from NCPadWidget.


The documentation for this class was generated from the following files:
Generated on Wed Sep 5 17:18:56 2007 for yast2-ncurses by doxygen 1.3.6