libyui-ncurses  2.44.1
 All Classes Functions Variables
NCTableLine Class Reference
Inheritance diagram for NCTableLine:

Public Types

enum  STATE {
  S_NORMAL = 0x00, S_ACTIVE = 0x01, S_DISABELED = 0x10, S_HIDDEN = 0x20,
  S_HEADLINE = 0x40
}
 

Public Member Functions

 NCTableLine (unsigned cols, int index=-1, const unsigned s=S_NORMAL)
 
 NCTableLine (std::vector< NCTableCol * > &nItems, int index=-1, const unsigned s=S_NORMAL)
 
void setOrigItem (YTableItem *it)
 
YTableItem * origItem () const
 
unsigned Cols () const
 
void SetCols (unsigned idx)
 
void SetCols (std::vector< NCTableCol * > &nItems)
 
void ClearLine ()
 
std::vector< NCTableCol * > GetItems () const
 
void Append (NCTableCol *item)
 
void AddCol (unsigned idx, NCTableCol *item)
 
void DelCol (unsigned idx)
 
NCTableColGetCol (unsigned idx)
 
const NCTableColGetCol (unsigned idx) const
 
void SetState (const STATE s)
 
void ClearState (const STATE s)
 
bool isHidden () const
 
bool isDisabeled () const
 
bool isSpecial () const
 
bool isActive () const
 
virtual bool isVisible () const
 
virtual bool isEnabeled () const
 
int getIndex () const
 
virtual int handleInput (wint_t key)
 
virtual int ChangeToVisible ()
 
virtual unsigned Hotspot (unsigned &at) const
 
virtual void UpdateFormat (NCTableStyle &TableStyle)
 
virtual void DrawAt (NCursesWindow &w, const wrect at, NCTableStyle &tableStyle, bool active) const
 
void stripHotkeys ()
 

Protected Member Functions

virtual void DrawItems (NCursesWindow &w, const wrect at, NCTableStyle &tableStyle, bool active) const
 

Protected Attributes

STATE vstate
 

Friends

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

Detailed Description

Definition at line 39 of file NCTableItem.h.


The documentation for this class was generated from the following files: