|
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.DeleteSavedQueryListener
public class DeleteSavedQueryListener
The component that is used to delete saved queries.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private String |
category
The category under which the query is saved. |
private String |
name
The name of the saved query. |
| Fields inherited from class com.sptci.echo2.Listener |
|---|
controller, logger |
| Constructor Summary | |
|---|---|
DeleteSavedQueryListener(String category,
String name,
MainController controller)
Create a new instance of the listener using the specified controller. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
The action listener implementation. |
protected void |
delete(Component component)
Delete the saved query and update the ManageSavedQueriesView view component. |
| 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 String category
private final String name
| Constructor Detail |
|---|
public DeleteSavedQueryListener(String category,
String name,
MainController controller)
category - The name of the database type under which the
saved query is organised.name - The name of the saved query.controller - The controller to use to interact with the
application| Method Detail |
|---|
public void actionPerformed(ActionEvent event)
Confirmation dialogue prompting user to confirm
the delete action.
event - The action event that was triggered.protected void delete(Component component)
ManageSavedQueriesView view component.
component - The component that is to be removed from the view.Queries.delete( String, String ),
Queries.delete( String ),
MainController.resetMenu()
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||