|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo2.Listener<MainController>
com.sptci.rwt.webui.SavedConnectionListener
public class SavedConnectionListener
Action listener for launching a ConnectionDialogue initialised
with the the parameters in a saved connection.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private DatabaseType |
databaseType
The type of database to connect to. |
private String |
name
The name of the saved connection. |
| Fields inherited from class com.sptci.echo2.Listener |
|---|
controller, logger |
| Constructor Summary | |
|---|---|
SavedConnectionListener(DatabaseType databaseType,
String name,
MainController controller)
Create a new instance of the listener using the specified query and controller. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
The action listener implementation. |
private ConnectionDialogue |
createDialogue()
Create the ConnectionDialogue and initialise its components
with the values in the saved connection. |
| 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 |
| Field Detail |
|---|
private final DatabaseType databaseType
private final String name
| Constructor Detail |
|---|
public SavedConnectionListener(DatabaseType databaseType,
String name,
MainController controller)
databaseType - The databaseType value to use.controller - The controller to use to interact with the
application.| Method Detail |
|---|
public void actionPerformed(ActionEvent event)
event - The event that triggers the export process.createDialogue()private ConnectionDialogue createDialogue()
ConnectionDialogue and initialise its components
with the values in the saved connection.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||