GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
model.ModelLoop Class Reference
Inheritance diagram for model.ModelLoop:
Collaboration diagram for model.ModelLoop:

Public Member Functions

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

Data Fields

- Data Fields inherited from model.ModelItem
- Data Fields inherited from model.ModelObject

Detailed Description

Definition at line 1364 of file

Constructor & Destructor Documentation

Member Function Documentation

def model.ModelLoop.Enable (   self,
  enabled = True 

Enable/disable action.

Definition at line 1401 of file

References model.Model.items, and model.ModelItem.items.

def model.ModelLoop.GetName (   self)
def model.ModelLoop.OnDraw (   self,

Draw loop in canvas.

Definition at line 1421 of file

References model.ModelAction._setBrush(), model.ModelData._setBrush(), and model.ModelLoop._setBrush().

Field Documentation


Definition at line 1419 of file

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