Package logilab-common-0 :: Package 39 :: Package 0 :: Package ureports :: Module nodes :: Class Table
[frames] | no frames]

Class Table

source code

logilab.common.tree.VNode --+        
                            |        
                BaseComponent --+    
                                |    
                       BaseLayout --+
                                    |
                                   Table

some tabular data

attributes :
* BaseLayout attributes
* cols : the number of columns of the table (REQUIRED)
* rheaders : the first row's elements are table's header
* cheaders : the first col's elements are table's header
* title : the table's optional title

Instance Methods
 
__init__(self, cols, title=None, rheaders=0, cheaders=0, rrheaders=0, rcheaders=0, **kwargs) source code

Inherited from BaseLayout: add_text, append, parents

Method Details

__init__(self, cols, title=None, rheaders=0, cheaders=0, rrheaders=0, rcheaders=0, **kwargs)
(Constructor)

source code 
Overrides: BaseComponent.__init__