com.alee.managers.hotkey
Interface HotkeyRunnable

All Known Implementing Classes:
ButtonHotkeyRunnable

public interface HotkeyRunnable

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.
 

Field Detail

NONE

static final HotkeyRunnable NONE
Simple runnable that doesn't perform any actions.

Method Detail

run

void run(java.awt.event.KeyEvent e)
Performs hotkey action.

Parameters:
e - occured key event