com.bluemarsh.jswat.action
Class FindAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.bluemarsh.jswat.action.JSwatAction
              |
              +--com.bluemarsh.jswat.action.FindAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
FindAgainAction

public class FindAction
extends JSwatAction

Implements the find action used to search for text within a source view.

Author:
Nathan Fiedler
See Also:
Serialized Form

Fields inherited from class com.bluemarsh.jswat.action.JSwatAction
swat
 
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
FindAction()
          Creates a new FindAction object with the default action command string of "find".
FindAction(java.lang.String command)
          Creates a new FindAction object with the given action command.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          Performs the find action.
 
Methods inherited from class com.bluemarsh.jswat.action.JSwatAction
displayError, getFrame, getSession
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindAction

public FindAction()
Creates a new FindAction object with the default action command string of "find".

FindAction

public FindAction(java.lang.String command)
Creates a new FindAction object with the given action command.
Parameters:
command - action command string.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Performs the find action.
Overrides:
actionPerformed in class javax.swing.AbstractAction
Parameters:
event - action event