infosapient.ui
Class InfoSapientTreeDisplay.AddAction

java.lang.Object
  |
  +--infosapient.ui.InfoSapientTreeDisplay.AddAction
Enclosing class:
InfoSapientTreeDisplay

class InfoSapientTreeDisplay.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
(package private) InfoSapientTreeDisplay.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, registerNatives, toString, wait, wait, wait
 

Field Detail

addCount

public int addCount
Number of nodes that have been added.
Constructor Detail

InfoSapientTreeDisplay.AddAction

InfoSapientTreeDisplay.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

License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved