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

NCTextPad Class Reference

#include <NCTextPad.h>

Inheritance diagram for NCTextPad:

NCPad NCursesPad NCScrollHint NCursesWindow NCSchrollCB List of all members.

Public Member Functions

 NCTextPad (int lines, int cols, const NCWidget &p)
virtual ~NCTextPad ()
virtual void resize (wsze nsze)
virtual int setpos ()
virtual wpos CurPos () const
virtual bool handleInput (wint_t key)
void setText (const NCtext &ntext)
wstring getText () const
void setInputMaxLength (int nr)

Protected Member Functions

virtual int setpos (const wpos &newpos)

Private Member Functions

NCTextPad & operator= (const NCTextPad &)
 NCTextPad (const NCTextPad &)
void cursor (bool on)
void cursorOn ()
void cursorOff ()
bool insert (wint_t key)
bool delch (bool previous=false)
bool openLine ()
void assertSze (wsze minsze)
void assertWidht (unsigned minw)
void assertHeight (unsigned minh)

Private Attributes

list< unsigned > lines
list< unsigned >::iterator cline
wpos curs
bool curson
int InputMaxLength

Friends

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

Constructor & Destructor Documentation

NCTextPad::NCTextPad (  const NCTextPad &   )  [private]
 

NCTextPad::NCTextPad (  int  lines,
int  cols,
const NCWidget &  p
) 
 

NCTextPad::~NCTextPad (   )  [virtual]
 


Member Function Documentation

void NCTextPad::assertHeight (  unsigned  minh  )  [private]
 

void NCTextPad::assertSze (  wsze  minsze  )  [private]
 

void NCTextPad::assertWidht (  unsigned  minw  )  [private]
 

wpos NCTextPad::CurPos (   )  const [virtual]
 

Reimplemented from NCPad.

void NCTextPad::cursor (  bool  on  )  [private]
 

void NCTextPad::cursorOff (   )  [inline, private]
 

void NCTextPad::cursorOn (   )  [inline, private]
 

bool NCTextPad::delch (  bool  previous = false  )  [private]
 

wstring NCTextPad::getText (   )  const
 

bool NCTextPad::handleInput (  wint_t  key  )  [virtual]
 

Reimplemented from NCPad.

bool NCTextPad::insert (  wint_t  key  )  [private]
 

bool NCTextPad::openLine (   )  [private]
 

NCTextPad& NCTextPad::operator= (  const NCTextPad &   )  [private]
 

void NCTextPad::resize (  wsze  nsze  )  [virtual]
 

Reimplemented from NCPad.

void NCTextPad::setInputMaxLength (  int  nr  ) 
 

int NCTextPad::setpos (   )  [virtual]
 

Reimplemented from NCPad.

int NCTextPad::setpos (  const wpos &  newpos  )  [protected, virtual]
 

Reimplemented from NCPad.

void NCTextPad::setText (  const NCtext &  ntext  ) 
 


Friends And Related Function Documentation

std::ostream& operator<< (  std::ostream &  STREAM,
const NCTextPad &  OBJ
)  [friend]
 


Member Data Documentation

list<unsigned>::iterator NCTextPad::cline [private]
 

wpos NCTextPad::curs [private]
 

bool NCTextPad::curson [private]
 

int NCTextPad::InputMaxLength [private]
 

list<unsigned> NCTextPad::lines [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 10:52:55 2005 for yast2-ncurses by  doxygen 1.4.4