Package net.simplace.ui
Klasse FWKeyStrokeAction
java.lang.Object
javax.swing.AbstractAction
net.simplace.ui.FWKeyStrokeAction
- Alle implementierten Schnittstellen:
ActionListener,Serializable,Cloneable,EventListener,Action
This class delegates the called action to the given actionlistener.
- Autor:
- Andreas Enders
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder javax.swing.AbstractAction
changeSupport, enabledVon Schnittstelle geerbte Felder 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 -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungFWKeyStrokeAction(JComponent aComponent, int aCondition, int aKeyCode, int aModifiers, ActionListener aListener, String aActionCommand) Default constructor.FWKeyStrokeAction(JComponent aComponent, int aKeyCode, int aModifiers, ActionListener aListener, String aActionCommand) Default constructor.FWKeyStrokeAction(JDialog aDialog, int aKeyCode, int aModifiers, ActionListener aListener, String aActionCommand) Default constructor.FWKeyStrokeAction(JFrame aFrame, int aKeyCode, int aModifiers, ActionListener aListener, String aActionCommand) Default constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidactionPerformed(ActionEvent aActionEvent) Delegates the given event to the set listener.voidRemoves the delegate-action.Von Klasse geerbte Methoden javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Konstruktordetails
-
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.
-
-
Methodendetails
-
actionPerformed
Delegates the given event to the set listener. -
uninstall
public void uninstall()Removes the delegate-action.
-