GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
wizard.ItemList Class Reference

Generic list (for projections, ellipsoids, etc.) More...

Inheritance diagram for wizard.ItemList:
Collaboration diagram for wizard.ItemList:

Public Member Functions

def __init__
 
def Populate
 Populate list. More...
 
def OnColumnClick
 Sort by column. More...
 
def GetSortImages
 Used by the ColumnSorterMixin, see wx/lib/mixins/listctrl.py. More...
 
def OnGetItemText
 Get item text. More...
 
def OnGetItemAttr
 Get item attributes. More...
 
def SortItems
 Sort items. More...
 
def Sorter
 
def GetListCtrl
 Used by listmix.ColumnSorterMixin. More...
 
def Search
 Search projection by description Return first found item or None. More...
 

Data Fields

 sourceData
 
 attr1
 
 attr2
 
 il
 
 sm_up
 
 sm_dn
 
 itemDataMap
 
 itemIndexMap
 

Detailed Description

Generic list (for projections, ellipsoids, etc.)

Definition at line 444 of file wizard.py.

Constructor & Destructor Documentation

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

Definition at line 447 of file wizard.py.

Member Function Documentation

def wizard.ItemList.GetListCtrl (   self)

Used by listmix.ColumnSorterMixin.

Definition at line 604 of file wizard.py.

def wizard.ItemList.GetSortImages (   self)

Used by the ColumnSorterMixin, see wx/lib/mixins/listctrl.py.

Definition at line 555 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 540 of file wizard.py.

References manager.VirtualAttributeList._col, wizard.ItemList._col, and tools.range.

def wizard.ItemList.OnGetItemAttr (   self,
  item 
)
def wizard.ItemList.Populate (   self,
  data = None,
  update = False 
)

Populate list.

Definition at line 506 of file wizard.py.

Referenced by wizard.ItemList.Search().

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

Field Documentation

wizard.ItemList.attr1

Definition at line 469 of file wizard.py.

Referenced by wizard.ItemList.OnGetItemAttr().

wizard.ItemList.attr2

Definition at line 471 of file wizard.py.

Referenced by wizard.ItemList.OnGetItemAttr().

wizard.ItemList.il

Definition at line 488 of file wizard.py.

wizard.ItemList.itemIndexMap
wizard.ItemList.sm_dn

Definition at line 491 of file wizard.py.

Referenced by wizard.ItemList.GetSortImages().

wizard.ItemList.sm_up

Definition at line 489 of file wizard.py.

Referenced by wizard.ItemList.GetSortImages().

wizard.ItemList.sourceData

Definition at line 457 of file wizard.py.

Referenced by wizard.ItemList.Search().


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