CColorTableScoringPanel Class Reference

Search Toolkit Book for CColorTableScoringPanel

Collaboration diagram for CColorTableScoringPanel:

Collaboration graph
[legend]
List of all members.

Detailed Description

CColorTableScoringPanel - Properties Panel for CColorTableMethod.

Definition at line 535 of file template_methods.cpp.

Public Member Functions

 CColorTableScoringPanel (CColorTableMethod &method, wxWindow *parent, wxWindowID id=wxID_ANY)

Protected Member Functions

void CreateControls ()
void Init ()
void OnApply (wxCommandEvent &event)
void OnSwapColors (wxCommandEvent &event)
void OnContrastFG (wxCommandEvent &event)
void OnContrastBG (wxCommandEvent &event)
void OnAddRow (wxCommandEvent &event)

Protected Attributes

CColorTableMethodm_Method
vector< CColorPanel::SDatam_Data
CColorPanelm_ColorPanel


Constructor & Destructor Documentation

CColorTableScoringPanel::CColorTableScoringPanel CColorTableMethod method,
wxWindow *  parent,
wxWindowID  id = wxID_ANY
 

Definition at line 567 of file template_methods.cpp.


Member Function Documentation

void CColorTableScoringPanel::CreateControls  )  [protected]
 

Definition at line 600 of file template_methods.cpp.

References _T, ID_ADD_ROW, ID_CONTRAST_BG, ID_CONTRAST_FG, ID_SWAP_COLORS, m_ColorPanel, and m_Data.

void CColorTableScoringPanel::Init  )  [protected]
 

Definition at line 576 of file template_methods.cpp.

References ConvertColor(), IScoringMethod::fBackground, fc, IScoringMethod::fForeground, CColorTableMethod::GetColor(), CColorTableMethod::GetSetBases(), ITERATE, CColorPanel::SData::m_BackColor, CColorPanel::SData::m_Bases, m_Data, CColorPanel::SData::m_ForeColor, m_Method, and NON_CONST_ITERATE.

void CColorTableScoringPanel::OnAddRow wxCommandEvent &  event  )  [protected]
 

Definition at line 650 of file template_methods.cpp.

References CColorPanel::AddNewRow(), and m_ColorPanel.

void CColorTableScoringPanel::OnApply wxCommandEvent &  event  )  [protected]
 

Definition at line 629 of file template_methods.cpp.

References CColorTableMethod::Clear(), ConvertColor(), IScoringMethod::fBackground, IScoringMethod::fForeground, ITERATE, m_ColorPanel, m_Data, m_Method, CColorTableMethod::SetColor(), and CColorPanel::UpdateData().

void CColorTableScoringPanel::OnContrastBG wxCommandEvent &  event  )  [protected]
 

Definition at line 660 of file template_methods.cpp.

References CColorPanel::ContrastBG(), and m_ColorPanel.

void CColorTableScoringPanel::OnContrastFG wxCommandEvent &  event  )  [protected]
 

Definition at line 655 of file template_methods.cpp.

References CColorPanel::ContrastFG(), and m_ColorPanel.

void CColorTableScoringPanel::OnSwapColors wxCommandEvent &  event  )  [protected]
 

Definition at line 645 of file template_methods.cpp.

References m_ColorPanel, and CColorPanel::SwapColors().


Member Data Documentation

CColorPanel* CColorTableScoringPanel::m_ColorPanel [protected]
 

Definition at line 551 of file template_methods.cpp.

Referenced by CreateControls(), OnAddRow(), OnApply(), OnContrastBG(), OnContrastFG(), and OnSwapColors().

vector<CColorPanel::SData> CColorTableScoringPanel::m_Data [protected]
 

Definition at line 550 of file template_methods.cpp.

Referenced by CreateControls(), Init(), and OnApply().

CColorTableMethod& CColorTableScoringPanel::m_Method [protected]
 

Definition at line 548 of file template_methods.cpp.

Referenced by Init(), and OnApply().


The documentation for this class was generated from the following file:
Generated on Mon Dec 7 10:48:48 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:22:52 2009 by modify_doxy.py rev. 173732