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

Class Table

source code

          object --+                
                   |                
           tree.Node --+            
                       |            
          object --+   |            
                   |   |            
visitor.VisitedMixIn --+            
                       |            
              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)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from BaseLayout: add_text, append, parents

Inherited from tree.Node: __iter__, __str__, depth, depth_down, flatten, get_child_by_id, get_child_by_path, get_node_by_id, get_sibling, insert, is_leaf, leaves, lineage, next_sibling, previous_sibling, remove, replace, root, width

Inherited from visitor.VisitedMixIn: accept, get_visit_name, leave

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties

Inherited from object: __class__

Method Details

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

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)