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

Quick Search    Search Deep

org.jext
Class OneClickAction  view OneClickAction download OneClickAction.java

java.lang.Object
  extended byorg.jext.MenuAction
      extended byorg.jext.OneClickAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class OneClickAction
extends MenuAction

This class handle One Click! actions. Such an action is performed on each mouse click within text area. There are two ways to create an One Click! action: hard coding the action or calling an existing action.


Field Summary
private  MenuAction action
           
 
Fields inherited from class org.jext.MenuAction
name
 
Constructor Summary
OneClickAction(java.lang.String name)
           
OneClickAction(java.lang.String name, java.lang.String action)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          This method is invoked when an action occurs.
protected  void finalize()
          Patch -> Memory management improvements : it may help the garbage collector.
 void oneClickActionPerformed(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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

private MenuAction action
Constructor Detail

OneClickAction

public OneClickAction(java.lang.String name)

OneClickAction

public OneClickAction(java.lang.String name,
                      java.lang.String action)
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.


oneClickActionPerformed

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

finalize

protected void finalize()
                 throws java.lang.Throwable
Patch -> Memory management improvements : it may help the garbage collector. -> Author : Julien Ponge (julien@izforge.com) -> Date : 23, May 2001