com.alee.managers.hotkey
Interface HotkeyRunnable
- All Superinterfaces:
- KeyEventRunnable
- All Known Implementing Classes:
- ButtonHotkeyRunnable
public interface HotkeyRunnable
- extends KeyEventRunnable
This interface allows you to create action for hotkey events which can be used together with HotkeyManager methods.
Unlike Runnable this interface provides KeyEvent as action source.
- Author:
- Mikle Garin
Field Summary |
static HotkeyRunnable |
NONE
Simple runnable that doesn't perform any actions. |
Method Summary |
void |
run(java.awt.event.KeyEvent e)
Performs hotkey action. |
NONE
static final HotkeyRunnable NONE
- Simple runnable that doesn't perform any actions.
run
void run(java.awt.event.KeyEvent e)
- Performs hotkey action.
- Specified by:
run
in interface KeyEventRunnable
- Parameters:
e
- occured key event