|
Public Member Functions |
| | FindSequenceDialog (wxWindow *parent, const wxString &title) |
| | Constructor.
|
| | ~FindSequenceDialog () |
| | Destructor.
|
| virtual void | OnCharHook (wxKeyEvent &event) |
| | Key event handler.
|
| virtual void | OnSearch (wxCommandEvent &ev) |
| | Search button event handler.
|
| virtual void | OnCancel (wxCommandEvent &ev) |
| | Cancel button event handler.
|
| virtual void | OnTextChange (wxCommandEvent &ev) |
| | Search text change event handler.
|
| virtual void | OnLB (wxCommandEvent &ev) |
| | List box choice change event handler.
|
| virtual void | OnLBdclick (wxCommandEvent &ev) |
| | List box double click event handler.
|
| virtual void | OnAddHighlights (wxCommandEvent &ev) |
| | Adds highlights.
|
| virtual void | OnSetHighlightColor (wxCommandEvent &ev) |
| | Changes highlght color.
|
| virtual void | OnResetHighlights (wxCommandEvent &ev) |
| | Resets highlights.
|
Public Attributes |
| wxString | allowed_chars |
| | Chars one can search for.
|
Private Member Functions |
| virtual wxString | getQuery () |
| virtual bool | doesMatch (char a, char b) |
| | Returns if a matches b ( more than "is equal"!).
|
| virtual int | subsearch (const wxString &s, const wxString &sub, int start) |
| | Compares a string and a substring.
|
| virtual void | sequenceSearch (bool invers=false) |
| | Search in sequence.
|
| virtual void | aaSearch () |
| | Search in amino acid sequence.
|
| virtual void | itemSearch () |
| | Search in items.
|
| virtual void | restrictionSearch () |
| | Search for restriction enzymes.
|
| virtual void | doAction (bool doubleclick) |
| | Perform action, now that a list item has been double-clicked.
|
| virtual void | aaSubSearch (const wxString &s, int start, int dir, wxString rf) |
| | Search in resulting amino acid sequence.
|
| virtual void | getFromTo (wxString s, long &from, long &to, int idx=-1) |
| virtual SequenceCanvas * | getMarkSequence (wxString &mark) |
Private Attributes |
| ChildBase * | c |
| | Pointer to calling ChildBase class.
|
| wxTextCtrl * | t |
| | The text control.
|
| int | p |
| int | last |
| wxListBox * | lb |
| | The results list box control.
|
| wxButton * | find_button |
| | The "Find" button.
|
| wxButton * | do_highlight |
| | The "Highlight" button.
|
| wxTextCtrl * | status |
| | The status text.
|
| wxCheckBox * | cb_sequence |
| wxCheckBox * | cb_items |
| wxCheckBox * | cb_enzymes |
| wxCheckBox * | cb_translation |
| wxColour | highlight |
| wxArrayInt | vi |
| wxHashChar | codonhash |
| wxStaticText * | highlight_display |