com.levigo.util.swing
Class ActionInterceptor

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.levigo.util.swing.ActionInterceptor
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public abstract class ActionInterceptor
extends AbstractAction

An abstract class used to wrap and intercept actions.

Author:
hennejg
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
ActionInterceptor(String name, Action next)
          Create an action interceptor overriding the given action, using the given name.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
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

ActionInterceptor

public ActionInterceptor(String name,
                         Action next)
Create an action interceptor overriding the given action, using the given name.

Parameters:
name -
next -
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.