edu.ucsb.nceas.morpho.query
Class RunSavedQueryCommand

java.lang.Object
  extended byedu.ucsb.nceas.morpho.query.RunSavedQueryCommand
All Implemented Interfaces:
Command

public class RunSavedQueryCommand
extends java.lang.Object
implements Command

Class to handle click a saved query menu item


Constructor Summary
RunSavedQueryCommand(Query myQuery)
          Constructor of SearcCommand
 
Method Summary
 void execute(java.awt.event.ActionEvent event)
          execute cancel command
 Query getQuery()
          Get query from the object
 void setQuery(Query myQuery)
          Set query to this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunSavedQueryCommand

public RunSavedQueryCommand(Query myQuery)
Constructor of SearcCommand

Parameters:
myQuery - the query stored in this save query menu item
Method Detail

setQuery

public void setQuery(Query myQuery)
Set query to this object

Parameters:
myQuery - the new query for the RunSaveQueryCommand

getQuery

public Query getQuery()
Get query from the object


execute

public void execute(java.awt.event.ActionEvent event)
execute cancel command

Specified by:
execute in interface Command


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.