SPT Core API

com.sptci.epng.editabletree
Class AddListener

java.lang.Object
  extended by com.sptci.epng.editabletree.AddListener
All Implemented Interfaces:
Serializable, EventListener, ActionListener

public class AddListener
extends Object
implements ActionListener

The action listener used to add a new node under the selected node.

&coopy; Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: AddListener.java 4553 2008-12-24 10:34:16Z rakesh $
Author:
Rakesh Vidyadharan 2007-05-05
See Also:
Serialized Form

Constructor Summary
AddListener()
           
 
Method Summary
 void actionPerformed(ActionEvent event)
          The action listener implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddListener

public AddListener()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
The action listener implementation. Find the parent View of the event.getSource and add a AddComponent to it.

Specified by:
actionPerformed in interface ActionListener

SPT Core API