com.borland.primetime.editor
Class SearchManager.StopSearchAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.borland.primetime.actions.UpdateAction
              |
              +--com.borland.primetime.editor.SearchManager.StopSearchAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable, UpdateableAction
Enclosing class:
SearchManager

public static class SearchManager.StopSearchAction
extends UpdateAction

This class implements the action that will stop all searches.

See Also:
Serialized Form

Fields inherited from class com.borland.primetime.actions.UpdateAction
ACCELERATOR, ALT_SHORT_DESCRIPTION, disabledReason, EMPTY_ARRAY, ENTERPRISE, FOUNDATION, HELP_TOPIC, LARGE_ICON, MNEMONIC, PROFESSIONAL
 
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
SearchManager.StopSearchAction()
          Create a new action that will stop all searches.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Stop those searches right now.
 void update(java.lang.Object source)
          Called when the menu is about to be displayed.
 
Methods inherited from class com.borland.primetime.actions.UpdateAction
getAltShortText, getDisabledReason, getHelpTopic, getLargeIcon, getLongText, getMnemonic, getShortText, getSmallIcon, getVersion, setAltShortText, setConfigured, setDisabledReason, setHelpTopic, setLargeIcon, setLongText, setMnemonic, setShortText, setSmallIcon
 
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
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Constructor Detail

SearchManager.StopSearchAction

public SearchManager.StopSearchAction()
Create a new action that will stop all searches.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Stop those searches right now.
Overrides:
actionPerformed in class javax.swing.AbstractAction
Parameters:
e - The event that triggered this action.

update

public void update(java.lang.Object source)
Called when the menu is about to be displayed. We only enable this menu entry when we are actually searching.
Overrides:
update in class UpdateAction
Parameters:
source - The source that is interested in displaying the menu.