Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jext
Class PythonAction  view PythonAction download PythonAction.java

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
private  java.lang.String script
           
 
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)
          This method is invoked when an action occurs.
 
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
 

Field Detail

script

private java.lang.String script
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.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.