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

Public Member Functions

def __init__
def GetName
 Get name.
def GetWidth
 Get object width.
def GetHeight
 Get object height.
def SetItems
 Set items (id)
- Public Member Functions inherited from gui_modules.gmodeler.ModelItem
def __init__
 Abstract class for loops and conditions.
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 Enable
 Enable/disable action.
def Update
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

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

Detailed Description

Definition at line 4589 of file gmodeler.py.

Constructor & Destructor Documentation

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

Definition at line 4591 of file gmodeler.py.

Member Function Documentation

def gui_modules.gmodeler.ModelCondition.GetHeight (   self)
def gui_modules.gmodeler.ModelCondition.GetName (   self)

Get name.

Definition at line 4622 of file gmodeler.py.

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

def gui_modules.gmodeler.ModelCondition.GetWidth (   self)

Field Documentation


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