| Trees | Index | Help |
|---|
| Package Bio :: Package Graphics :: Module BasicChromosome :: Class _ChromosomeComponent |
|
PropHolder --+
|
_DrawTimeResizeable --+ |
| |
UserNode --+
|
Widget --+
|
_ChromosomeComponent
Chromosome,
ChromosomeSegment,
OrganismBase class specifying the interface for a component of the system.
This class should not be instantiated directly, but should be used from derived classes.| Method Summary | |
|---|---|
Initialize a chromosome component. | |
Add a sub_component to the list of components under this item. | |
Draw the specified component. | |
Remove the specified component from the subcomponents. | |
| 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. | |
| Inherited from _DrawTimeResizeable | |
| |
| Class Variable Summary | |
|---|---|
| Inherited from PropHolder | |
NoneType |
_attrMap = None |
| Method Details |
|---|
__init__(self)
|
add(self, component)Add a sub_component to the list of components under this item. |
draw(self)Draw the specified component.
|
remove(self, component)Remove the specified component from the subcomponents. Raises a ValueError if the component is not registered as a sub_component. |
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Jan 31 09:58:01 2007 | http://epydoc.sf.net |