#include <feat_table.hpp>
Inheritance diagram for CFeatTableWidget:


Definition at line 61 of file feat_table.hpp.
Public Types | |
| enum | EVisibleRangeMethod { eScrollTo, eEntirelyContained, eIntersection } |
Public Member Functions | |
| CFeatTableWidget () | |
| CFeatTableWidget (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_REPORT|wxLC_VIRTUAL) | |
| CFeatTableWidget. | |
| virtual | ~CFeatTableWidget () |
| void | SetDataSource (CFeatTableDS *ds) |
| access the data source in a typesafe manner | |
| const CFeatTableDS * | GetDataSource () const |
| CFeatTableDS * | GetDataSource () |
| void | Update () |
| void | SelectFeature (const CFeatTableDS::SFeature &feat) |
| select a given feature | |
| void | SelectDataRow (size_t row) |
| void | GetSelection (TConstObjects &objs) const |
| Get the selected objects. | |
| void | SetVisibleRangeMethod (EVisibleRangeMethod method) |
| EVisibleRangeMethod | GetVisibleRangeMethod () const |
| void | SetVisibleRange (const objects::CSeq_loc &loc) |
| set the visible range for the widget. | |
| virtual TSeqRange | GetSelectionVisibleRange () const |
| void | OnFilter () |
| void | OnSelectionChanged (wxListEvent &event) |
ITimerListener implementation | |
| void | OnTimeout (int timer_id) |
Protected Member Functions | |
| virtual int | x_OnContextAction () |
Protected Attributes | |
| CRef< CFeatTableDS > | m_DataSource |
Private Member Functions | |
| CFeatTableWidget (const CFeatTableWidget &) | |
| forbidden | |
| CFeatTableWidget & | operator= (const CFeatTableWidget &) |
Private Attributes | |
| EVisibleRangeMethod | m_VisibleRangeMethod |
| what do we do if the visible range changes? | |
|
|
Definition at line 67 of file feat_table.hpp. |
|
|
Definition at line 73 of file feat_table.hpp. |
|
||||||||||||||||||||||||
|
Definition at line 64 of file feat_table.cpp. |
|
|
Definition at line 105 of file feat_table.cpp. |
|
|
forbidden
|
|
|
Definition at line 189 of file feat_table.cpp. References m_DataSource. |
|
|
Definition at line 183 of file feat_table.cpp. References m_DataSource. Referenced by CwxDemoFeatureTableFrame::LoadAccession(). |
|
|
Get the selected objects.
Definition at line 239 of file feat_table.cpp. References CwxTableListCtrl::GetDataRowsSelected(), and m_DataSource. Referenced by CFeatTableView::GetSelection(). |
|
|
Definition at line 249 of file feat_table.cpp. References CFeatTableDS::eFrom, CFeatTableDS::eTo, CwxTableListCtrl::GetLastSelected(), CwxTableListCtrl::GetModel(), IwxTableModel::GetValueAt(), and CwxTableListCtrl::RowVisibleToData(). |
|
|
Definition at line 200 of file feat_table.cpp. References m_VisibleRangeMethod. |
|
|
Definition at line 273 of file feat_table.cpp. |
|
|
Definition at line 310 of file feat_table.cpp. References CEvent::eEvent_Message, CEventHandler::ePool_Parent, CViewEvent::eWidgetSelectionChanged, and CEventHandler::Send(). |
|
|
Definition at line 160 of file feat_table.cpp. References m_DataSource. |
|
|
|
|
|
Definition at line 98 of file feat_table.hpp. References CwxTableListCtrl::RowDataToVisible(). Referenced by SelectFeature(). |
|
|
select a given feature
Definition at line 207 of file feat_table.cpp. References CFeatTableDS::SFeature::row_idx, and SelectDataRow(). Referenced by CFeatTableView::x_OnSetSelection(). |
|
|
access the data source in a typesafe manner
Definition at line 117 of file feat_table.cpp. References CRef< C, Locker >::GetPointer(), m_DataSource, CwxTableListCtrl::RemoveModel(), CRef< C, Locker >::Reset(), and CwxTableListCtrl::SetModel(). Referenced by CFeatTableView::CreateViewWindow(). |
|
|
set the visible range for the widget. this is merely a hint; the table is free to ignore this |
|
|
Definition at line 194 of file feat_table.cpp. References m_VisibleRangeMethod. |
|
|
Definition at line 143 of file feat_table.cpp. References m_DataSource. Referenced by CFeatTableView::x_Update(). |
|
|
Definition at line 302 of file feat_table.cpp. References CEvent::eEvent_Message, CEventHandler::ePool_Parent, CViewEvent::eWidgetRangeChanged, and CEventHandler::Send(). |
|
|
Definition at line 136 of file feat_table.hpp. Referenced by GetDataSource(), GetSelection(), OnTimeout(), SetDataSource(), and Update(). |
|
|
what do we do if the visible range changes?
Definition at line 150 of file feat_table.hpp. Referenced by GetVisibleRangeMethod(), and SetVisibleRangeMethod(). |
1.4.6
Modified on Wed Dec 09 08:19:13 2009 by modify_doxy.py rev. 173732