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

List of all members.

Public Member Functions

 NCTree (YWidget *parent, const std::string &label, bool multiselection=false, bool recursiveselection=false)
virtual int preferredWidth ()
virtual int preferredHeight ()
virtual void setSize (int newWidth, int newHeight)
virtual void setLabel (const std::string &nlabel)
virtual void rebuildTree ()
virtual YTreeItem * getCurrentItem () const
virtual YTreeItem * currentItem ()
virtual void deselectAllItems ()
virtual void selectItem (YItem *item, bool selected)
virtual void selectItem (int index)
virtual NCursesEvent wHandleInput (wint_t key)
virtual void setEnabled (bool do_bv)
virtual bool setKeyboardFocus ()
void deleteAllItems ()

Protected Member Functions

virtual NCTreePadmyPad () const
const NCTreeLinegetTreeLine (unsigned idx) const
NCTreeLinemodifyTreeLine (unsigned idx)
virtual const char * location () const
virtual NCPadCreatePad ()
virtual void DrawPad ()
virtual void startMultipleChanges ()
virtual void doneMultipleChanges ()

Friends

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

Detailed Description

Definition at line 38 of file NCTree.h.


Member Function Documentation

virtual NCTreePad* NCTree::myPad ( ) const [inline, protected, virtual]

Return the current pad. Make it virtual so descendant classes can narrow the return type.

Reimplemented from NCPadWidget.

Definition at line 53 of file NCTree.h.

void NCTree::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.

Reimplemented from NCPadWidget.

Definition at line 323 of file NCTree.cc.


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