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

NCTableCol Class Reference

#include <NCTableItem.h>

Inheritance diagram for NCTableCol:

NCFileSelectionTag NCPkgTableTag NCTableTag List of all members.

Public Types

enum  STYLE {
  NONE = 0, PLAIN, DATA, ACTIVEDATA,
  HINT, SEPARATOR
}

Public Member Functions

 NCTableCol (const NCstring &l="", const STYLE &st=ACTIVEDATA)
virtual ~NCTableCol ()
const NClabelLabel () const
virtual void SetLabel (const NClabel &l)
void stripHotkey ()
virtual wsze Size () const
virtual void DrawAt (NCursesWindow &w, const wrect at, NCTableStyle &tableStyle, NCTableLine::STATE linestate, unsigned colidx) const
bool hasHotkey () const
unsigned char hotkey () const

Protected Member Functions

chtype setBkgd (NCursesWindow &w, NCTableStyle &tableStyle, NCTableLine::STATE linestate, STYLE colstyle) const

Private Attributes

NClabel label
STYLE style

Friends

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

Member Enumeration Documentation

enum NCTableCol::STYLE
 

Enumerator:
NONE 
PLAIN 
DATA 
ACTIVEDATA 
HINT 
SEPARATOR 


Constructor & Destructor Documentation

NCTableCol::NCTableCol const NCstring l = "",
const STYLE st = ACTIVEDATA
 

NCTableCol::~NCTableCol  )  [virtual]
 


Member Function Documentation

void NCTableCol::DrawAt NCursesWindow w,
const wrect  at,
NCTableStyle tableStyle,
NCTableLine::STATE  linestate,
unsigned  colidx
const [virtual]
 

Reimplemented in NCFileSelectionTag, NCTableTag, and NCPkgTableTag.

bool NCTableCol::hasHotkey  )  const [inline]
 

unsigned char NCTableCol::hotkey  )  const [inline]
 

const NClabel& NCTableCol::Label  )  const [inline]
 

chtype NCTableCol::setBkgd NCursesWindow w,
NCTableStyle tableStyle,
NCTableLine::STATE  linestate,
STYLE  colstyle
const [protected]
 

virtual void NCTableCol::SetLabel const NClabel l  )  [inline, virtual]
 

virtual wsze NCTableCol::Size  )  const [inline, virtual]
 

void NCTableCol::stripHotkey  )  [inline]
 


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  STREAM,
const NCTableCol OBJ
[friend]
 


Member Data Documentation

NClabel NCTableCol::label [private]
 

STYLE NCTableCol::style [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