GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
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 431 of file wizard.py.


Constructor & Destructor Documentation

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

Definition at line 434 of file wizard.py.


Member Function Documentation

Used by listmix.ColumnSorterMixin.

Definition at line 591 of file wizard.py.

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.Populate (   self,
  data = None,
  update = False 
)

Populate list.

Definition at line 493 of file wizard.py.

Referenced by wizard.ItemList.Search().

def wizard.ItemList.Search (   self,
  index,
  pattern 
)

Field Documentation

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 475 of file wizard.py.

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().


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