org.jext
Class PythonAction

java.lang.Object
  extended byorg.jext.MenuAction
      extended byorg.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.


Field Summary
 
Fields inherited from class org.jext.MenuAction
name
 
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.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 
Methods inherited from class org.jext.MenuAction
getJextParent, getJextParent, getName, getNSTextArea, getNSTextArea, getTextArea, getTextArea
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 name
script - Python script
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)


Copyright ? 2002 Romain Guy.