Class FWKeyStrokeAction

java.lang.Object
javax.swing.AbstractAction
net.simplace.ui.FWKeyStrokeAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public final class FWKeyStrokeAction extends AbstractAction
This class delegates the called action to the given actionlistener.
Author:
Andreas Enders
See Also:
  • Constructor Details

    • FWKeyStrokeAction

      public FWKeyStrokeAction(JFrame aFrame, int aKeyCode, int aModifiers, ActionListener aListener, String aActionCommand)
      Default constructor.
    • FWKeyStrokeAction

      public FWKeyStrokeAction(JDialog aDialog, int aKeyCode, int aModifiers, ActionListener aListener, String aActionCommand)
      Default constructor.
    • FWKeyStrokeAction

      public FWKeyStrokeAction(JComponent aComponent, int aKeyCode, int aModifiers, ActionListener aListener, String aActionCommand)
      Default constructor.
    • FWKeyStrokeAction

      public FWKeyStrokeAction(JComponent aComponent, int aCondition, int aKeyCode, int aModifiers, ActionListener aListener, String aActionCommand)
      Default constructor.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent aActionEvent)
      Delegates the given event to the set listener.
    • uninstall

      public void uninstall()
      Removes the delegate-action.