|
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, const unsigned s=S_NORMAL) |
| NCTableLine (vector< NCTableCol * > &nItems, const unsigned s=S_NORMAL) |
virtual | ~NCTableLine () |
unsigned | Cols () const |
void | SetCols (unsigned idx) |
void | SetCols (vector< NCTableCol * > &nItems) |
void | ClearLine () |
vector< NCTableCol * > | GetItems () const |
void | Append (NCTableCol *item) |
void | AddCol (unsigned idx, NCTableCol *item) |
void | DelCol (unsigned idx) |
NCTableCol * | GetCol (unsigned idx) |
const NCTableCol * | GetCol (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 |
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 |
Private Member Functions |
NCTableLine & | operator= (const NCTableLine &) |
| NCTableLine (const NCTableLine &) |
void | assertCol (unsigned idx) |
Private Attributes |
vector< NCTableCol * > | Items |
unsigned | state |
Friends |
std::ostream & | operator<< (std::ostream &STREAM, const NCTableLine &OBJ) |