NCBI C++ ToolKit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CSelListController< Item > Class Template Referenceabstract

Search Toolkit Book for CSelListController

class CSelListController More...

#include <gui/widgets/aln_multiple/sel_list_controller.hpp>

+ Inheritance diagram for CSelListController< Item >:
+ Collaboration diagram for CSelListController< Item >:

Public Types

typedef Item TItem
 
typedef ISelListModel< Item > TSelListModel
 

Public Member Functions

 CSelListController ()
 
virtual ~CSelListController ()
 
- Public Member Functions inherited from IGlEventHandler
virtual ~IGlEventHandler ()
 
virtual void SetPane (CGlPane *)
 
virtual wxEvtHandler * GetEvtHandler ()=0
 

Protected Member Functions

virtual void x_OnLeftDown (wxMouseEvent &event)
 
virtual void x_OnLeftUp (wxMouseEvent &event)
 
virtual void x_OnMotion (wxMouseEvent &event)
 
virtual void x_OnKeyDown (wxKeyEvent &event)
 
virtual TSelListModelSLC_GetModel ()=0
 
virtual int SLC_GetLineByWindowY (int WinY, bool b_clip=false)=0
 
virtual int SLC_GetHeight ()=0
 
virtual void SLC_VertScrollToMakeVisible (int index)=0
 
void x_MoveSelectionBy (int Shift, bool bShift, bool bCtrl)
 
void x_MoveSelLineByPage (bool bDown, bool bShift, bool bCtrl)
 
void x_SelectTo (int index, bool bShift, bool bCtrl)
 
void x_SelectFocusedItem (bool bDeselectEn)
 

Protected Attributes

bool m_ProcessMouseUp
 
wxPoint m_MouseDownPos
 

Detailed Description

template<class Item>
class CSelListController< Item >

class CSelListController

Definition at line 46 of file sel_list_controller.hpp.

Member Typedef Documentation

◆ TItem

template<class Item >
typedef Item CSelListController< Item >::TItem

Definition at line 50 of file sel_list_controller.hpp.

◆ TSelListModel

template<class Item >
typedef ISelListModel<Item> CSelListController< Item >::TSelListModel

Definition at line 51 of file sel_list_controller.hpp.

Constructor & Destructor Documentation

◆ CSelListController()

template<class Item >
CSelListController< Item >::CSelListController

Definition at line 81 of file sel_list_controller.hpp.

◆ ~CSelListController()

template<class Item >
CSelListController< Item >::~CSelListController
virtual

Definition at line 86 of file sel_list_controller.hpp.

Member Function Documentation

◆ SLC_GetHeight()

template<class Item >
virtual int CSelListController< Item >::SLC_GetHeight ( )
protectedpure virtual

Implemented in CAlnMultiPane.

◆ SLC_GetLineByWindowY()

template<class Item >
virtual int CSelListController< Item >::SLC_GetLineByWindowY ( int  WinY,
bool  b_clip = false 
)
protectedpure virtual

Implemented in CAlnMultiPane.

◆ SLC_GetModel()

template<class Item >
virtual TSelListModel* CSelListController< Item >::SLC_GetModel ( )
protectedpure virtual

Implemented in CAlnMultiPane.

◆ SLC_VertScrollToMakeVisible()

template<class Item >
virtual void CSelListController< Item >::SLC_VertScrollToMakeVisible ( int  index)
protectedpure virtual

Implemented in CAlnMultiPane.

◆ x_MoveSelectionBy()

template<class Item >
void CSelListController< Item >::x_MoveSelectionBy ( int  Shift,
bool  bShift,
bool  bCtrl 
)
protected

◆ x_MoveSelLineByPage()

template<class Item >
void CSelListController< Item >::x_MoveSelLineByPage ( bool  bDown,
bool  bShift,
bool  bCtrl 
)
protected

◆ x_OnKeyDown()

template<class Item >
void CSelListController< Item >::x_OnKeyDown ( wxKeyEvent &  event)
protectedvirtual

◆ x_OnLeftDown()

template<class Item >
void CSelListController< Item >::x_OnLeftDown ( wxMouseEvent &  event)
protectedvirtual

◆ x_OnLeftUp()

template<class Item >
void CSelListController< Item >::x_OnLeftUp ( wxMouseEvent &  event)
protectedvirtual

◆ x_OnMotion()

template<class Item >
void CSelListController< Item >::x_OnMotion ( wxMouseEvent &  event)
protectedvirtual

Definition at line 138 of file sel_list_controller.hpp.

References abs, and kDragThreshold.

Referenced by CAlnMultiPane::OnMotion().

◆ x_SelectFocusedItem()

template<class Item >
void CSelListController< Item >::x_SelectFocusedItem ( bool  bDeselectEn)
protected

◆ x_SelectTo()

template<class Item >
void CSelListController< Item >::x_SelectTo ( int  index,
bool  bShift,
bool  bCtrl 
)
protected

Member Data Documentation

◆ m_MouseDownPos

template<class Item >
wxPoint CSelListController< Item >::m_MouseDownPos
protected

Definition at line 76 of file sel_list_controller.hpp.

◆ m_ProcessMouseUp

template<class Item >
bool CSelListController< Item >::m_ProcessMouseUp
protected

Definition at line 75 of file sel_list_controller.hpp.

Referenced by CAlnMultiPane::OnLeftDown(), and CAlnMultiPane::OnLeftUp().


The documentation for this class was generated from the following file:
Modified on Mon Apr 22 04:04:07 2024 by modify_doxy.py rev. 669887