Public Member Functions | Public Attributes | List of all members
src.visualstates.core.state.State Class Reference

Public Member Functions

def __init__ (self, id, name, initial, namespace, parent=None)
 
def addChild (self, child)
 
def addDestTransition (self, tran)
 
def addOriginTransition (self, tran)
 
def createElement (self, doc, parentElement=None)
 
def getChildren (self)
 
def getChildrenTransitions (self)
 
def getCode (self)
 
def getDestTransitions (self)
 
def getGraphicsItem (self)
 
def getID (self)
 
def getInitialChild (self)
 
def getName (self)
 
def getNamespace (self)
 
def getNewCopy (self)
 
def getOriginTransitions (self)
 
def getParent (self)
 
def getParentNamespace (self)
 
def getRunning (self)
 
def getTimeStep (self)
 
def parse (self, stateElement)
 
def parseElement (self, elementName, parentElement)
 
def posChanged (self, stateItem)
 
def removeChild (self, child)
 
def removeDestTransition (self, tran)
 
def removeOriginTransition (self, tran)
 
def resetGraphicsItem (self)
 
def setCode (self, code)
 
def setID (self, id)
 
def setInitial (self, initial)
 
def setName (self, _name)
 
def setNamespace (self, namespace)
 
def setParent (self, parent)
 
def setPos (self, x, y)
 
def setRunning (self, status)
 
def setTimeStep (self, timestep)
 

Public Attributes

 children
 
 code
 
 destTransitions
 
 graphicsItem
 
 id
 
 initial
 
 isRunning
 
 name
 
 namespace
 
 originTransitions
 
 parent
 
 timeStepDuration
 
 x
 
 y
 

Detailed Description

Definition at line 26 of file core/state.py.

Constructor & Destructor Documentation

def src.visualstates.core.state.State.__init__ (   self,
  id,
  name,
  initial,
  namespace,
  parent = None 
)

Definition at line 27 of file core/state.py.

Member Function Documentation

def src.visualstates.core.state.State.addChild (   self,
  child 
)

Definition at line 76 of file core/state.py.

def src.visualstates.core.state.State.addDestTransition (   self,
  tran 
)

Definition at line 101 of file core/state.py.

def src.visualstates.core.state.State.addOriginTransition (   self,
  tran 
)

Definition at line 90 of file core/state.py.

def src.visualstates.core.state.State.createElement (   self,
  doc,
  parentElement = None 
)

Definition at line 184 of file core/state.py.

def src.visualstates.core.state.State.getChildren (   self)

Definition at line 84 of file core/state.py.

def src.visualstates.core.state.State.getChildrenTransitions (   self)

Definition at line 240 of file core/state.py.

def src.visualstates.core.state.State.getCode (   self)

Definition at line 219 of file core/state.py.

def src.visualstates.core.state.State.getDestTransitions (   self)

Definition at line 98 of file core/state.py.

def src.visualstates.core.state.State.getGraphicsItem (   self)

Definition at line 109 of file core/state.py.

def src.visualstates.core.state.State.getID (   self)

Definition at line 60 of file core/state.py.

def src.visualstates.core.state.State.getInitialChild (   self)

Definition at line 231 of file core/state.py.

def src.visualstates.core.state.State.getName (   self)

Definition at line 63 of file core/state.py.

def src.visualstates.core.state.State.getNamespace (   self)

Definition at line 54 of file core/state.py.

def src.visualstates.core.state.State.getNewCopy (   self)

Definition at line 125 of file core/state.py.

def src.visualstates.core.state.State.getOriginTransitions (   self)

Definition at line 87 of file core/state.py.

def src.visualstates.core.state.State.getParent (   self)

Definition at line 73 of file core/state.py.

def src.visualstates.core.state.State.getParentNamespace (   self)

Definition at line 57 of file core/state.py.

def src.visualstates.core.state.State.getRunning (   self)

Definition at line 255 of file core/state.py.

def src.visualstates.core.state.State.getTimeStep (   self)

Definition at line 225 of file core/state.py.

def src.visualstates.core.state.State.parse (   self,
  stateElement 
)

Definition at line 139 of file core/state.py.

def src.visualstates.core.state.State.parseElement (   self,
  elementName,
  parentElement 
)

Definition at line 132 of file core/state.py.

def src.visualstates.core.state.State.posChanged (   self,
  stateItem 
)

Definition at line 119 of file core/state.py.

def src.visualstates.core.state.State.removeChild (   self,
  child 
)

Definition at line 80 of file core/state.py.

def src.visualstates.core.state.State.removeDestTransition (   self,
  tran 
)

Definition at line 105 of file core/state.py.

def src.visualstates.core.state.State.removeOriginTransition (   self,
  tran 
)

Definition at line 94 of file core/state.py.

def src.visualstates.core.state.State.resetGraphicsItem (   self)

Definition at line 116 of file core/state.py.

def src.visualstates.core.state.State.setCode (   self,
  code 
)

Definition at line 222 of file core/state.py.

def src.visualstates.core.state.State.setID (   self,
  id 
)

Definition at line 45 of file core/state.py.

def src.visualstates.core.state.State.setInitial (   self,
  initial 
)

Definition at line 237 of file core/state.py.

def src.visualstates.core.state.State.setName (   self,
  _name 
)

Definition at line 48 of file core/state.py.

def src.visualstates.core.state.State.setNamespace (   self,
  namespace 
)

Definition at line 51 of file core/state.py.

def src.visualstates.core.state.State.setParent (   self,
  parent 
)

Definition at line 70 of file core/state.py.

def src.visualstates.core.state.State.setPos (   self,
  x,
  y 
)

Definition at line 66 of file core/state.py.

def src.visualstates.core.state.State.setRunning (   self,
  status 
)

Definition at line 246 of file core/state.py.

def src.visualstates.core.state.State.setTimeStep (   self,
  timestep 
)

Definition at line 228 of file core/state.py.

Member Data Documentation

src.visualstates.core.state.State.children

Definition at line 36 of file core/state.py.

src.visualstates.core.state.State.code

Definition at line 31 of file core/state.py.

src.visualstates.core.state.State.destTransitions

Definition at line 38 of file core/state.py.

src.visualstates.core.state.State.graphicsItem

Definition at line 42 of file core/state.py.

src.visualstates.core.state.State.id

Definition at line 29 of file core/state.py.

src.visualstates.core.state.State.initial

Definition at line 35 of file core/state.py.

src.visualstates.core.state.State.isRunning

Definition at line 43 of file core/state.py.

src.visualstates.core.state.State.name

Definition at line 30 of file core/state.py.

src.visualstates.core.state.State.namespace

Definition at line 40 of file core/state.py.

src.visualstates.core.state.State.originTransitions

Definition at line 37 of file core/state.py.

src.visualstates.core.state.State.parent

Definition at line 28 of file core/state.py.

src.visualstates.core.state.State.timeStepDuration

Definition at line 32 of file core/state.py.

src.visualstates.core.state.State.x

Definition at line 33 of file core/state.py.

src.visualstates.core.state.State.y

Definition at line 34 of file core/state.py.


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


visualstates
Author(s):
autogenerated on Thu Apr 1 2021 02:42:20