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

Class BaseCell

source code


A Cell represents a single entry in a table.

Cells always have a fixed number of characters in width and may have arbitrary number of characters (lines) for a height.

The TextTable consists of an array of Cells:

Cell Cell Cell Cell <----- Headers. Cell Cell Cell Cell <----- Table rows.

The ObjectRenderer is responsible for turning an arbitrary object into a Cell object.

Instance Methods
 
__init__(self, align='l', width=None, **_)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__iter__(self) source code
 
__unicode__(self) source code
 
dirty(self) source code
 
rebuild(self) source code
 
rewrap(self, width=None, align='l', mode='stretch') source code

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

Class Variables
  width_explicit = False
  mode = 'stretch'
Properties
  lines
  width
  height
  align

Inherited from object: __class__

Method Details

__init__(self, align='l', width=None, **_)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

Property Details

lines

Get Method:
unreachable.lines(self)

width

Get Method:
unreachable.width(self)

height

Get Method:
unreachable.height(self)

align

Get Method:
unreachable.align(self)