jmathlib.tools.treeanalyser
Class TreeAnalyser.AddAction

java.lang.Object
  extended by jmathlib.tools.treeanalyser.TreeAnalyser.AddAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
TreeAnalyser

 class TreeAnalyser.AddAction
extends java.lang.Object
implements java.awt.event.ActionListener

AddAction is used to add a new item after the selected item.


Field Summary
 int addCount
          Number of nodes that have been added.
 
Constructor Summary
TreeAnalyser.AddAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Messaged when the user clicks on the Add menu item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addCount

public int addCount
Number of nodes that have been added.

Constructor Detail

TreeAnalyser.AddAction

TreeAnalyser.AddAction()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Messaged when the user clicks on the Add menu item. Determines the selection from the Tree and adds an item after that. If nothing is selected, an item is added to the root.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

FOOTER

BOTTOM