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

NCLabel Class Reference

#include <NCLabel.h>

Inheritance diagram for NCLabel:

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

Public Member Functions

 NCLabel (NCWidget *parent, const YWidgetOpt &opt, const YCPString &text)
virtual ~NCLabel ()
virtual long nicesize (YUIDimension dim)
virtual void setSize (long newwidth, long newheight)
virtual void setLabel (const YCPString &nlabel)
virtual void setEnabling (bool do_bv)

Protected Member Functions

virtual const char * location () const
virtual void wRedraw ()

Private Member Functions

NCLabeloperator= (const NCLabel &)
 NCLabel (const NCLabel &)

Private Attributes

bool heading
NClabel label

Friends

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

Constructor & Destructor Documentation

NCLabel::NCLabel const NCLabel  )  [private]
 

NCLabel::NCLabel NCWidget parent,
const YWidgetOpt opt,
const YCPString text
 

NCLabel::~NCLabel  )  [virtual]
 


Member Function Documentation

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

Reimplemented from NCWidget.

long NCLabel::nicesize YUIDimension  dim  )  [virtual]
 

Implements YWidget.

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

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

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

Reimplemented from YLabel.

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

Reimplemented from YWidget.

void NCLabel::wRedraw  )  [protected, virtual]
 

Reimplemented from NCWidget.


Friends And Related Function Documentation

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


Member Data Documentation

bool NCLabel::heading [private]
 

NClabel NCLabel::label [private]
 


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