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

Public Member Functions

def __init__
 
def IsIntermediate
 Checks if data item is intermediate. More...
 
def SetIntermediate
 Set intermediate flag. More...
 
def OnDraw
 
def GetLog
 Get logging info. More...
 
def GetName
 Get list of names. More...
 
def GetPrompt
 Get prompt. More...
 
def SetPrompt
 Set prompt. More...
 
def GetValue
 Get value. More...
 
def SetValue
 Set value. More...
 
def GetPropDialog
 Get properties dialog. More...
 
def SetPropDialog
 Get properties dialog. More...
 
def Update
 Update action. 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

 parent
 
 value
 
 prompt
 
 intermediate
 
 propWin
 
- Data Fields inherited from model.ModelObject
 id
 
 rels
 
 isEnabled
 
 inBlock
 

Detailed Description

Definition at line 1080 of file model.py.

Constructor & Destructor Documentation

def model.ModelData.__init__ (   self,
  parent,
  x,
  y,
  value = '',
  prompt = '',
  width = None,
  height = None 
)
Data item class

@param parent window parent
@param x, y   position of the shape
@param fname, tname list of parameter names from / to
@param value  value
@param prompt type of GIS element
@param width,height dimension of the shape

Definition at line 1081 of file model.py.

Member Function Documentation

def model.ModelData.GetLog (   self,
  string = True 
)
def model.ModelData.GetName (   self)
def model.ModelData.GetPrompt (   self)

Get prompt.

Definition at line 1151 of file model.py.

References model.ModelData.prompt.

def model.ModelData.GetPropDialog (   self)

Get properties dialog.

Definition at line 1184 of file model.py.

References model.ModelAction.propWin, and model.ModelData.propWin.

def model.ModelData.IsIntermediate (   self)

Checks if data item is intermediate.

Definition at line 1114 of file model.py.

References model.ModelData.intermediate.

def model.ModelData.OnDraw (   self,
  dc 
)

Definition at line 1122 of file model.py.

References model.ModelData.intermediate.

def model.ModelData.SetIntermediate (   self,
  im 
)

Set intermediate flag.

Definition at line 1118 of file model.py.

References model.ModelData.intermediate.

def model.ModelData.SetPrompt (   self,
  prompt 
)

Set prompt.

Parameters
prompt

Definition at line 1155 of file model.py.

References model.ModelData.prompt.

def model.ModelData.SetPropDialog (   self,
  win 
)

Field Documentation

model.ModelData.intermediate
model.ModelData.propWin

Definition at line 1097 of file model.py.

Referenced by model.ModelData.GetPropDialog(), and model.ModelData.SetPropDialog().


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