|
Public Member Functions |
| | TVectorItem () |
| | Default constructor.
|
| | TVectorItem (wxString sn, wxString n, int f, int t, char ty) |
| | Constructor.
|
| | ~TVectorItem () |
| wxBrush * | getBrush () |
| | Returns a pointer to the brush used to draw the item.
|
| wxColour | getFontColor () |
| | Returns the font color.
|
| void | setColor (wxColour col) |
| | Sets the font color.
|
| bool | isVisible () |
| | Is this item visible?
|
| void | setVisible (bool b) |
| | Set visibility.
|
| int | getRF () |
| | Returns the reading frame.
|
| void | setRF (int x) |
| | Sets the reading frame.
|
| int | getOffset () |
| | returns the offset; -1 = no offset
|
| void | setOffset (int o=-1) |
| | Sets the offset; -1 = no offset.
|
| void | setType (wxString s) |
| | Sets the item type.
|
| int | getOffsetAt (int i) |
| | Returns the offset of the item at a specific position.
|
| void | doRemove (int f, int t, int l) |
| | Remove a part of the item.
|
| wxString | implodeParams () |
| | Join item parameters for storage.
|
| void | explodeParams (wxString _s) |
| | Extract item parameters from stored form.
|
| wxTreeItemId | getTreeID () |
| void | setTreeID (wxTreeItemId newid) |
| | Set new item ID in TVectorTree.
|
| int | getDirection () |
| | Return the direction.
|
| void | setDirection (int newdir) |
| | Set the direction.
|
| char | getType () |
| | Returns the item type.
|
| void | setType (char newtype) |
| | Sets the item type.
|
| int | getMem () |
| | Estimates the memory usage of this item (debugging use only).
|
| wxString | getParam (wxString p, wxString def=_T("")) |
| | Returns the value of a parameter; optional default value.
|
| wxArrayString | getParamKeys () |
| | Get a list of all parameter keys.
|
| void | setParam (wxString p, wxString v) |
| | Set a parameter key/value pair.
|
| void | setParam (wxString p, int v) |
| | Set a parameter key/value pair.
|
| void | translate (TVector *v, SeqAA *aa, vector< Tdna2aa > &dna2aa) |
| | Translate DNA to amino acids.
|
| void | getArrangedAA (TVector *v, wxString &s, int disp, SeqAA *aa=NULL) |
| | Generate the amino acid sequence in place.
|
| wxString | getAminoAcidSequence () |
| | Return the amino acid sequence.
|
| void | setLastVector (TVector *v) |
| | Set the last TVector to own this item.
|
Public Attributes |
| wxString | desc |
| | Item description.
|
| wxString | name |
| | Item name.
|
| int | from |
| | Item start.
|
| int | to |
| | Item end.
|
Private Member Functions |
| void | initParams () |
| | Reset parameters.
|
Private Attributes |
| signed char | direction |
| | The item direction; 1=clockwise, -1=counter-clockwise.
|
| char | type |
| | The type of the item in VIT_XXX form.
|
| wxTreeItemId | treeid |
| | The item ID in the TVectorTree.
|
| wxArrayString | pname |
| | Parameter keys.
|
| wxArrayString | pvalue |
| | Parameter values.
|
| vector< Tdna2aa > | dna2aa_item |
| | The cache of the translated amino acids.
|
| TVector * | lastVector |
| | The last TVector to own this item.
|
| int | r1 |
| int | r2 |
| int | r3 |
| int | r4 |
| float | a1 |
| float | a2 |
Friends |
| class | TVectorEditor |
| class | MyChild |
| class | PlasmidCanvas |
| class | MyFrame |