GRASS Programmer's Manual
6.4.2(2012)
|
Generic list (for projections, ellipsoids, etc.) More...
Public Member Functions | |
def | __init__ |
def | Populate |
Populate list. | |
def | OnColumnClick |
Sort by column. | |
def | GetSortImages |
Used by the ColumnSorterMixin, see wx/lib/mixins/listctrl.py. | |
def | OnGetItemText |
Get item text. | |
def | OnGetItemAttr |
Get item attributes. | |
def | SortItems |
Sort items. | |
def | Sorter |
def | GetListCtrl |
Used by listmix.ColumnSorterMixin. | |
def | Search |
Search projection by description Return first found item or None. | |
Data Fields | |
sourceData | |
attr1 | |
attr2 | |
il | |
sm_up | |
sm_dn | |
itemDataMap | |
itemIndexMap |
Generic list (for projections, ellipsoids, etc.)
Definition at line 465 of file location_wizard.py.
def gui_modules.location_wizard.ItemList.__init__ | ( | self, | |
parent, | |||
columns, | |||
data = None |
|||
) |
Definition at line 470 of file location_wizard.py.
def gui_modules.location_wizard.ItemList.GetListCtrl | ( | self | ) |
Used by listmix.ColumnSorterMixin.
Definition at line 627 of file location_wizard.py.
Used by the ColumnSorterMixin, see wx/lib/mixins/listctrl.py.
Definition at line 578 of file location_wizard.py.
References gui_modules.dbm.VirtualAttributeList.sm_dn, gui_modules.location_wizard.ItemList.sm_dn, gui_modules.gcpmanager.GCP.sm_dn, gui_modules.dbm.VirtualAttributeList.sm_up, gui_modules.location_wizard.ItemList.sm_up, and gui_modules.gcpmanager.GCP.sm_up.
def gui_modules.location_wizard.ItemList.OnColumnClick | ( | self, | |
event | |||
) |
Sort by column.
Definition at line 563 of file location_wizard.py.
References gui_modules.dbm.VirtualAttributeList._col, and gui_modules.location_wizard.ItemList._col.
def gui_modules.location_wizard.ItemList.OnGetItemAttr | ( | self, | |
item | |||
) |
Get item attributes.
Definition at line 588 of file location_wizard.py.
References gui_modules.dbm.VirtualAttributeList.attr1, gui_modules.location_wizard.ItemList.attr1, gui_modules.dbm.VirtualAttributeList.attr2, gui_modules.location_wizard.ItemList.attr2, gui_modules.dbm.VirtualAttributeList.itemIndexMap, and gui_modules.location_wizard.ItemList.itemIndexMap.
def gui_modules.location_wizard.ItemList.OnGetItemText | ( | self, | |
item, | |||
col | |||
) |
Get item text.
Definition at line 582 of file location_wizard.py.
References gui_modules.dbm.VirtualAttributeList.itemDataMap, gui_modules.location_wizard.ItemList.itemDataMap, gui_modules.gcpmanager.GCP.itemDataMap, gui_modules.gmodeler.ModelListCtrl.itemDataMap, gui_modules.gmodeler.VariableListCtrl.itemDataMap, gui_modules.gmodeler.ItemListCtrl.itemDataMap, gui_modules.dbm.VirtualAttributeList.itemIndexMap, and gui_modules.location_wizard.ItemList.itemIndexMap.
def gui_modules.location_wizard.ItemList.Populate | ( | self, | |
data = None , |
|||
update = False |
|||
) |
Populate list.
Definition at line 529 of file location_wizard.py.
References gui_modules.dbm.VirtualAttributeList.itemDataMap, gui_modules.location_wizard.ItemList.itemDataMap, gui_modules.gcpmanager.GCP.itemDataMap, gui_modules.gmodeler.ModelListCtrl.itemDataMap, gui_modules.gmodeler.VariableListCtrl.itemDataMap, gui_modules.gmodeler.ItemListCtrl.itemDataMap, gui_modules.dbm.VirtualAttributeList.itemIndexMap, gui_modules.location_wizard.ItemList.itemIndexMap, and gui_modules.location_wizard.ItemList.sourceData.
Referenced by gui_modules.location_wizard.ItemList.Search().
def gui_modules.location_wizard.ItemList.Search | ( | self, | |
index, | |||
pattern | |||
) |
Search projection by description Return first found item or None.
Definition at line 631 of file location_wizard.py.
References gui_modules.location_wizard.ItemList.Populate(), gui_modules.dbm.TableListCtrl.Populate(), gui_modules.dbm.LayerListCtrl.Populate(), gui_modules.gmodeler.VariableListCtrl.Populate(), gui_modules.gmodeler.ItemListCtrl.Populate(), and gui_modules.location_wizard.ItemList.sourceData.
def gui_modules.location_wizard.ItemList.Sorter | ( | self, | |
key1, | |||
key2 | |||
) |
Definition at line 605 of file location_wizard.py.
References gui_modules.dbm.VirtualAttributeList._col, gui_modules.location_wizard.ItemList._col, gui_modules.gcpmanager.GCP._colSortFlag, gui_modules.dbm.VirtualAttributeList.itemDataMap, gui_modules.location_wizard.ItemList.itemDataMap, gui_modules.gcpmanager.GCP.itemDataMap, gui_modules.gmodeler.ModelListCtrl.itemDataMap, gui_modules.gmodeler.VariableListCtrl.itemDataMap, gui_modules.gmodeler.ItemListCtrl.itemDataMap, and gui_modules::psmap_dialogs.type.
Referenced by gui_modules.location_wizard.ItemList.SortItems().
def gui_modules.location_wizard.ItemList.SortItems | ( | self, | |
sorter = cmp |
|||
) |
Sort items.
Definition at line 596 of file location_wizard.py.
References gui_modules.dbm.VirtualAttributeList.itemIndexMap, gui_modules.location_wizard.ItemList.itemIndexMap, gui_modules.dbm.VirtualAttributeList.Sorter(), and gui_modules.location_wizard.ItemList.Sorter().
Definition at line 470 of file location_wizard.py.
Referenced by gui_modules.location_wizard.ItemList.OnGetItemAttr().
Definition at line 470 of file location_wizard.py.
Referenced by gui_modules.location_wizard.ItemList.OnGetItemAttr().
Definition at line 470 of file location_wizard.py.
Definition at line 529 of file location_wizard.py.
Referenced by gui_modules.vdigit.VDigitCategoryDialog::OnAddCat(), gui_modules.vdigit.VDigitCategoryDialog::OnFeature(), gui_modules.location_wizard.ItemList::OnGetItemText(), gui_modules.vdigit.VDigitCategoryDialog::OnReload(), gui_modules.location_wizard.ItemList::Populate(), gui_modules.location_wizard.ItemList::Sorter(), and gui_modules.vdigit.VDigitCategoryDialog::UpdateDialog().
Definition at line 529 of file location_wizard.py.
Referenced by gui_modules.location_wizard.ItemList.OnGetItemAttr(), gui_modules.location_wizard.ItemList.OnGetItemText(), gui_modules.location_wizard.ItemList.Populate(), and gui_modules.location_wizard.ItemList.SortItems().
Definition at line 470 of file location_wizard.py.
Referenced by gui_modules.location_wizard.ItemList.GetSortImages().
Definition at line 470 of file location_wizard.py.
Referenced by gui_modules.location_wizard.ItemList.GetSortImages().
Definition at line 470 of file location_wizard.py.
Referenced by gui_modules.location_wizard.ItemList::Populate(), and gui_modules.location_wizard.ItemList::Search().