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

EIpanel Class Reference

The External Interface panel class. More...

#include <ExternalInterface.h>

List of all members.

Public Member Functions

 EIpanel (wxWindow *parent, int _mode)
 Constructor.
virtual void process ()
 Runs the query, as process_blast or process_ncbi.
virtual wxString num2html (int num, int digits)
 Returns a HTML-formatted number.
void showMessage (wxString msg)
 Displays a message beneath the search controls.
virtual void init_blast ()
 Initialized BLAST interface.
virtual void process_blast ()
 Processes BLAST command, starts thread.
virtual void process_blast2 ()
 Processes thread results.
virtual void execute_blast_b3 ()
 Opens the associated link.
virtual void execute_blast ()
 Opens returned BLAST entry.
virtual wxString blast_align (wxString qseq, wxString mseq, wxString hseq, int cpl, int qoff, int hoff)
virtual void init_ncbi ()
 Initializes NCBI interface.
virtual void process_ncbi ()
 Processes NCBI request.
virtual void execute_ncbi ()
 Opens returned sequence entry.
virtual void execute_ncbi_b3 ()
 Opens the associated link.
virtual void execute_ncbi_load (wxString database)
 Load a sequence from NCBI.
virtual void OnB1 (wxCommandEvent &WXUNUSED(event))
 Button 1 handler.
virtual void OnB2 (wxCommandEvent &WXUNUSED(event))
 Button 2 handler.
virtual void OnB3 (wxCommandEvent &WXUNUSED(event))
 Button 3 handler.
virtual void OnBlast (wxCommandEvent &WXUNUSED(event))
 "Run BLAST" event handler
virtual void OnBnext (wxCommandEvent &WXUNUSED(event))
 "Next" event handler
virtual void OnC1 (wxCommandEvent &WXUNUSED(event))
 Choice box 1 event handler.
virtual void OnLboxDClick (wxCommandEvent &WXUNUSED(event))
 List box double click event handler.
virtual wxString val (TiXmlNode *n)
 Return safe value.
virtual wxString valFC (TiXmlNode *n)
 Return value of FirstChild.

Public Attributes

int mode
wxPanel * up
EILBhlb
wxBoxSizer * v0
wxBoxSizer * v1
wxBoxSizer * h0
wxBoxSizer * h1
wxTextCtrl * t1
wxTextCtrl * t2
wxTextCtrl * t3
wxTextCtrl * t4
wxStaticText * st_msg
wxButton * b1
wxButton * b2
wxButton * b3
wxButton * b_last
wxButton * b_next
wxChoice * c1
wxChoice * c2
long res_count
long res_start
long RETMAX
blastThreadblast_thread
wxString blast_res


Detailed Description

The External Interface panel class.


Constructor & Destructor Documentation

EIpanel::EIpanel wxWindow *  parent,
int  _mode
 

Constructor.


Member Function Documentation

wxString EIpanel::blast_align wxString  qseq,
wxString  mseq,
wxString  hseq,
int  cpl,
int  qoff,
int  hoff
[virtual]
 

void EIpanel::execute_blast  )  [virtual]
 

Opens returned BLAST entry.

void EIpanel::execute_blast_b3  )  [virtual]
 

Opens the associated link.

void EIpanel::execute_ncbi  )  [virtual]
 

Opens returned sequence entry.

void EIpanel::execute_ncbi_b3  )  [virtual]
 

Opens the associated link.

void EIpanel::execute_ncbi_load wxString  database  )  [virtual]
 

Load a sequence from NCBI.

void EIpanel::init_blast  )  [virtual]
 

Initialized BLAST interface.

void EIpanel::init_ncbi  )  [virtual]
 

Initializes NCBI interface.

wxString EIpanel::num2html int  num,
int  digits
[virtual]
 

Returns a HTML-formatted number.

virtual void EIpanel::OnB1 wxCommandEvent &  WXUNUSED(event)  )  [virtual]
 

Button 1 handler.

virtual void EIpanel::OnB2 wxCommandEvent &  WXUNUSED(event)  )  [virtual]
 

Button 2 handler.

virtual void EIpanel::OnB3 wxCommandEvent &  WXUNUSED(event)  )  [virtual]
 

Button 3 handler.

virtual void EIpanel::OnBlast wxCommandEvent &  WXUNUSED(event)  )  [virtual]
 

"Run BLAST" event handler

virtual void EIpanel::OnBnext wxCommandEvent &  WXUNUSED(event)  )  [virtual]
 

"Next" event handler

virtual void EIpanel::OnC1 wxCommandEvent &  WXUNUSED(event)  )  [virtual]
 

Choice box 1 event handler.

virtual void EIpanel::OnLboxDClick wxCommandEvent &  WXUNUSED(event)  )  [virtual]
 

List box double click event handler.

void EIpanel::process  )  [virtual]
 

Runs the query, as process_blast or process_ncbi.

void EIpanel::process_blast  )  [virtual]
 

Processes BLAST command, starts thread.

void EIpanel::process_blast2  )  [virtual]
 

Processes thread results.

void EIpanel::process_ncbi  )  [virtual]
 

Processes NCBI request.

void EIpanel::showMessage wxString  msg  ) 
 

Displays a message beneath the search controls.

wxString EIpanel::val TiXmlNode n  )  [virtual]
 

Return safe value.

wxString EIpanel::valFC TiXmlNode n  )  [virtual]
 

Return value of FirstChild.


Member Data Documentation

wxButton* EIpanel::b1
 

wxButton * EIpanel::b2
 

wxButton * EIpanel::b3
 

wxButton * EIpanel::b_last
 

wxButton * EIpanel::b_next
 

wxString EIpanel::blast_res
 

blastThread* EIpanel::blast_thread
 

wxChoice* EIpanel::c1
 

wxChoice * EIpanel::c2
 

wxBoxSizer * EIpanel::h0
 

wxBoxSizer * EIpanel::h1
 

EILB* EIpanel::hlb
 

int EIpanel::mode
 

long EIpanel::res_count
 

long EIpanel::res_start
 

long EIpanel::RETMAX
 

wxStaticText* EIpanel::st_msg
 

wxTextCtrl* EIpanel::t1
 

wxTextCtrl * EIpanel::t2
 

wxTextCtrl * EIpanel::t3
 

wxTextCtrl * EIpanel::t4
 

wxPanel* EIpanel::up
 

wxBoxSizer* EIpanel::v0
 

wxBoxSizer * EIpanel::v1
 


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