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

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

Detailed Description

Definition at line 1364 of file model.py.

Constructor & Destructor Documentation

Member Function Documentation

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

Enable/disable action.

Definition at line 1401 of file model.py.

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

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

Draw loop in canvas.

Definition at line 1421 of file model.py.

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

Field Documentation

model.ModelLoop.items

Definition at line 1419 of file model.py.


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