GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.gmodeler.ModelLoop Class Reference
Inheritance diagram for gui_modules.gmodeler.ModelLoop:
Collaboration diagram for gui_modules.gmodeler.ModelLoop:

Public Member Functions

def __init__
 Defines a loop.
def Enable
 Enable/disable action.
def Update
def GetName
 Get name.
def SetItems
 Set items (id)
- Public Member Functions inherited from gui_modules.gmodeler.ModelItem
def GetText
 Get loop text.
def GetItems
 Get items (id)
def SetId
 Set loop id.
def SetText
 Set loop text (condition)
def GetLog
 Get log info.
def AddRelation
 Record relation.
def Clear
 Clear object, remove rels.
- Public Member Functions inherited from gui_modules.gmodeler.ModelObject
def __init__
def __del__
def GetId
 Get id.
def GetRelations
 Get list of relations.
def IsEnabled
 Get True if action is enabled, otherwise False.
def SetBlock
 Add object to the block (loop/condition)
def UnSetBlock
 Remove object from the block (loop/consition)
def GetBlock
 Get list of related ModelObject(s) which defines block (loop/condition)
def GetBlockId
 Get list of related ids which defines block.

Data Fields

 items
- Data Fields inherited from gui_modules.gmodeler.ModelItem
 parent
 text
 id
 rels
- Data Fields inherited from gui_modules.gmodeler.ModelObject
 isEnabled
 inBlock

Detailed Description

Definition at line 4220 of file gmodeler.py.


Constructor & Destructor Documentation

def gui_modules.gmodeler.ModelLoop.__init__ (   self,
  parent,
  x,
  y,
  id = -1,
  width = None,
  height = None,
  text = '',
  items = [] 
)

Defines a loop.

Reimplemented from gui_modules.gmodeler.ModelItem.

Definition at line 4221 of file gmodeler.py.

References gui_modules.gmodeler.ModelAction._setBrush(), gui_modules.gmodeler.ModelData._setBrush(), gui_modules.gmodeler.ModelLoop._setBrush(), gui_modules.gmodeler.ModelObject.id, gui_modules.gmodeler.ModelObject.isEnabled, gui_modules.colorrules.ColorTable.parent, gui_modules.dbm_dialogs.DisplayAttributesDialog.parent, gui_modules.dbm.Log.parent, gui_modules.dbm.VirtualAttributeList.parent, gui_modules.gcpmapdisp.MapFrame.parent, gui_modules.gcpmanager.GCPWizard.parent, gui_modules.ghelp.MenuTreeWindow.parent, gui_modules.gcpmanager.LocationPage.parent, gui_modules.gcpmanager.GroupPage.parent, gui_modules.ghelp.MenuTree.parent, gui_modules.gdialogs.DecorationDialog.parent, gui_modules.dbm.AttributeManager.parent, gui_modules.gcpmanager.DispMapPage.parent, gui_modules.gmodeler.ModelFrame.parent, gui_modules.gdialogs.TextLayerDialog.parent, gui_modules.colorrules.BufferedWindow.parent, gui_modules.gcpmanager.GCP.parent, gui_modules.ghelp.InstallExtensionWindow.parent, gui_modules.gdialogs.AddMapLayersDialog.parent, gui_modules.ghelp.ExtensionTree.parent, gui_modules.gdialogs.ImportDialog.parent, gui_modules.ghelp.UninstallExtensionWindow.parent, gui_modules.ghelp.CheckListExtension.parent, gui_modules.ghelp.HelpWindow.parent, gui_modules.gdialogs.LayersList.parent, gui_modules.gdialogs.SetOpacityDialog.parent, gui_modules.gmodeler.ModelCanvas.parent, gui_modules.gdialogs.StaticWrapText.parent, gui_modules.gmodeler.ModelAction.parent, gui_modules.gdialogs.ImageSizeDialog.parent, gui_modules.gmodeler.ModelData.parent, gui_modules.gmodeler.ModelDataDialog.parent, gui_modules.dbm.TableListCtrl.parent, gui_modules.dbm.LayerListCtrl.parent, gui_modules.dbm.LayerBook.parent, gui_modules.gcpmanager.GrSettingsDialog.parent, gui_modules.gmodeler.ModelSearchDialog.parent, gui_modules.gmodeler.ModelRelation.parent, gui_modules.gmodeler.ModelRelationDialog.parent, gui_modules.gmodeler.ModelParamDialog.parent, gui_modules.gmodeler.ModelListCtrl.parent, gui_modules.gmodeler.VariablePanel.parent, and gui_modules.gmodeler.ModelItem.parent.


Member Function Documentation

def gui_modules.gmodeler.ModelLoop.Enable (   self,
  enabled = True 
)
def gui_modules.gmodeler.ModelLoop.GetName (   self)

Get name.

Definition at line 4269 of file gmodeler.py.

Referenced by gui_modules.gmodeler.ItemCheckListCtrl.OnCheckItem().


Field Documentation

gui_modules.gmodeler.ModelLoop.items

Reimplemented from gui_modules.gmodeler.ModelItem.

Definition at line 4275 of file gmodeler.py.


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