NCBI C++ ToolKit
Public Member Functions | List of all members
ILayoutTrackHost Class Referenceabstract

Search Toolkit Book for ILayoutTrackHost

ILayoutTrackHost An interface used for handling GUI-related events, such as layout change event that requires refresh the screen, zoom event that requires zooming to a certain range, and menu event that pops up a context-sensitive menu. More...

#include <gui/widgets/seq_graphic/layout_track.hpp>

+ Inheritance diagram for ILayoutTrackHost:

Public Member Functions

virtual ~ILayoutTrackHost ()
 
virtual void LTH_OnLayoutChanged ()=0
 provides mouse coords in OpenGL viewport coord system More...
 
virtual void LTH_ZoomOnRange (const TSeqRange &range)=0
 notifies the host we need to zoom on to a range. More...
 
virtual void LTH_PopupMenu (wxMenu *menu)=0
 show track-specific context menu. More...
 
virtual void LTH_PushEventHandler (wxEvtHandler *handler)=0
 
virtual void LTH_PopEventHandler ()=0
 
virtual void LTH_ConfigureTracksDlg (const string &category)
 
virtual void ResetSearch ()
 

Detailed Description

ILayoutTrackHost An interface used for handling GUI-related events, such as layout change event that requires refresh the screen, zoom event that requires zooming to a certain range, and menu event that pops up a context-sensitive menu.

Definition at line 361 of file layout_track.hpp.

Constructor & Destructor Documentation

◆ ~ILayoutTrackHost()

virtual ILayoutTrackHost::~ILayoutTrackHost ( )
inlinevirtual

Definition at line 364 of file layout_track.hpp.

Member Function Documentation

◆ LTH_ConfigureTracksDlg()

virtual void ILayoutTrackHost::LTH_ConfigureTracksDlg ( const string category)
inlinevirtual

Reimplemented in CSeqGraphicPane, and CAlnVecRow.

Definition at line 382 of file layout_track.hpp.

Referenced by CTrackContainer::OnMore().

◆ LTH_OnLayoutChanged()

virtual void ILayoutTrackHost::LTH_OnLayoutChanged ( )
pure virtual

provides mouse coords in OpenGL viewport coord system

notifies the host about changes of the track.

Implemented in CSeqGraphicPane, and CAlnVecRow.

Referenced by CAlignmentTrack::x_OnJobCompleted(), and CLayoutTrack::x_OnLayoutChanged().

◆ LTH_PopEventHandler()

virtual void ILayoutTrackHost::LTH_PopEventHandler ( )
pure virtual

◆ LTH_PopupMenu()

virtual void ILayoutTrackHost::LTH_PopupMenu ( wxMenu *  menu)
pure virtual

◆ LTH_PushEventHandler()

virtual void ILayoutTrackHost::LTH_PushEventHandler ( wxEvtHandler *  handler)
pure virtual

◆ LTH_ZoomOnRange()

virtual void ILayoutTrackHost::LTH_ZoomOnRange ( const TSeqRange range)
pure virtual

notifies the host we need to zoom on to a range.

Implemented in CSeqGraphicPane, and CAlnVecRow.

Referenced by CSequenceTrack::OnLeftDblClick().

◆ ResetSearch()

virtual void ILayoutTrackHost::ResetSearch ( )
inlinevirtual

Reimplemented in CSeqGraphicPane.

Definition at line 384 of file layout_track.hpp.

Referenced by CTrackContainer::ResetSearch().


The documentation for this class was generated from the following file:
Modified on Wed Sep 04 15:03:55 2024 by modify_doxy.py rev. 669887