Class s.r.b.t.NewObjectTableBuilder(AbstractTableBuilder):

Part of stoqlib.reporting.base.tables View In Hierarchy

A new implementation of ObjectTableBuilder, which accepts Kiwi's ObjectList columns.
Method __init__ Creates a new AbstractTableBuilder object
Method _translate_alignment Undocumented
Method _get_header Undocumented
Method update_style Implement this method on subclass to define your own table styles.
Method create_table The table creation core
Method get_data Returns all the table lines plus the extra row, if any.

Inherited from AbstractTableBuilder:

Method add_row Just add an extra row to the table
def __init__(self, objs, cols, width=None, highlight=HIGHLIGHT_ALWAYS):
Creates a new AbstractTableBuilder object
ParametersdataThe table rows.
(type: list )
styleThe table style.
(type: TableStyle )
def _translate_alignment(self, col):
Undocumented
def _get_header(self):
Undocumented
def update_style(self):
Implement this method on subclass to define your own table styles.
def create_table(self, width=None):
The table creation core
def get_data(self):
Returns all the table lines plus the extra row, if any.
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.