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

Class TelomereSegment

             PropHolder --+            
                          |            
_DrawTimeResizeable --+   |            
                      |   |            
               UserNode --+            
                          |            
                     Widget --+        
                              |        
           _ChromosomeComponent --+    
                                  |    
                  ChromosomeSegment --+
                                      |
                                     TelomereSegment


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

This is just like a regular segment, but it draws the end of a chromosome which is represented by a half circle. This just overrides the _draw_segment class of ChromosomeSegment to provide that specialized drawing.
Method Summary
  __init__(self, inverted)
Initialize a segment at the end of a chromosome.
  _draw_segment(self, cur_drawing)
Draw a half circle representing the end of a linear chromosome.
    Inherited from ChromosomeSegment
  draw(self, cur_drawing)
Draw a chromosome segment.
  _draw_label(self, cur_drawing)
Add a label to the chromosome segment.
  _draw_subcomponents(self, cur_drawing)
Draw any subcomponents of the chromosome segment.
    Inherited from _ChromosomeComponent
  add(self, component)
Add a sub_component to the list of components under this item.
  remove(self, component)
Remove the specified component from the subcomponents.
    Inherited from Widget
  demo(self)
  getBounds(self)
Return outer boundary as x1,y1,x2,y2.
  provideNode(self)
Override this to create your own node.
    Inherited from PropHolder
  __setattr__(self, name, value)
By default we verify.
  dumpProperties(self, prefix)
Convenience.
  getProperties(self, recur)
Returns a list of all properties which can be edited and which are not marked as private.
  setProperties(self, propDict)
Permits bulk setting of properties.
  verify(self)
If the _attrMap attribute is not None, this checks all expected attributes are present; no unwanted attributes are present; and (if a checking function is found) checks each attribute has a valid value.
    Inherited from _DrawTimeResizeable
  _drawTimeResize(self, w, h)

Class Variable Summary
    Inherited from PropHolder
NoneType _attrMap = None                                                                  

Method Details

__init__(self, inverted=0)
(Constructor)

Initialize a segment at the end of a chromosome.

See ChromosomeSegment for all of the attributes that can be customized in a TelomereSegments.

Arguments:

o inverted -- Whether or not the telomere should be inverted (ie. drawn on the bottom of a chromosome)
Overrides:
Bio.Graphics.BasicChromosome.ChromosomeSegment.__init__

_draw_segment(self, cur_drawing)

Draw a half circle representing the end of a linear chromosome.
Overrides:
Bio.Graphics.BasicChromosome.ChromosomeSegment._draw_segment

Generated by Epydoc 2.1 on Thu Jun 30 22:05:36 2005 http://epydoc.sf.net