The Volatility Framework
volatility.renderers.text.TextRenderer Class Reference
Inheritance diagram for volatility.renderers.text.TextRenderer:
volatility.renderers.basic.Renderer volatility.renderers.text.GrepTextRenderer

Public Member Functions

def __init__
 Accepts a cell_renderer function, an optional maximum width and optional sort column. More...
 
def partition_width (self, widths)
 Determines if the widths are over the maximum available space, and if so shrinks them.
 
def render (self, outfd, grid)
 Renders a text grid based on the contents of each element.
 
- Public Member Functions inherited from volatility.renderers.basic.Renderer
def render (self, outfd, grid)
 Renders the content, ideally to outfd, but this is not strictly necessary.
 

Public Attributes

 max_width
 
 sort_column
 

Static Public Attributes

int min_column_width = 5
 

Constructor & Destructor Documentation

def volatility.renderers.text.TextRenderer.__init__ (   self,
  cell_renderers_func,
  max_width = 200,
  sort_column = None,
  config = None 
)

Accepts a cell_renderer function, an optional maximum width and optional sort column.

The signature of the cell_renderers_function is:

def cell_renderers(self, TreeGridcolumns): return [cell_renderer, cell_renderer, ...]


The documentation for this class was generated from the following file: