Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.hid
Class NativeKeyboard

java.lang.Object
  extended by net.java.sip.communicator.impl.hid.NativeKeyboard

public class NativeKeyboard
extends Object

Class used to interact with native keyboard.

Author:
Sebastien Vincent

Constructor Summary
NativeKeyboard()
           
 
Method Summary
 void keyPress(char key)
          Simulate a key press.
 void keyRelease(char key)
          Simulate a key release.
 void symbolPress(String symbol)
          Simulate a symbol key press.
 void symbolRelease(String symbol)
          Simulate a symbol key release.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeKeyboard

public NativeKeyboard()
Method Detail

keyPress

public void keyPress(char key)
Simulate a key press.

Parameters:
key - ascii representation of the key

keyRelease

public void keyRelease(char key)
Simulate a key release.

Parameters:
key - ascii representation of the key

symbolPress

public void symbolPress(String symbol)
Simulate a symbol key press.

Parameters:
symbol - symbol name

symbolRelease

public void symbolRelease(String symbol)
Simulate a symbol key release.

Parameters:
symbol - symbol name

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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