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 nothing to the current diagram (dummy method).
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 nothing to the current diagram (dummy method).

The segment spacer has no actual image in the diagram, so this method therefore does nothing, but is defined to match the expected API of the other segment objects.

Overrides: reportlab.graphics.widgetbase.Widget.draw