Package rekall :: Package ui :: Module text :: Class TextTable
[frames] | no frames]

Class TextTable

source code


A table is a collection of columns.

This table formats all its cells using proportional text font.

Nested Classes
  column_class
Implementation for text (mostly CLI) tables.
Instance Methods
 
__init__(self, auto_widths=False, **options)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
write_row(self, *cells, **kwargs)
Writes a row of the table.
source code
 
render_header(self, **options)
Returns a Cell formed by joining all the column headers.
source code
 
get_row(self, *row, **options)
Format the row into a single Cell spanning all output columns.
source code
 
render_row(self, row=None, highlight=None, annotation=False, **options)
Write the row to the output.
source code
 
flush(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  deferred_rows = None
hash(x)
Properties

Inherited from object: __class__

Method Details

__init__(self, auto_widths=False, **options)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

write_row(self, *cells, **kwargs)

source code 
Writes a row of the table.

Args:
  cells: A list of cell contents. Each cell content is a list of lines
    in the cell.

get_row(self, *row, **options)

source code 
Format the row into a single Cell spanning all output columns.

Args:
  *row: A list of objects to render in the same order as columns are
     defined.

Returns:
  A single Cell object spanning the entire row.

render_row(self, row=None, highlight=None, annotation=False, **options)

source code 

Write the row to the output.

Overrides: renderer.BaseTable.render_row

flush(self)

source code 
Overrides: renderer.BaseTable.flush