libyui-ncurses  2.44.1
NCInputField Class Reference
Inheritance diagram for NCInputField:
Collaboration diagram for NCInputField:

List of all members.

Public Types

enum  FTYPE { PLAIN, NUMBER }

Public Member Functions

 NCInputField (YWidget *parent, const std::string &label, bool passwordMode=false, unsigned maxInput=0, unsigned maxFld=0)
void setFldtype (FTYPE t)
void setReturnOnReturn (bool on_br)
virtual int preferredWidth ()
virtual int preferredHeight ()
virtual void setSize (int newWidth, int newHeight)
virtual void setLabel (const std::string &nlabel)
virtual void setValue (const std::string &ntext)
virtual std::string value ()
virtual void setValidChars (const std::string &validchars)
virtual NCursesEvent wHandleInput (wint_t key)
virtual void setEnabled (bool do_bv)
virtual bool setKeyboardFocus ()
void setInputMaxLength (int numberOfChars)
void setCurPos (unsigned pos)

Protected Member Functions

virtual const char * location () const
virtual void wCreate (const wrect &newrect)
virtual void wDelete ()
virtual void wRedraw ()
bool validKey (wint_t key) const

Friends

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

Detailed Description

Definition at line 34 of file NCInputField.h.


Member Function Documentation

void NCInputField::setEnabled ( bool  do_bv) [virtual]

Pure virtual to make sure every widget implements it. Necessary to make sure that UI requests via YWidget::setEnabled perform, and behave the same way as direct calls to NCWidget::setEnabled.

Implements NCWidget.

Definition at line 94 of file NCInputField.cc.


The documentation for this class was generated from the following files:
 All Classes Functions Variables