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

Public Member Functions

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.ModelObject

Detailed Description

Definition at line 1323 of file

Constructor & Destructor Documentation

def model.ModelItem.__init__ (   self,
  id = -1,
  width = None,
  height = None,
  text = '',
  items = [] 

Abstract class for loops and conditions.

Definition at line 1324 of file

Member Function Documentation

def model.ModelItem.AddRelation (   self,

Record relation.

Definition at line 1356 of file

def model.ModelItem.Clear (   self)

Clear object, remove rels.

Definition at line 1360 of file

Referenced by colorrules.RulesPanel.OnClearAll().

def model.ModelItem.GetItems (   self)
def model.ModelItem.GetLog (   self)

Get log info.

Definition at line 1349 of file

References model.ModelItem.text.

def model.ModelItem.GetText (   self)

Get loop text.

Definition at line 1331 of file

References model.ModelItem.text.

def model.ModelItem.SetId (   self,

Set loop id.

Definition at line 1339 of file

def model.ModelItem.SetText (   self,

Set loop text (condition)

Definition at line 1343 of file

References,, and model.ModelItem.text.

Field Documentation


Definition at line 1362 of file

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