com.mindtree.techworks.insight.gui.action
Class StopReceiverAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.mindtree.techworks.insight.gui.action.StopReceiverAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class StopReceiverAction
extends javax.swing.AbstractAction

The StopReceiverAction class is an AbstractAction derivative that stops the currently active events receiver

Version:
1.0, 05/07/13
Author:
Regunath B
See Also:
Insight, 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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
StopReceiverAction(Insight insight)
          Constructor for this class
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Overriden super class method.
 Insight getInsight()
           
 
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

StopReceiverAction

public StopReceiverAction(Insight insight)
Constructor for this class

Parameters:
insight - the Insight that created an instance of this class
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Overriden super class method. It stops the tailing receivers if they are listening. The two currently known tail capable receiver actions are LoadLocalFileAction and RemoteProtocolListenerAction (always tailing).

See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)

getInsight

public Insight getInsight()
Returns:
the insight


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.