Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.globalshortcut
Interface NativeKeyboardHookDelegate

All Known Implementing Classes:
GlobalShortcutServiceImpl

public interface NativeKeyboardHookDelegate

NativeKeyboardHookDelegate interface.

Author:
Sebastien Vincent

Field Summary
static int MODIFIERS_ALT
          ALT modifier.
static int MODIFIERS_CTRL
          CTRL modifier.
static int MODIFIERS_LOGO
          Logo modifier (i.e.
static int MODIFIERS_SHIFT
          SHIFT modifier.
 
Method Summary
 void receiveKey(int keycode, int modifiers)
          Receive a key press event.
 

Field Detail

MODIFIERS_CTRL

static final int MODIFIERS_CTRL
CTRL modifier.

See Also:
Constant Field Values

MODIFIERS_ALT

static final int MODIFIERS_ALT
ALT modifier.

See Also:
Constant Field Values

MODIFIERS_SHIFT

static final int MODIFIERS_SHIFT
SHIFT modifier.

See Also:
Constant Field Values

MODIFIERS_LOGO

static final int MODIFIERS_LOGO
Logo modifier (i.e. CMD/Apple key on Mac OS X, Windows key on MS Windows).

See Also:
Constant Field Values
Method Detail

receiveKey

void receiveKey(int keycode,
                int modifiers)
Receive a key press event.

Parameters:
keycode - keycode received
modifiers - modifiers received (ALT or CTRL + letter, ...)

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.