edu.ucsb.nceas.morpho.query
Class SearchCommand

java.lang.Object
  |
  +--edu.ucsb.nceas.morpho.query.SearchCommand
All Implemented Interfaces:
Command

public class SearchCommand
extends java.lang.Object
implements Command

Class to handle search command


Constructor Summary
SearchCommand(OpenDialogBox myDialogBox, Morpho morpho)
          Constructor of SearcCommand
 
Method Summary
static void doQuery(MorphoFrame resultWindow, Query query)
          Run the search query
 void execute(java.awt.event.ActionEvent event)
          execute cancel command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchCommand

public SearchCommand(OpenDialogBox myDialogBox,
                     Morpho morpho)
Constructor of SearcCommand
Parameters:
myDialogBox - the dialogbox has a search button
morpho - the morpho application which the search command will apply
Method Detail

execute

public void execute(java.awt.event.ActionEvent event)
execute cancel command
Specified by:
execute in interface Command

doQuery

public static void doQuery(MorphoFrame resultWindow,
                           Query query)
Run the search query


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