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

Jdb_table Class Reference

#include <jdb_table.h>

Inheritance diagram for Jdb_table:

Jdb_dump Jdb_ptab List of all members.

Public Types

enum  {
  Nothing = 0, Handled, Redraw, Edit,
  Back, Exit
}

Public Member Functions

virtual unsigned col_width (unsigned col) const =0
virtual unsigned cols () const =0
virtual unsigned rows () const =0
virtual char col_sep (unsigned col) const
virtual void draw_entry (unsigned row, unsigned col)=0
virtual unsigned key_pressed (int key, unsigned &row, unsigned &col)
virtual void print_statline (unsigned row, unsigned col)=0
virtual bool has_row_labels () const
virtual bool has_col_labels () const
virtual unsigned width () const
virtual unsigned height () const
virtual bool edit_entry (unsigned row, unsigned col, unsigned cx, unsigned cy)
bool show (unsigned crow, unsigned ccol)
void draw_table (unsigned row, unsigned col, unsigned lines, unsigned columns)

Private Member Functions

unsigned vis_cols (unsigned first_col, unsigned *w)
unsigned col_ofs (unsigned first_col, unsigned col)

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Nothing 
Handled 
Redraw 
Edit 
Back 
Exit 


Member Function Documentation

unsigned Jdb_table::col_ofs unsigned  first_col,
unsigned  col
[private]
 

char Jdb_table::col_sep unsigned  col  )  const [virtual]
 

virtual unsigned Jdb_table::col_width unsigned  col  )  const [pure virtual]
 

Implemented in Jdb_dump, and Jdb_ptab.

virtual unsigned Jdb_table::cols  )  const [pure virtual]
 

Implemented in Jdb_dump, and Jdb_ptab.

virtual void Jdb_table::draw_entry unsigned  row,
unsigned  col
[pure virtual]
 

Implemented in Jdb_dump, and Jdb_ptab.

void Jdb_table::draw_table unsigned  row,
unsigned  col,
unsigned  lines,
unsigned  columns
 

bool Jdb_table::edit_entry unsigned  row,
unsigned  col,
unsigned  cx,
unsigned  cy
[virtual]
 

Reimplemented in Jdb_dump.

bool Jdb_table::has_col_labels  )  const [virtual]
 

bool Jdb_table::has_row_labels  )  const [virtual]
 

unsigned Jdb_table::height  )  const [virtual]
 

unsigned Jdb_table::key_pressed int  key,
unsigned &  row,
unsigned &  col
[virtual]
 

Reimplemented in Jdb_dump, and Jdb_ptab.

virtual void Jdb_table::print_statline unsigned  row,
unsigned  col
[pure virtual]
 

Implemented in Jdb_dump, and Jdb_ptab.

virtual unsigned Jdb_table::rows  )  const [pure virtual]
 

Implemented in Jdb_dump, and Jdb_ptab.

bool Jdb_table::show unsigned  crow,
unsigned  ccol
 

unsigned Jdb_table::vis_cols unsigned  first_col,
unsigned *  w
[private]
 

unsigned Jdb_table::width  )  const [virtual]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 26 14:20:15 2005 for Fiasco by  doxygen 1.4.2