public class

QueryActionImpl

extends ActionAdapter
implements QueryAction
java.lang.Object
   ↳ javax.swing.AbstractAction
     ↳ org.mbari.awt.event.ActionAdapter
       ↳ vars.query.ui.db.QueryActionImpl

Summary

[Expand]
Inherited Constants
From interface javax.swing.Action
[Expand]
Inherited Fields
From class javax.swing.AbstractAction
Public Constructors
QueryActionImpl(QueryExecutor queryExecutor, KnowledgebaseDAOFactory knowledgebaseDAOFactory)
Constructor for the QueryAction object
QueryActionImpl(QueryExecutor queryExecutor, KnowledgebaseDAOFactory knowledgebaseDAOFactory, boolean showHiearchy, boolean showBasicPhylogeny, boolean showFullPhylogeny)
Constructs ...
Public Methods
synchronized void addExceptionHandler(ExceptionHandler eh)
synchronized void addPropertyChangeListener(PropertyChangeListener listener)
Adds a feature to the PropertyChangeListener attribute of the QueryAction object
synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
void cancel()
void doAction()
Description of the Method
synchronized QueryResults getQueryResults()
String getSQL()
synchronized boolean isFinished()
synchronized void removeExceptionHandler(ExceptionHandler eh)
synchronized void removePropertyChangeListener(PropertyChangeListener listener)
Description of the Method
synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
[Expand]
Inherited Methods
From class org.mbari.awt.event.ActionAdapter
From class javax.swing.AbstractAction
From class java.lang.Object
From interface java.awt.event.ActionListener
From interface javax.swing.Action
From interface org.mbari.awt.event.IAction
From interface vars.query.ui.db.QueryAction

Public Constructors

public QueryActionImpl (QueryExecutor queryExecutor, KnowledgebaseDAOFactory knowledgebaseDAOFactory)

Constructor for the QueryAction object

Parameters
queryExecutor Description of the Parameter

public QueryActionImpl (QueryExecutor queryExecutor, KnowledgebaseDAOFactory knowledgebaseDAOFactory, boolean showHiearchy, boolean showBasicPhylogeny, boolean showFullPhylogeny)

Constructs ...

Public Methods

public synchronized void addExceptionHandler (ExceptionHandler eh)

public synchronized void addPropertyChangeListener (PropertyChangeListener listener)

Adds a feature to the PropertyChangeListener attribute of the QueryAction object

Parameters
listener The feature to be added to the PropertyChangeListener attribute

public synchronized void addPropertyChangeListener (String propertyName, PropertyChangeListener listener)

public void cancel ()

public void doAction ()

Description of the Method

public synchronized QueryResults getQueryResults ()

Returns
  • Returns the queryResults.

public String getSQL ()

public synchronized boolean isFinished ()

Returns
  • Returns the finished.

public synchronized void removeExceptionHandler (ExceptionHandler eh)

public synchronized void removePropertyChangeListener (PropertyChangeListener listener)

Description of the Method

Parameters
listener Description of the Parameter

public synchronized void removePropertyChangeListener (String propertyName, PropertyChangeListener listener)