infosapient.ui
Class InfoSapientTreeDisplay.InsertAction

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

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

Field Detail

insertCount

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

InfoSapientTreeDisplay.InsertAction

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

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