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

NCTable Class Reference

#include <NCTable.h>

Inheritance diagram for NCTable:

YTable NCPadWidget YWidget NCWidget NCSchrollCB tnode< NCWidget * > NCursesError NCFileSelection NCPkgTable NCDirectoryTable NCFileTable List of all members.

Public Member Functions

 NCTable (NCWidget *parent, const YWidgetOpt &opt, vector< string > header)
virtual ~NCTable ()
bool bigList () const
bool isImmediate () const
void setHeader (const vector< string > &head)
virtual void itemsCleared ()
void setBigList (const bool big)
void SetSepChar (const chtype colSepchar)
void SetSepWidht (const unsigned sepwidth)
void SetHotCol (const int hcol)
virtual void itemAdded (vector< string > elements, int index)
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)
bool setItemByKey (int key)
virtual NCursesEvent wHandleInput (wint_t key)
virtual void setEnabling (bool do_bv)
virtual bool setKeyboardFocus ()
void stripHotkeys ()

Protected Member Functions

virtual const char * location () const
virtual NCPad * CreatePad ()
virtual void cellChanged (int index, int colnum, const YCPString &newtext)
virtual void startMultipleChanges ()
virtual void doneMultipleChanges ()

Protected Attributes

NCTablePad *& pad
bool biglist

Private Member Functions

NCTable & operator= (const NCTable &)
 NCTable (const NCTable &)

Private Attributes

bool immediate

Friends

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

Constructor & Destructor Documentation

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

NCTable::NCTable (  NCWidget *  parent,
const YWidgetOpt &  opt,
vector< string >  header
) 
 

NCTable::~NCTable (   )  [virtual]
 


Member Function Documentation

bool NCTable::bigList (   )  const [inline]
 

void NCTable::cellChanged (  int  index,
int  colnum,
const YCPString &  newtext
)  [protected, virtual]
 

Implements YTable.

Reimplemented in NCPkgTable.

NCPad * NCTable::CreatePad (   )  [protected, virtual]
 

Reimplemented from NCPadWidget.

virtual void NCTable::doneMultipleChanges (   )  [inline, protected, virtual]
 

Reimplemented from YWidget.

int NCTable::getCurrentItem (   )  [virtual]
 

Implements YTable.

bool NCTable::isImmediate (   )  const [inline]
 

void NCTable::itemAdded (  vector< string >  elements,
int  index
)  [virtual]
 

Implements YTable.

void NCTable::itemsCleared (   )  [virtual]
 

Implements YTable.

Reimplemented in NCFileSelection, and NCPkgTable.

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

Reimplemented from NCPadWidget.

long NCTable::nicesize (  YUIDimension  dim  )  [virtual]
 

Implements YWidget.

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

void NCTable::setBigList (  const bool  big  )  [inline]
 

void NCTable::setCurrentItem (  int  index  )  [virtual]
 

Implements YTable.

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

void NCTable::setHeader (  const vector< string > &  head  ) 
 

void NCTable::SetHotCol (  const int  hcol  )  [inline]
 

bool NCTable::setItemByKey (  int  key  ) 
 

virtual bool NCTable::setKeyboardFocus (   )  [inline, virtual]
 

Reimplemented from YWidget.

void NCTable::setLabel (  const YCPString &  nlabel  )  [virtual]
 

void NCTable::SetSepChar (  const chtype  colSepchar  )  [inline]
 

void NCTable::SetSepWidht (  const unsigned  sepwidth  )  [inline]
 

void NCTable::setSize (  long  newwidth,
long  newheight
)  [virtual]
 

Reimplemented from YWidget.

virtual void NCTable::startMultipleChanges (   )  [inline, protected, virtual]
 

Reimplemented from YWidget.

void NCTable::stripHotkeys (   )  [inline]
 

NCursesEvent NCTable::wHandleInput (  wint_t  key  )  [virtual]
 

Reimplemented from NCWidget.

Reimplemented in NCFileTable, NCDirectoryTable, and NCPkgTable.


Friends And Related Function Documentation

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


Member Data Documentation

bool NCTable::biglist [protected]
 

bool NCTable::immediate [private]
 

NCTablePad*& NCTable::pad [protected]
 

Reimplemented from NCPadWidget.


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