GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.location_wizard.ItemList Class Reference

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

Detailed Description

Generic list (for projections, ellipsoids, etc.)

Definition at line 467 of file location_wizard.py.


Constructor & Destructor Documentation

def gui_modules.location_wizard.ItemList.__init__ (   self,
  parent,
  columns,
  data = None 
)

Definition at line 470 of file location_wizard.py.


Member Function Documentation

def gui_modules.location_wizard.ItemList.GetListCtrl (   self)

Used by listmix.ColumnSorterMixin.

Definition at line 627 of file location_wizard.py.

def gui_modules.location_wizard.ItemList.GetSortImages (   self)
def gui_modules.location_wizard.ItemList.OnColumnClick (   self,
  event 
)
def gui_modules.location_wizard.ItemList.Populate (   self,
  data = None,
  update = False 
)

Populate list.

Definition at line 529 of file location_wizard.py.

Referenced by gui_modules.location_wizard.ItemList.Search().

def gui_modules.location_wizard.ItemList.Search (   self,
  index,
  pattern 
)
def gui_modules.location_wizard.ItemList.SortItems (   self,
  sorter = cmp 
)

Field Documentation

gui_modules.location_wizard.ItemList.attr1
gui_modules.location_wizard.ItemList.attr2
gui_modules.location_wizard.ItemList.il

Definition at line 511 of file location_wizard.py.

gui_modules.location_wizard.ItemList.sm_dn
gui_modules.location_wizard.ItemList.sm_up
gui_modules.location_wizard.ItemList.sourceData

Definition at line 480 of file location_wizard.py.

Referenced by gui_modules.location_wizard.ItemList.Search().


The documentation for this class was generated from the following file: