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

NCRadioButton Class Reference

#include <NCRadioButton.h>

Inheritance diagram for NCRadioButton:

YRadioButton NCWidget YWidget tnode< NCWidget * > NCursesError List of all members.

Public Member Functions

 NCRadioButton (NCWidget *parent, const YWidgetOpt &opt, YRadioButtonGroup *rbg, const YCPString &label, bool checked)
virtual ~NCRadioButton ()
virtual long nicesize (YUIDimension dim)
virtual void setSize (long newwidth, long newheight)
virtual void setLabel (const YCPString &nlabel)
virtual void setValue (const YCPBoolean &newval)
virtual YCPBoolean getValue ()
virtual NCursesEvent wHandleInput (wint_t key)
virtual void setEnabling (bool do_bv)
virtual bool setKeyboardFocus ()

Protected Member Functions

virtual const char * location () const
virtual void setValue (const bool &checked)
virtual void wRedraw ()

Private Member Functions

NCRadioButtonoperator= (const NCRadioButton &)
 NCRadioButton (const NCRadioButton &)

Private Attributes

bool checked
NClabel label

Friends

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

Constructor & Destructor Documentation

NCRadioButton::NCRadioButton const NCRadioButton  )  [private]
 

NCRadioButton::NCRadioButton NCWidget parent,
const YWidgetOpt opt,
YRadioButtonGroup rbg,
const YCPString label,
bool  checked
 

NCRadioButton::~NCRadioButton  )  [virtual]
 


Member Function Documentation

YCPBoolean NCRadioButton::getValue  )  [virtual]
 

Implements YRadioButton.

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

Reimplemented from NCWidget.

long NCRadioButton::nicesize YUIDimension  dim  )  [virtual]
 

Implements YWidget.

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

virtual void NCRadioButton::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.

Implements NCWidget.

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

Reimplemented from YWidget.

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

Reimplemented from YRadioButton.

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

Reimplemented from YWidget.

void NCRadioButton::setValue const YCPBoolean newval  )  [virtual]
 

Implements YRadioButton.

void NCRadioButton::setValue const bool &  checked  )  [protected, virtual]
 

NCursesEvent NCRadioButton::wHandleInput wint_t  key  )  [virtual]
 

Reimplemented from NCWidget.

void NCRadioButton::wRedraw  )  [protected, virtual]
 

Reimplemented from NCWidget.


Friends And Related Function Documentation

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


Member Data Documentation

bool NCRadioButton::checked [private]
 

NClabel NCRadioButton::label [private]
 

Reimplemented from YRadioButton.


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 04:52:33 2008 for yast2-ncurses by  doxygen 1.3.9.1