com.eviware.soapui.support.action.swing
Class SwingMultiActionDelegate

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.eviware.soapui.support.action.swing.SwingMultiActionDelegate
All Implemented Interfaces:
SoapUIActionMarker, java.awt.event.ActionListener, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class SwingMultiActionDelegate
extends javax.swing.AbstractAction
implements java.beans.PropertyChangeListener, SoapUIActionMarker

Delegates a SwingAction to a SoapUIActionMapping containgin a SoapUIMultiAction

Author:
ole.matzura
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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
SwingMultiActionDelegate(SoapUIActionMapping<?> mapping, ModelItem[] targets)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 SoapUIActionMapping<?> getMapping()
           
 SoapUIAction<?> getSoapUIAction()
           
 ModelItem[] getTargets()
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 
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

SwingMultiActionDelegate

public SwingMultiActionDelegate(SoapUIActionMapping<?> mapping,
                                ModelItem[] targets)
Method Detail

getMapping

public SoapUIActionMapping<?> getMapping()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

getTargets

public ModelItem[] getTargets()

getSoapUIAction

public SoapUIAction<?> getSoapUIAction()
Specified by:
getSoapUIAction in interface SoapUIActionMarker


Copyright © 2005-2010 eviware.com. All Rights Reserved.