jmathlib.tools.treeanalyser
Class TreeAnalyser.InsertAction

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

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

InsertAction is used to insert a new item before the selected item.


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

Field Detail

insertCount

public int insertCount
Number of nodes that have been added.

Constructor Detail

TreeAnalyser.InsertAction

TreeAnalyser.InsertAction()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Messaged when the user clicks on the Insert menu item. Determines the selection from the Tree and inserts 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