org.jext
Class PythonAction
java.lang.Object
org.jext.MenuAction
org.jext.PythonAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
- Direct Known Subclasses:
- PythonEditAction
- public class PythonAction
- extends MenuAction
This class implements an ActionListener
and
handles action events fired by .
The action is performed by executing a Python script.
Constructor Summary |
PythonAction(java.lang.String name,
java.lang.String script)
Creates a new menu action designed by its name and
the pyhon execution script. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PythonAction
public PythonAction(java.lang.String name,
java.lang.String script)
- Creates a new menu action designed by its name and
the pyhon execution script.
- Parameters:
name
- Internal action namescript
- Python script
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
Copyright ? 2002 Romain Guy.