Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
FSMInspector Class Reference
Inheritance diagram for FSMInspector:
AppShell DirectObject

Public Member Functions

def __init__ (self, fsm, **kw)
 
def addState (self, state)
 
def appInit (self)
 USER METHODS ### To be overridden. More...
 
def canvas (self)
 
def computeEndpoints (self, fromState, toState)
 
def computePoint (self, radius, angle)
 
def connectStates (self, fromState, toState)
 
def createInterface (self)
 
def createStateInspectors (self)
 
def drawConnections (self, event=None)
 
def enteredState (self, stateName)
 
def exitedState (self, stateName)
 
def findAngle (self, fromPoint, toPoint)
 
def getStateInspector (self, name)
 
def mouse2Down (self, event)
 
def mouse2Motion (self, event)
 
def onDestroy (self, event)
 
def popupGridDialog (self)
 
def printLayout (self)
 
def scrolledCanvas (self)
 
def setFontSize (self, size)
 
def setGridSize (self, size)
 
def setMarkerSize (self, size)
 
def toggleBalloon (self)
 
def toggleGridSnap (self)
 
- Public Member Functions inherited from AppShell
def addVariable (self, category, text, variable)
 
def addWidget (self, category, text, widget)
 WIDGET UTILITY FUNCTIONS ##. More...
 
def alignbuttons (self)
 
def balloon (self)
 
def bind (self, child, balloonHelpMsg, statusHelpMsg=None)
 
def buttonAdd (self, buttonName, helpMessage=None, statusMessage=None, **kw)
 
def buttonBox (self)
 
def createMenuBar (self)
 
def createWidget (self, parent, category, text, widgetClass, help, command, side, fill, expand, kw)
 
def getVariable (self, category, text)
 
def getWidget (self, category, text)
 
def interior (self)
 
def messageBar (self)
 
def newCreateButton (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateCheckbutton (self, parent, category, text, help='', command=None, initialState=0, anchor=W, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateColorEntry (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateComboBox (self, parent, category, text, help='', command=None, items=[], state=DISABLED, history=0, labelpos=W, label_anchor=W, label_width=16, entry_width=16, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateDial (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateEntryScale (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateFloater (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateLabeledEntry (self, parent, category, text, help='', command=None, value='', width=12, relief=SUNKEN, side=LEFT, fill=X, expand=0)
 
def newCreateOptionMenu (self, parent, category, text, help='', command=None, items=[], labelpos=W, label_anchor=W, label_width=16, menu_tearoff=1, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateRadiobutton (self, parent, category, text, variable, value, command=None, help='', anchor=W, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateSider (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateVector2Entry (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def newCreateVector3Entry (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw)
 
def quit (self)
 
def showAbout (self)
 
def transformRGB (self, rgb, max=1.0)
 
def updateProgress (self, newValue=0, newMax=0)
 
- Public Member Functions inherited from DirectObject
def __init__ (self)
 
def accept (self, event, method, extraArgs=[])
 
def acceptOnce (self, event, method, extraArgs=[])
 
def addTask (self, *args, **kwargs)
 
def detectLeaks (self)
 
def doMethodLater (self, *args, **kwargs)
 
def getAllAccepting (self)
 
def ignore (self, event)
 
def ignoreAll (self)
 
def isAccepting (self, event)
 
def isIgnoring (self, event)
 
def removeAllTasks (self)
 
def removeTask (self, taskOrName)
 

Public Attributes

 fsm
 
 name
 
 stateInspectorDict
 
 states
 
- Public Attributes inherited from AppShell
 about
 
 balloonState
 
 dataArea
 
 id
 
 menuBar
 
 menuFrame
 
 parent
 
 toggleBalloonVar
 
 variableDict
 
 widgetDict
 

Static Public Attributes

string appname = 'ClassicFSM Inspector'
 
int frameHeight = 450
 
int frameWidth = 400
 
int usecommandarea = 0
 
int usestatusarea = 0
 
- Static Public Attributes inherited from AppShell
string appname = 'Generic Application Frame'
 
string appversion = '1.0'
 
string balloonState = 'none'
 
string contactemail = 'Mark.Mine@disney.com'
 
string contactname = 'Mark R. Mine'
 
string contactphone = '(818) 544-2921'
 
tuple copyright
 
int frameHeight = 320
 
int frameWidth = 450
 
int padx = 5
 
int pady = 5
 
int panelCount = 0
 
int usecommandarea = 0
 
int usestatusarea = 0
 
- Static Public Attributes inherited from DirectObject
def accept_once = acceptOnce
 
def add_task = addTask
 
def detect_leaks = detectLeaks
 
def do_method_later = doMethodLater
 
def get_all_accepting = getAllAccepting
 
def ignore_all = ignoreAll
 
def is_accepting = isAccepting
 
def is_ignoring = isIgnoring
 
def remove_all_tasks = removeAllTasks
 
def remove_task = removeTask
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  fsm,
**  kw 
)

Reimplemented from AppShell.

Member Function Documentation

◆ addState()

def addState (   self,
  state 
)

◆ appInit()

def appInit (   self)

USER METHODS ### To be overridden.

Reimplemented from AppShell.

◆ canvas()

def canvas (   self)

◆ computeEndpoints()

def computeEndpoints (   self,
  fromState,
  toState 
)

◆ computePoint()

def computePoint (   self,
  radius,
  angle 
)

◆ connectStates()

def connectStates (   self,
  fromState,
  toState 
)

◆ createInterface()

def createInterface (   self)

Reimplemented from AppShell.

◆ createStateInspectors()

def createStateInspectors (   self)

◆ drawConnections()

def drawConnections (   self,
  event = None 
)

◆ enteredState()

def enteredState (   self,
  stateName 
)

◆ exitedState()

def exitedState (   self,
  stateName 
)

◆ findAngle()

def findAngle (   self,
  fromPoint,
  toPoint 
)

◆ getStateInspector()

def getStateInspector (   self,
  name 
)

◆ mouse2Down()

def mouse2Down (   self,
  event 
)

◆ mouse2Motion()

def mouse2Motion (   self,
  event 
)

◆ onDestroy()

def onDestroy (   self,
  event 
)
Called on ClassicFSM Panel shutdown 

Reimplemented from AppShell.

◆ popupGridDialog()

def popupGridDialog (   self)

◆ printLayout()

def printLayout (   self)

◆ scrolledCanvas()

def scrolledCanvas (   self)

◆ setFontSize()

def setFontSize (   self,
  size 
)

◆ setGridSize()

def setGridSize (   self,
  size 
)

◆ setMarkerSize()

def setMarkerSize (   self,
  size 
)

◆ toggleBalloon()

def toggleBalloon (   self)

Reimplemented from AppShell.

◆ toggleGridSnap()

def toggleGridSnap (   self)

Member Data Documentation

◆ appname

string appname = 'ClassicFSM Inspector'
static

◆ frameHeight

int frameHeight = 450
static

◆ frameWidth

int frameWidth = 400
static

◆ fsm

fsm

◆ name

name

◆ stateInspectorDict

stateInspectorDict

◆ states

states

◆ usecommandarea

int usecommandarea = 0
static

◆ usestatusarea

int usestatusarea = 0
static