Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
FSMInspector Class Reference
Inheritance diagram for FSMInspector:
AppShell DirectObject

Public Member Functions

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

Public Attributes

 drawConnections
 
 fsm
 
 mouse2Down
 
 mouse2Motion
 
 name
 
 stateInspectorDict
 
 states
 
- Public Attributes inherited from AppShell
 about
 
 appname
 
 appversion
 
 balloonState
 
 contactemail
 
 contactname
 
 contactphone
 
 copyright
 
 dataArea
 
 frameHeight
 
 frameWidth
 
 id
 
 menuBar
 
 menuFrame
 
 parent
 
 toggleBalloonVar
 
 usecommandarea
 
 usestatusarea
 
 variableDict
 
 widgetDict
 

Static Public Attributes

str appname = 'ClassicFSM Inspector'
 
int frameHeight = 450
 
int frameWidth = 400
 
int usecommandarea = 0
 
int usestatusarea = 0
 
- Static Public Attributes inherited from AppShell
str appname = 'Generic Application Frame'
 
str appversion = '1.0'
 
str balloonState = 'none'
 
str contactemail = 'Mark.Mine@disney.com'
 
str contactname = 'Mark R. Mine'
 
str 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
 accept_once = acceptOnce
 
 add_task = addTask
 
 detect_leaks = detectLeaks
 
 do_method_later = doMethodLater
 
 get_all_accepting = getAllAccepting
 
 ignore_all = ignoreAll
 
 is_accepting = isAccepting
 
 is_ignoring = isIgnoring
 
 remove_all_tasks = removeAllTasks
 
 remove_task = removeTask
 

Protected Member Functions

 _setGridSize (self)
 
- Protected Member Functions inherited from DirectObject
 _addTask (self, task)
 
 _clearTask (self, task)
 

Protected Attributes

 _2lx
 
 _2ly
 
 _canvas
 
 _dxview
 
 _dyview
 
 _fGridSnap
 
 _gridSize
 
 _height
 
 _left
 
 _scrolledCanvas
 
 _setGridSize
 
 _top
 
 _width
 
- Protected Attributes inherited from AppShell
 _hull
 
- Protected Attributes inherited from DirectObject
 _taskList
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
fsm,
** kw )

Reimplemented from AppShell.

Member Function Documentation

◆ _setGridSize()

_setGridSize ( self)
protected

◆ addState()

addState ( self,
state )

◆ appInit()

appInit ( self)

USER METHODS ### To be overridden.

Reimplemented from AppShell.

◆ canvas()

canvas ( self)

◆ computeEndpoints()

computeEndpoints ( self,
fromState,
toState )

◆ computePoint()

computePoint ( self,
radius,
angle )

◆ connectStates()

connectStates ( self,
fromState,
toState )

◆ createInterface()

createInterface ( self)

Reimplemented from AppShell.

◆ createStateInspectors()

createStateInspectors ( self)

◆ drawConnections()

drawConnections ( self,
event = None )

◆ enteredState()

enteredState ( self,
stateName )

◆ exitedState()

exitedState ( self,
stateName )

◆ findAngle()

findAngle ( self,
fromPoint,
toPoint )

◆ getStateInspector()

getStateInspector ( self,
name )

◆ mouse2Down()

mouse2Down ( self,
event )

◆ mouse2Motion()

mouse2Motion ( self,
event )

◆ onDestroy()

onDestroy ( self,
event )
 Called on ClassicFSM Panel shutdown 

Reimplemented from AppShell.

◆ popupGridDialog()

popupGridDialog ( self)

◆ printLayout()

printLayout ( self)

◆ scrolledCanvas()

scrolledCanvas ( self)

◆ setFontSize()

setFontSize ( self,
size )

◆ setGridSize()

setGridSize ( self,
size )

◆ setMarkerSize()

setMarkerSize ( self,
size )

◆ toggleBalloon()

toggleBalloon ( self)

Reimplemented from AppShell.

◆ toggleGridSnap()

toggleGridSnap ( self)

Member Data Documentation

◆ _2lx

_2lx
protected

◆ _2ly

_2ly
protected

◆ _canvas

_canvas
protected

◆ _dxview

_dxview
protected

◆ _dyview

_dyview
protected

◆ _fGridSnap

_fGridSnap
protected

◆ _gridSize

_gridSize
protected

◆ _height

_height
protected

◆ _left

_left
protected

◆ _scrolledCanvas

_scrolledCanvas
protected

◆ _setGridSize

_setGridSize
protected

◆ _top

_top
protected

◆ _width

_width
protected

◆ appname

str appname = 'ClassicFSM Inspector'
static

◆ drawConnections

drawConnections

◆ frameHeight

int frameHeight = 450
static

◆ frameWidth

int frameWidth = 400
static

◆ fsm

fsm

◆ mouse2Down

mouse2Down

◆ mouse2Motion

mouse2Motion

◆ name

name

◆ stateInspectorDict

stateInspectorDict

◆ states

states

◆ usecommandarea

int usecommandarea = 0
static

◆ usestatusarea

int usestatusarea = 0
static