SPT RWT Application API

com.sptci.rwt.webui
Class SaveConnectionListener

java.lang.Object
  extended by com.sptci.echo2.Listener<MainController>
      extended by com.sptci.rwt.webui.SaveConnectionListener
All Implemented Interfaces:
Serializable, EventListener, ActionListener

public class SaveConnectionListener
extends com.sptci.echo2.Listener<MainController>

Action listener for saving the connection in ConnectionDialogue to the application persistent storage area.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: SaveConnectionListener.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-10-14
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sptci.echo2.Listener
controller, logger
 
Constructor Summary
SaveConnectionListener(MainController controller)
          Create a new instance of the listener using the specified controller.
 
Method Summary
 void actionPerformed(ActionEvent event)
          The action listener implementation.
 
Methods inherited from class com.sptci.echo2.Listener
getApplication, getController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveConnectionListener

public SaveConnectionListener(MainController controller)
Create a new instance of the listener using the specified controller.

Parameters:
controller - The controller to use to interact with the application.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
The action listener implementation. Saves the connection to application persistent storage.

Parameters:
event - The event that triggers the save process.
See Also:
MainController.getParameters(com.sptci.rwt.webui.ConnectionDialogue), Connections.add(java.lang.String, com.sptci.rwt.ConnectionParameters), MainController.resetMenu()

SPT RWT Application API