Package Bio :: Package Graphics :: Module BasicChromosome :: Class SpacerSegment
[hide private]
[frames] | no frames]

Class SpacerSegment

source code

         reportlab.graphics.widgetbase.PropHolder --+            
                                                    |            
reportlab.graphics.shapes._DrawTimeResizeable --+   |            
                                                |   |            
               reportlab.graphics.shapes.UserNode --+            
                                                    |            
                 reportlab.graphics.widgetbase.Widget --+        
                                                        |        
                                     _ChromosomeComponent --+    
                                                            |    
                                            ChromosomeSegment --+
                                                                |
                                                               SpacerSegment

A segment that is located at the end of a linear chromosome.

Doesn't draw anything, just empty space which can be helpful
for layout purposes (e.g. making room for feature labels).

Instance Methods [hide private]
 
draw(self, cur_diagram)
Draw a chromosome segment.
source code

Inherited from ChromosomeSegment: __init__

Inherited from _ChromosomeComponent: add, remove

Inherited from reportlab.graphics.widgetbase.Widget: demo, getBounds, provideNode

Inherited from reportlab.graphics.widgetbase.Widget (private): _setKeywords

Inherited from reportlab.graphics.widgetbase.PropHolder: __setattr__, dumpProperties, getProperties, setProperties, verify

Inherited from reportlab.graphics.shapes._DrawTimeResizeable (private): _drawTimeResize

Class Variables [hide private]

Inherited from reportlab.graphics.widgetbase.PropHolder (private): _attrMap

Method Details [hide private]

draw(self, cur_diagram)

source code 
Draw a chromosome segment.

Before drawing, the range we are drawing in needs to be set.

Overrides: reportlab.graphics.widgetbase.Widget.draw