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

SequenceCanvas Class Reference

The main sequence display class. More...

#include <SequenceCanvas.h>

List of all members.

Public Member Functions

 SequenceCanvas (wxWindow *parent, const wxPoint &pos, const wxSize &size)
 Constructor.
virtual ~SequenceCanvas ()
 Destructor.
virtual void OnDraw (wxDC &dc)
 Draws the sequence.
virtual void safeShow (wxDC &dc)
 Draws the sequence in a memory device context, then blits it over to the "real" one.
virtual void OnEvent (wxMouseEvent &event)
 Mouse event handler.
virtual void OnSize (wxSizeEvent &event)
 Resize event handler.
virtual void OnCharHook (wxKeyEvent &event)
 Key event handler.
virtual void vecEdit (wxCommandEvent &ev)
 Edit event handler.
virtual void blastDNA (wxCommandEvent &ev)
 "BLAST DNA" event handler
virtual void blastAA (wxCommandEvent &ev)
 "BLAST amino acids" event handler
virtual void OnCopyText (wxCommandEvent &ev)
 "Copy as text" event handler
virtual void OnCopyImage (wxCommandEvent &ev)
 "Copy as image" event handler
virtual void OnSaveImage (wxCommandEvent &ev)
 "Save as image" event handler
virtual void OnPrint (wxCommandEvent &ev)
 Printing event handler.
virtual void OnCut (wxCommandEvent &ev)
 Cut event handler.
virtual void OnCopy (wxCommandEvent &ev)
 Copy event handler.
virtual void OnPrimerForward (wxCommandEvent &ev)
 "Run PCR with forward primer" event handler
virtual void OnPrimerBackward (wxCommandEvent &ev)
 "Run PCR with backward primer" event handler
virtual void OnPrimerBoth (wxCommandEvent &ev)
 "Run PCR with both primers" event handler
virtual void OnPrimerMutation (wxCommandEvent &ev)
 "Run PCR with mutation primers" event handler
virtual void OnSilmut (wxCommandEvent &ev)
 "Silent mutation" event handler
virtual void OnWhatCuts (wxCommandEvent &event)
 "Find restriction enzymes that cut" event handler
virtual void OnSelAsNewPrimer (wxCommandEvent &ev)
 "Selection as new primer" event handler
virtual void OnViewOriginal (wxCommandEvent &ev)
 "View original" mini-display event handler
virtual void OnViewReal (wxCommandEvent &ev)
 View 1:1" mini-display event handler.
virtual void OnViewCondensed (wxCommandEvent &ev)
 View condensed" mini-display event handler.
virtual void OnBacktranslate (wxCommandEvent &ev)
 "Backtranslate amino acids into DNA" event handler
virtual void OnPhylip (wxCommandEvent &ev)
 "Phylip" event handler (all in one)
virtual void OnOpenFeature (wxCommandEvent &event)
 "Open feature" event handler
virtual void OnSeqUp (wxCommandEvent &ev)
 "Move alignment sequence up" event handler
virtual void OnSeqDown (wxCommandEvent &ev)
 "Move alignment sequence down" event handler
virtual void OnSeqTop (wxCommandEvent &ev)
 "Move alignment sequence to top" event handler
virtual void OnSeqBottom (wxCommandEvent &ev)
 "Move alignment sequence to bottom" event handler
virtual void OnToggleFeat (wxCommandEvent &ev)
 "Toggle feature display for this alignment sequence" event handler
virtual void OnCopyResultDNA (wxCommandEvent &ev)
 "Copy DNA resulting from PCR" event handler
virtual void OnCopyResultAA (wxCommandEvent &ev)
 "Copy amino acids for DNA resulting from PCR" event handler
virtual void OnNewFromResultDNA (wxCommandEvent &ev)
 "New DNA module resulting from PCR" event handler
virtual void OnNewFromResultAA (wxCommandEvent &ev)
 "New amino acids module for DNA resulting from PCR" event handler
virtual void OnInsertGap (wxCommandEvent &ev)
 "Insert gap into alignment sequence" event handler
virtual void OnDeleteGap (wxCommandEvent &ev)
 "Delete gap from alignment sequence" event handler
virtual void OnInsertOtherGaps (wxCommandEvent &ev)
 "Insert gap into all other alignment sequences" event handler
virtual void OnDeleteOtherGaps (wxCommandEvent &ev)
 "Delete gap from all other alignment sequences" event handler
virtual void OnStrandCopy35 (wxCommandEvent &event)
 "Copy the 3'->5' strand" event handler
virtual void OnStrandCopy53 (wxCommandEvent &event)
 "Copy the 5'->3' strand" event handler
virtual void OnStrandCopyBoth (wxCommandEvent &event)
 "Copy both strands as a text" event handler
virtual void OnStrandNew35 (wxCommandEvent &event)
 "Generate new DNA module from 3'->5' strand" event handler
virtual void OnStrandNew53 (wxCommandEvent &event)
 "Generate new DNA module from 5'->3' strand" event handler
virtual void OnStrandNewBoth (wxCommandEvent &event)
 "Generate new DNA modules from both strands" event handler
virtual void OnInsertRestrictionSiteLeft (wxCommandEvent &ev)
 "Insert restriction site left of the marking" event handler
virtual void OnInsertRestrictionSiteRight (wxCommandEvent &ev)
 "Insert restriction site right of the marking" event handler
virtual void OnPaste (wxCommandEvent &ev)
 Paste event handler.
virtual void OnFocus (wxFocusEvent &event)
 "Display gets focus" event handler
virtual void OnKillFocus (wxFocusEvent &event)
 "Display loses focus" event handler
virtual void OnAppearance (wxCommandEvent &event)
 Change the apperance of the sequence.
virtual void rsHideLimit (wxCommandEvent &ev)
 "Limit restriction enzymes" event handler
virtual void OnABIViewOnly (wxCommandEvent &ev)
 View toggle for ABI display.
virtual wxString getSelection ()
 Returns the current selection as a wxString.
virtual void updateEdit (TVector *v, wxString id, int from)
 Updates the sequences and display once a key was pressed and, thus, the sequence altered.
virtual void arrange ()
 Arranges tghe layout for all the seq structures.
virtual SeqBasicfindMouseTarget (wxPoint pt, int &pos)
 Returns a pointer to the seq structure (and the position inside) the given point is within.
virtual int findMouseTargetItem (wxPoint pt)
 Returns the ID of the seq structure the given point is within.
virtual SeqBasicfindID (wxString id)
 Returns the pointer to the seq structure with the given ID string.
virtual void mark (SeqBasic *where, int from, int to, int value=1)
 Marks part of a sequence.
virtual void mark (wxString id, int from, int to, int value=1, int force_row=-1)
 Marks part of a sequence.
virtual bool inMarkRange (int x, int f, int t, int l)
 Is this span withing the marked range?
virtual void ensureVisible (int pos)
 Make sure the position is in the visible part of the display; scroll if necessary.
virtual int getBatchMark ()
 I forgot what this does.
virtual void MyGetClientSize (int *w, int *h)
 Wrapper function; will compensate for printing device context.
virtual void MyGetSize (int *w, int *h)
 Wrapper function; will compensate for printing device context.
virtual wxSize MyGetClientSize ()
 Wrapper function; will compensate for printing device context.
virtual void MyGetViewStart (int *x, int *y)
 Wrapper function; will compensate for printing device context.
virtual void SilentRefresh ()
 Refresh without cleaning background first (no flicker).
virtual bool doOverwrite ()
 Are we in edit overwrite mode?
virtual TAminoAcidsgetAA ()
 Returns pointer to amino acid module, or NULL.
virtual TPrimerDesigngetPD ()
 Returns pointer to primer design module, or NULL.
virtual TAlignmentgetAln ()
 Returns pointer to alignment module, or NULL.
virtual wxString getChildType ()
 Returns the child identifier, or _T("").
virtual bool getPrintToColor ()
 Are we printing to a color printer?
virtual void setPrintToColor (bool _b)
 We are printing to a color printer!
virtual bool getDrawAll ()
 Are we drawing everything ( not just the visible part)?
virtual void setDrawAll (bool _b)
 We are drawing everything ( not just the visible part).
virtual bool isHorizontal ()
 Is the display set to horizontal mode?
virtual void setHorizontal (bool _b)
 Set the display to horizontal mode.
virtual void toggleHorizontal ()
 Toggle horizontal/vertical mode.
virtual bool getHide ()
 Is the display hidden (so we don't have to draw anything)?
virtual void doHide (bool _b)
 Hide the display.
virtual bool isMiniDisplay ()
 Is this a mini display in the amino acid module?
virtual void setMiniDisplay (bool _b)
 This is a mini display in the amino acid module.
virtual SeqBasicgetLastWhere ()
 Returns a pointer to the last marked seq structure.
virtual void setLastWhere (SeqBasic *where)
virtual bool isPrinting ()
 Are we printing (or drawing on the screen)?
virtual void forceOverwrite (bool _b)
 Ensure overwrite mode (for example, ABI and PCR mode).
virtual bool getEditMode ()
 Are we editing?
virtual void setEditMode (bool _b)
 Sets wether we're editing.
virtual void setLowX (int _i)
 Minimum X coodrinate to draw.
virtual void startEdit (wxString id)
 Initiate editing mode.
virtual void stopEdit ()
 Terminate editing mode.
virtual int markedFrom ()
 Return first marked position, or -1.
virtual int markedTo ()
 Return last marked position, or -1.
virtual void unmark ()
 Removes any marking.
virtual int NumberOfLines ()
 Returns the number of seq struntures AND blank lines.
virtual void set_font_size (int size=12)

Public Attributes

ChildBasechild
 Wanna-be universal pointer to the containing module.
MyChildp
 Pointer to the containing MyChild; if this is not within the DNA module, NULL.
int blankline
int charwidth
int charheight
int hardstop
int lastmarked
int maxendnumberlength
int lastyoffset
int blocksize
int border
wxArraySeqBasic seq
 The list of SeqBasic structures.
wxFont * font
wxFont * smallFont
wxFont * varFont
wxString edit_id
wxString edit_valid

Private Member Functions

virtual wxBitmap * getSequenceBitmap ()
 Returns the sequences display as a bitmap.
virtual TVectorgetPCR_DNA_vector ()
 Returns a pointer to the DNA vector in PCR mode; otherwise, NULL.
virtual void showContextMenu (SeqBasic *where, int pos, wxPoint pt)
 Generates the context menu.
virtual void insertRestrictionSite (bool left)
 Creates a new restriction site via simulated editing, left or right of the current mark.
virtual void editSequence (int k, wxKeyEvent &event)
virtual void editCharPressed (int k, TVector *v, wxString *the_sequence)
virtual void editSpecialKeyPressed (int k, TVector *v, wxString *the_sequence, int wy, wxKeyEvent &event)

Private Attributes

bool printToColor
bool drawall
bool horizontal
bool hide
bool miniDisplay
bool preventUpdate
bool marking
bool drawing
bool printing
bool wantOverwrite
bool forceoverwrite
bool editMode
wxDC * print_dc
int _from
int _to
int mark_firstrow
int mark_lastrow
int lastclick
int lowx
int lowy
int lastpos
int print_maxx
int vpx
int vpy
wxString lastToolTip
SeqAlignlast_al
SeqBasiclastwhere
int contextMenuPosition
int last_font_size


Detailed Description

The main sequence display class.

This class gets filled with "sequence lines", which are descendants of SeqBasic. It manages the "total" layout, mouse and keyboard actions, scrolling, and context menus.


Constructor & Destructor Documentation

SequenceCanvas::SequenceCanvas wxWindow *  parent,
const wxPoint &  pos,
const wxSize &  size
 

Constructor.

SequenceCanvas::~SequenceCanvas  )  [virtual]
 

Destructor.


Member Function Documentation

void SequenceCanvas::arrange  )  [virtual]
 

Arranges tghe layout for all the seq structures.

void SequenceCanvas::blastAA wxCommandEvent &  ev  )  [virtual]
 

"BLAST amino acids" event handler

void SequenceCanvas::blastDNA wxCommandEvent &  ev  )  [virtual]
 

"BLAST DNA" event handler

virtual void SequenceCanvas::doHide bool  _b  )  [inline, virtual]
 

Hide the display.

bool SequenceCanvas::doOverwrite  )  [virtual]
 

Are we in edit overwrite mode?

void SequenceCanvas::editCharPressed int  k,
TVector v,
wxString *  the_sequence
[private, virtual]
 

void SequenceCanvas::editSequence int  k,
wxKeyEvent &  event
[private, virtual]
 

void SequenceCanvas::editSpecialKeyPressed int  k,
TVector v,
wxString *  the_sequence,
int  wy,
wxKeyEvent &  event
[private, virtual]
 

void SequenceCanvas::ensureVisible int  pos  )  [virtual]
 

Make sure the position is in the visible part of the display; scroll if necessary.

SeqBasic * SequenceCanvas::findID wxString  id  )  [virtual]
 

Returns the pointer to the seq structure with the given ID string.

SeqBasic * SequenceCanvas::findMouseTarget wxPoint  pt,
int &  pos
[virtual]
 

Returns a pointer to the seq structure (and the position inside) the given point is within.

int SequenceCanvas::findMouseTargetItem wxPoint  pt  )  [virtual]
 

Returns the ID of the seq structure the given point is within.

virtual void SequenceCanvas::forceOverwrite bool  _b  )  [inline, virtual]
 

Ensure overwrite mode (for example, ABI and PCR mode).

TAminoAcids * SequenceCanvas::getAA  )  [virtual]
 

Returns pointer to amino acid module, or NULL.

TAlignment * SequenceCanvas::getAln  )  [virtual]
 

Returns pointer to alignment module, or NULL.

int SequenceCanvas::getBatchMark  )  [virtual]
 

I forgot what this does.

wxString SequenceCanvas::getChildType  )  [virtual]
 

Returns the child identifier, or _T("").

virtual bool SequenceCanvas::getDrawAll  )  [inline, virtual]
 

Are we drawing everything ( not just the visible part)?

virtual bool SequenceCanvas::getEditMode  )  [inline, virtual]
 

Are we editing?

virtual bool SequenceCanvas::getHide  )  [inline, virtual]
 

Is the display hidden (so we don't have to draw anything)?

virtual SeqBasic* SequenceCanvas::getLastWhere  )  [inline, virtual]
 

Returns a pointer to the last marked seq structure.

TVector * SequenceCanvas::getPCR_DNA_vector  )  [private, virtual]
 

Returns a pointer to the DNA vector in PCR mode; otherwise, NULL.

TPrimerDesign * SequenceCanvas::getPD  )  [virtual]
 

Returns pointer to primer design module, or NULL.

virtual bool SequenceCanvas::getPrintToColor  )  [inline, virtual]
 

Are we printing to a color printer?

wxString SequenceCanvas::getSelection  )  [virtual]
 

Returns the current selection as a wxString.

wxBitmap * SequenceCanvas::getSequenceBitmap  )  [private, virtual]
 

Returns the sequences display as a bitmap.

bool SequenceCanvas::inMarkRange int  x,
int  f,
int  t,
int  l
[virtual]
 

Is this span withing the marked range?

void SequenceCanvas::insertRestrictionSite bool  left  )  [private, virtual]
 

Creates a new restriction site via simulated editing, left or right of the current mark.

virtual bool SequenceCanvas::isHorizontal  )  [inline, virtual]
 

Is the display set to horizontal mode?

virtual bool SequenceCanvas::isMiniDisplay  )  [inline, virtual]
 

Is this a mini display in the amino acid module?

virtual bool SequenceCanvas::isPrinting  )  [inline, virtual]
 

Are we printing (or drawing on the screen)?

void SequenceCanvas::mark wxString  id,
int  from,
int  to,
int  value = 1,
int  force_row = -1
[virtual]
 

Marks part of a sequence.

void SequenceCanvas::mark SeqBasic where,
int  from,
int  to,
int  value = 1
[virtual]
 

Marks part of a sequence.

virtual int SequenceCanvas::markedFrom  )  [inline, virtual]
 

Return first marked position, or -1.

virtual int SequenceCanvas::markedTo  )  [inline, virtual]
 

Return last marked position, or -1.

wxSize SequenceCanvas::MyGetClientSize  )  [virtual]
 

Wrapper function; will compensate for printing device context.

void SequenceCanvas::MyGetClientSize int *  w,
int *  h
[virtual]
 

Wrapper function; will compensate for printing device context.

void SequenceCanvas::MyGetSize int *  w,
int *  h
[virtual]
 

Wrapper function; will compensate for printing device context.

void SequenceCanvas::MyGetViewStart int *  x,
int *  y
[virtual]
 

Wrapper function; will compensate for printing device context.

virtual int SequenceCanvas::NumberOfLines  )  [inline, virtual]
 

Returns the number of seq struntures AND blank lines.

void SequenceCanvas::OnABIViewOnly wxCommandEvent &  ev  )  [virtual]
 

View toggle for ABI display.

void SequenceCanvas::OnAppearance wxCommandEvent &  event  )  [virtual]
 

Change the apperance of the sequence.

void SequenceCanvas::OnBacktranslate wxCommandEvent &  ev  )  [virtual]
 

"Backtranslate amino acids into DNA" event handler

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

Key event handler.

void SequenceCanvas::OnCopy wxCommandEvent &  ev  )  [virtual]
 

Copy event handler.

void SequenceCanvas::OnCopyImage wxCommandEvent &  ev  )  [virtual]
 

"Copy as image" event handler

void SequenceCanvas::OnCopyResultAA wxCommandEvent &  ev  )  [virtual]
 

"Copy amino acids for DNA resulting from PCR" event handler

void SequenceCanvas::OnCopyResultDNA wxCommandEvent &  ev  )  [virtual]
 

"Copy DNA resulting from PCR" event handler

void SequenceCanvas::OnCopyText wxCommandEvent &  ev  )  [virtual]
 

"Copy as text" event handler

void SequenceCanvas::OnCut wxCommandEvent &  ev  )  [virtual]
 

Cut event handler.

void SequenceCanvas::OnDeleteGap wxCommandEvent &  ev  )  [virtual]
 

"Delete gap from alignment sequence" event handler

void SequenceCanvas::OnDeleteOtherGaps wxCommandEvent &  ev  )  [virtual]
 

"Delete gap from all other alignment sequences" event handler

void SequenceCanvas::OnDraw wxDC &  dc  )  [virtual]
 

Draws the sequence.

!!

void SequenceCanvas::OnEvent wxMouseEvent &  event  )  [virtual]
 

Mouse event handler.

void SequenceCanvas::OnFocus wxFocusEvent &  event  )  [virtual]
 

"Display gets focus" event handler

void SequenceCanvas::OnInsertGap wxCommandEvent &  ev  )  [virtual]
 

"Insert gap into alignment sequence" event handler

void SequenceCanvas::OnInsertOtherGaps wxCommandEvent &  ev  )  [virtual]
 

"Insert gap into all other alignment sequences" event handler

void SequenceCanvas::OnInsertRestrictionSiteLeft wxCommandEvent &  ev  )  [virtual]
 

"Insert restriction site left of the marking" event handler

void SequenceCanvas::OnInsertRestrictionSiteRight wxCommandEvent &  ev  )  [virtual]
 

"Insert restriction site right of the marking" event handler

void SequenceCanvas::OnKillFocus wxFocusEvent &  event  )  [virtual]
 

"Display loses focus" event handler

void SequenceCanvas::OnNewFromResultAA wxCommandEvent &  ev  )  [virtual]
 

"New amino acids module for DNA resulting from PCR" event handler

void SequenceCanvas::OnNewFromResultDNA wxCommandEvent &  ev  )  [virtual]
 

"New DNA module resulting from PCR" event handler

void SequenceCanvas::OnOpenFeature wxCommandEvent &  event  )  [virtual]
 

"Open feature" event handler

void SequenceCanvas::OnPaste wxCommandEvent &  ev  )  [virtual]
 

Paste event handler.

void SequenceCanvas::OnPhylip wxCommandEvent &  ev  )  [virtual]
 

"Phylip" event handler (all in one)

void SequenceCanvas::OnPrimerBackward wxCommandEvent &  ev  )  [virtual]
 

"Run PCR with backward primer" event handler

void SequenceCanvas::OnPrimerBoth wxCommandEvent &  ev  )  [virtual]
 

"Run PCR with both primers" event handler

void SequenceCanvas::OnPrimerForward wxCommandEvent &  ev  )  [virtual]
 

"Run PCR with forward primer" event handler

void SequenceCanvas::OnPrimerMutation wxCommandEvent &  ev  )  [virtual]
 

"Run PCR with mutation primers" event handler

void SequenceCanvas::OnPrint wxCommandEvent &  ev  )  [virtual]
 

Printing event handler.

void SequenceCanvas::OnSaveImage wxCommandEvent &  ev  )  [virtual]
 

"Save as image" event handler

void SequenceCanvas::OnSelAsNewPrimer wxCommandEvent &  ev  )  [virtual]
 

"Selection as new primer" event handler

void SequenceCanvas::OnSeqBottom wxCommandEvent &  ev  )  [virtual]
 

"Move alignment sequence to bottom" event handler

void SequenceCanvas::OnSeqDown wxCommandEvent &  ev  )  [virtual]
 

"Move alignment sequence down" event handler

void SequenceCanvas::OnSeqTop wxCommandEvent &  ev  )  [virtual]
 

"Move alignment sequence to top" event handler

void SequenceCanvas::OnSeqUp wxCommandEvent &  ev  )  [virtual]
 

"Move alignment sequence up" event handler

void SequenceCanvas::OnSilmut wxCommandEvent &  ev  )  [virtual]
 

"Silent mutation" event handler

void SequenceCanvas::OnSize wxSizeEvent &  event  )  [virtual]
 

Resize event handler.

void SequenceCanvas::OnStrandCopy35 wxCommandEvent &  event  )  [virtual]
 

"Copy the 3'->5' strand" event handler

void SequenceCanvas::OnStrandCopy53 wxCommandEvent &  event  )  [virtual]
 

"Copy the 5'->3' strand" event handler

void SequenceCanvas::OnStrandCopyBoth wxCommandEvent &  event  )  [virtual]
 

"Copy both strands as a text" event handler

void SequenceCanvas::OnStrandNew35 wxCommandEvent &  event  )  [virtual]
 

"Generate new DNA module from 3'->5' strand" event handler

void SequenceCanvas::OnStrandNew53 wxCommandEvent &  event  )  [virtual]
 

"Generate new DNA module from 5'->3' strand" event handler

void SequenceCanvas::OnStrandNewBoth wxCommandEvent &  event  )  [virtual]
 

"Generate new DNA modules from both strands" event handler

void SequenceCanvas::OnToggleFeat wxCommandEvent &  ev  )  [virtual]
 

"Toggle feature display for this alignment sequence" event handler

void SequenceCanvas::OnViewCondensed wxCommandEvent &  ev  )  [virtual]
 

View condensed" mini-display event handler.

void SequenceCanvas::OnViewOriginal wxCommandEvent &  ev  )  [virtual]
 

"View original" mini-display event handler

void SequenceCanvas::OnViewReal wxCommandEvent &  ev  )  [virtual]
 

View 1:1" mini-display event handler.

void SequenceCanvas::OnWhatCuts wxCommandEvent &  event  )  [virtual]
 

"Find restriction enzymes that cut" event handler

void SequenceCanvas::rsHideLimit wxCommandEvent &  ev  )  [virtual]
 

"Limit restriction enzymes" event handler

void SequenceCanvas::safeShow wxDC &  dc  )  [virtual]
 

Draws the sequence in a memory device context, then blits it over to the "real" one.

void SequenceCanvas::set_font_size int  size = 12  )  [virtual]
 

virtual void SequenceCanvas::setDrawAll bool  _b  )  [inline, virtual]
 

We are drawing everything ( not just the visible part).

void SequenceCanvas::setEditMode bool  _b  )  [virtual]
 

Sets wether we're editing.

virtual void SequenceCanvas::setHorizontal bool  _b  )  [inline, virtual]
 

Set the display to horizontal mode.

virtual void SequenceCanvas::setLastWhere SeqBasic where  )  [inline, virtual]
 

virtual void SequenceCanvas::setLowX int  _i  )  [inline, virtual]
 

Minimum X coodrinate to draw.

virtual void SequenceCanvas::setMiniDisplay bool  _b  )  [inline, virtual]
 

This is a mini display in the amino acid module.

virtual void SequenceCanvas::setPrintToColor bool  _b  )  [inline, virtual]
 

We are printing to a color printer!

void SequenceCanvas::showContextMenu SeqBasic where,
int  pos,
wxPoint  pt
[private, virtual]
 

Generates the context menu.

void SequenceCanvas::SilentRefresh  )  [virtual]
 

Refresh without cleaning background first (no flicker).

void SequenceCanvas::startEdit wxString  id  )  [virtual]
 

Initiate editing mode.

void SequenceCanvas::stopEdit  )  [virtual]
 

Terminate editing mode.

virtual void SequenceCanvas::toggleHorizontal  )  [inline, virtual]
 

Toggle horizontal/vertical mode.

void SequenceCanvas::unmark  )  [virtual]
 

Removes any marking.

void SequenceCanvas::updateEdit TVector v,
wxString  id,
int  from
[virtual]
 

Updates the sequences and display once a key was pressed and, thus, the sequence altered.

void SequenceCanvas::vecEdit wxCommandEvent &  ev  )  [virtual]
 

Edit event handler.


Member Data Documentation

int SequenceCanvas::_from [private]
 

int SequenceCanvas::_to [private]
 

int SequenceCanvas::blankline
 

int SequenceCanvas::blocksize
 

int SequenceCanvas::border
 

int SequenceCanvas::charheight
 

int SequenceCanvas::charwidth
 

ChildBase* SequenceCanvas::child
 

Wanna-be universal pointer to the containing module.

int SequenceCanvas::contextMenuPosition [private]
 

bool SequenceCanvas::drawall [private]
 

bool SequenceCanvas::drawing [private]
 

wxString SequenceCanvas::edit_id
 

wxString SequenceCanvas::edit_valid
 

bool SequenceCanvas::editMode [private]
 

wxFont* SequenceCanvas::font
 

bool SequenceCanvas::forceoverwrite [private]
 

int SequenceCanvas::hardstop
 

bool SequenceCanvas::hide [private]
 

bool SequenceCanvas::horizontal [private]
 

SeqAlign* SequenceCanvas::last_al [private]
 

int SequenceCanvas::last_font_size [private]
 

int SequenceCanvas::lastclick [private]
 

int SequenceCanvas::lastmarked
 

int SequenceCanvas::lastpos [private]
 

wxString SequenceCanvas::lastToolTip [private]
 

SeqBasic* SequenceCanvas::lastwhere [private]
 

int SequenceCanvas::lastyoffset
 

int SequenceCanvas::lowx [private]
 

int SequenceCanvas::lowy [private]
 

int SequenceCanvas::mark_firstrow [private]
 

int SequenceCanvas::mark_lastrow [private]
 

bool SequenceCanvas::marking [private]
 

int SequenceCanvas::maxendnumberlength
 

bool SequenceCanvas::miniDisplay [private]
 

MyChild* SequenceCanvas::p
 

Pointer to the containing MyChild; if this is not within the DNA module, NULL.

bool SequenceCanvas::preventUpdate [private]
 

wxDC* SequenceCanvas::print_dc [private]
 

int SequenceCanvas::print_maxx [private]
 

bool SequenceCanvas::printing [private]
 

bool SequenceCanvas::printToColor [private]
 

wxArraySeqBasic SequenceCanvas::seq
 

The list of SeqBasic structures.

wxFont * SequenceCanvas::smallFont
 

wxFont * SequenceCanvas::varFont
 

int SequenceCanvas::vpx [private]
 

int SequenceCanvas::vpy [private]
 

bool SequenceCanvas::wantOverwrite [private]
 


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