| Trees | Index | Help |
|---|
| Package Bio :: Package Graphics :: Module BasicChromosome :: Class Chromosome |
|
PropHolder --+
|
_DrawTimeResizeable --+ |
| |
UserNode --+
|
Widget --+
|
_ChromosomeComponent --+
|
Chromosome
Class for drawing a chromosome of an organism.
This organizes the drawing of a single organisms chromosome. This class can be instantiated directly, but the draw method makes the most sense to be called in the context of an organism.| Method Summary | |
|---|---|
Initialize a Chromosome for drawing. | |
Draw a chromosome on the specified template. | |
Return the scaled size of all subcomponents of this component. | |
| Inherited from Widget | |
| |
Return outer boundary as x1,y1,x2,y2. | |
Override this to create your own node. | |
| Inherited from PropHolder | |
By default we verify. | |
Convenience. | |
Returns a list of all properties which can be edited and which are not marked as private. | |
Permits bulk setting of properties. | |
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. | |
| Method Details |
|---|
__init__(self,
chromosome_name)
|
draw(self, cur_drawing)Draw a chromosome on the specified template. Ideally, the x_position and y_*_position attributes should be set prior to drawing -- otherwise we're going to have some problems. |
subcomponent_size(self)Return the scaled size of all subcomponents of this component. |
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Jan 31 09:57:59 2007 | http://epydoc.sf.net |