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

List of all members.

Public Member Functions

 NCTablePad (int lines, int cols, const NCWidget &p)
virtual void wRecoded ()
virtual wpos CurPos () const
virtual bool handleInput (wint_t key)
bool setItemByKey (int key)
wsze tableSize ()
void setOrder (int column, bool do_reverse=false)
bool SetHeadline (const std::vector< NCstring > &head)
virtual void SendHead ()
void SetSepChar (const chtype colSepchar)
void SetSepWidth (const unsigned sepwidth)
void SetHotCol (const int hcol)
unsigned Cols () const
unsigned Lines () const
unsigned HotCol () const
void SetLines (unsigned idx)
void SetLines (std::vector< NCTableLine * > &nItems)
void ClearTable ()
void Append (NCTableLine *item)
void Append (std::vector< NCTableCol * > &nItems, int index=-1)
void AddLine (unsigned idx, NCTableLine *item)
void DelLine (unsigned idx)
const NCTableLineGetLine (unsigned idx) const
NCTableLineModifyLine (unsigned idx)
void stripHotkeys ()
void setSortStrategy (NCTableSortStrategyBase *newSortStrategy)

Protected Member Functions

void DirtyFormat ()
virtual wsze UpdateFormat ()
virtual int dirtyPad ()
virtual int setpos (const wpos &newpos)
virtual int DoRedraw ()
virtual void updateScrollHint ()
virtual void directDraw (NCursesWindow &w, const wrect at, unsigned lineno)

Friends

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

Detailed Description

Definition at line 157 of file NCTablePad.h.


Member Function Documentation

void NCTablePad::directDraw ( NCursesWindow w,
const wrect  at,
unsigned  lineno 
) [protected, virtual]

Directly draw a table item at a specific location.

update usually copies the visible table content from the NCursesPad to destwin. In case the NCursesPad is truncated, the visible lines are prepared immediately before they are written to destwin

See also:
_vheight.

Reimplemented from NCPad.

Definition at line 243 of file NCTablePad.cc.


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