Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

TSilmutDialog Class Reference

Silent mutation dialog. More...

#include <TSilmutDialog.h>

List of all members.

Public Member Functions

 TSilmutDialog (wxWindow *parent, const wxString &s, int _mode=M_SILMUT, int _mut_pos=-1, int _mut_dir=1)
 Constructor.
 ~TSilmutDialog ()
 Destructor.
virtual void initme (TVector *vec, int _from, int _to)
 Initialization.
virtual void calc ()
 Calculate new cuts through mutation.
virtual void calc_acr ()
 Calculate cuts that go away through mutation.
virtual void showit ()
 Show results.
virtual void OnSpin (wxSpinEvent &event)
 Spin control (changes) event handler.
virtual void OnSpin2 (wxCommandEvent &event)
 Spin control (max) event handler.
virtual void OnChoose (wxCommandEvent &event)
 Choice event handler.
virtual void OnOK (wxCommandEvent &ev)
 OK button event handler.
virtual void OnCancel (wxCommandEvent &ev)
 Cancel button event handler.
virtual void OnACR (wxCommandEvent &ev)
 Allow cut removal event handler.
virtual void OnLbDoubleClick (wxCommandEvent &ev)
 Listbox double-click event handler.
virtual void OnCharHook (wxKeyEvent &event)
 Key event handler.
virtual wxString getSequence ()
 Returns the sequence.
virtual TRestrictionEnzymegetEnzyme ()
 Returns a pointer to the enzyme.

Private Member Functions

wxString getAAresult (wxString dna)
 Returns resulting amino acid sequence.
int selID ()
 Returns selected ID.

Private Attributes

TVectorv
int from
int to
vector< TSilmutItemvs
wxListBox * lb
wxCheckBox * allow_cut_removal
TPrimerDesignpd
wxSpinCtrl * lim_xhg
wxSpinCtrl * lim_max
wxChoice * egr
wxChoice * mut
wxArrayInt lb_retro
int last_selection
int mode
int mut_pos
int mut_dir
bool running


Detailed Description

Silent mutation dialog.


Constructor & Destructor Documentation

TSilmutDialog::TSilmutDialog wxWindow *  parent,
const wxString &  s,
int  _mode = M_SILMUT,
int  _mut_pos = -1,
int  _mut_dir = 1
 

Constructor.

TSilmutDialog::~TSilmutDialog  ) 
 

Destructor.


Member Function Documentation

void TSilmutDialog::calc  )  [virtual]
 

Calculate new cuts through mutation.

void TSilmutDialog::calc_acr  )  [virtual]
 

Calculate cuts that go away through mutation.

wxString TSilmutDialog::getAAresult wxString  dna  )  [private]
 

Returns resulting amino acid sequence.

TRestrictionEnzyme * TSilmutDialog::getEnzyme  )  [virtual]
 

Returns a pointer to the enzyme.

wxString TSilmutDialog::getSequence  )  [virtual]
 

Returns the sequence.

void TSilmutDialog::initme TVector vec,
int  _from,
int  _to
[virtual]
 

Initialization.

void TSilmutDialog::OnACR wxCommandEvent &  ev  )  [virtual]
 

Allow cut removal event handler.

void TSilmutDialog::OnCancel wxCommandEvent &  ev  )  [virtual]
 

Cancel button event handler.

void TSilmutDialog::OnCharHook wxKeyEvent &  event  )  [virtual]
 

Key event handler.

void TSilmutDialog::OnChoose wxCommandEvent &  event  )  [virtual]
 

Choice event handler.

void TSilmutDialog::OnLbDoubleClick wxCommandEvent &  ev  )  [virtual]
 

Listbox double-click event handler.

void TSilmutDialog::OnOK wxCommandEvent &  ev  )  [virtual]
 

OK button event handler.

void TSilmutDialog::OnSpin wxSpinEvent &  event  )  [virtual]
 

Spin control (changes) event handler.

void TSilmutDialog::OnSpin2 wxCommandEvent &  event  )  [virtual]
 

Spin control (max) event handler.

int TSilmutDialog::selID  )  [private]
 

Returns selected ID.

void TSilmutDialog::showit  )  [virtual]
 

Show results.


Member Data Documentation

wxCheckBox* TSilmutDialog::allow_cut_removal [private]
 

wxChoice* TSilmutDialog::egr [private]
 

int TSilmutDialog::from [private]
 

int TSilmutDialog::last_selection [private]
 

wxListBox* TSilmutDialog::lb [private]
 

wxArrayInt TSilmutDialog::lb_retro [private]
 

wxSpinCtrl * TSilmutDialog::lim_max [private]
 

wxSpinCtrl* TSilmutDialog::lim_xhg [private]
 

int TSilmutDialog::mode [private]
 

wxChoice * TSilmutDialog::mut [private]
 

int TSilmutDialog::mut_dir [private]
 

int TSilmutDialog::mut_pos [private]
 

TPrimerDesign* TSilmutDialog::pd [private]
 

bool TSilmutDialog::running [private]
 

int TSilmutDialog::to [private]
 

TVector* TSilmutDialog::v [private]
 

vector<TSilmutItem> TSilmutDialog::vs [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Aug 11 16:19:49 2006 for GENtle by  doxygen 1.4.1