|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
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 | |
| def wizard.ItemList.__init__ | ( | self, | |
| parent, | |||
| columns, | |||
data = None |
|||
| ) |
| def wizard.ItemList.GetListCtrl | ( | self | ) |
| def wizard.ItemList.GetSortImages | ( | self | ) |
Used by the ColumnSorterMixin, see wx/lib/mixins/listctrl.py.
Definition at line 542 of file wizard.py.
References manager.VirtualAttributeList.sm_dn, wizard.ItemList.sm_dn, manager.GCP.sm_dn, manager.VirtualAttributeList.sm_up, wizard.ItemList.sm_up, and manager.GCP.sm_up.
| def wizard.ItemList.OnColumnClick | ( | self, | |
| event | |||
| ) |
Sort by column.
Definition at line 527 of file wizard.py.
References manager.VirtualAttributeList._col, wizard.ItemList._col, and tools.range.
| def wizard.ItemList.OnGetItemAttr | ( | self, | |
| item | |||
| ) |
Get item attributes.
Definition at line 552 of file wizard.py.
References manager.VirtualAttributeList.attr1, wizard.ItemList.attr1, manager.VirtualAttributeList.attr2, wizard.ItemList.attr2, manager.VirtualAttributeList.itemIndexMap, and wizard.ItemList.itemIndexMap.
| def wizard.ItemList.OnGetItemText | ( | self, | |
| item, | |||
| col | |||
| ) |
Get item text.
Definition at line 546 of file wizard.py.
References prompt.TextCtrlAutoComplete.itemDataMap, manager.VirtualAttributeList.itemDataMap, wizard.ItemList.itemDataMap, dialogs.ModelListCtrl.itemDataMap, dialogs.VariableListCtrl.itemDataMap, dialogs.ItemListCtrl.itemDataMap, manager.GCP.itemDataMap, manager.VirtualAttributeList.itemIndexMap, and wizard.ItemList.itemIndexMap.
| def wizard.ItemList.Populate | ( | self, | |
data = None, |
|||
update = False |
|||
| ) |
| def wizard.ItemList.Search | ( | self, | |
| index, | |||
| pattern | |||
| ) |
Search projection by description Return first found item or None.
Definition at line 595 of file wizard.py.
References wizard.ItemList.Populate(), dialogs.VariableListCtrl.Populate(), dialogs.ItemListCtrl.Populate(), manager.TableListCtrl.Populate(), manager.LayerListCtrl.Populate(), tools.range, and wizard.ItemList.sourceData.
| def wizard.ItemList.Sorter | ( | self, | |
| key1, | |||
| key2 | |||
| ) |
Definition at line 569 of file wizard.py.
References manager.VirtualAttributeList._col, wizard.ItemList._col, manager.GCP._colSortFlag, prompt.TextCtrlAutoComplete.itemDataMap, manager.VirtualAttributeList.itemDataMap, wizard.ItemList.itemDataMap, dialogs.ModelListCtrl.itemDataMap, dialogs.VariableListCtrl.itemDataMap, dialogs.ItemListCtrl.itemDataMap, manager.GCP.itemDataMap, and dialogs.type.
Referenced by wizard.ItemList.SortItems().
| def wizard.ItemList.SortItems | ( | self, | |
sorter = cmp |
|||
| ) |
Sort items.
Definition at line 560 of file wizard.py.
References manager.VirtualAttributeList.itemIndexMap, wizard.ItemList.itemIndexMap, manager.VirtualAttributeList.Sorter(), and wizard.ItemList.Sorter().
Definition at line 471 of file wizard.py.
Referenced by wizard.ItemList.OnGetItemAttr().
Definition at line 473 of file wizard.py.
Referenced by wizard.ItemList.OnGetItemAttr().
Definition at line 495 of file wizard.py.
Referenced by dialogs.VDigitCategoryDialog.OnAddCat(), dialogs.VDigitCategoryDialog.OnFeature(), wizard.ItemList.OnGetItemText(), dialogs.VDigitCategoryDialog.OnReload(), wizard.ItemList.Sorter(), and dialogs.VDigitCategoryDialog.UpdateDialog().
Definition at line 496 of file wizard.py.
Referenced by wizard.ItemList.OnGetItemAttr(), wizard.ItemList.OnGetItemText(), and wizard.ItemList.SortItems().
Definition at line 478 of file wizard.py.
Referenced by wizard.ItemList.GetSortImages().
Definition at line 476 of file wizard.py.
Referenced by wizard.ItemList.GetSortImages().
Definition at line 444 of file wizard.py.
Referenced by wizard.ItemList.Search().