jsky.catalog.gui
Class CatalogQueryItem

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jsky.catalog.gui.CatalogQueryItem
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class CatalogQueryItem
extends javax.swing.AbstractAction
implements java.io.Serializable

Local class used to store information about a query and its results, so that it can be repeated at a later time.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
CatalogQueryItem(java.lang.String name, java.lang.Object queryInfo, java.lang.Object resultInfo)
          Create a catalog query item with the given name.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          Display the catalog
 java.lang.String getName()
          Return the name for the query settings.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogQueryItem

public CatalogQueryItem(java.lang.String name,
                        java.lang.Object queryInfo,
                        java.lang.Object resultInfo)
Create a catalog query item with the given name.

Parameters:
name - store the query under this name
queryInfo - a serializeable object describing the query
resultInfo - a serializeable object describing the result display settings
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Display the catalog

Specified by:
actionPerformed in interface java.awt.event.ActionListener

getName

public java.lang.String getName()
Return the name for the query settings.