com.hp.lft.sdk

Class Keyboard



  • public class Keyboard
    extends java.lang.Object
    A class that enables low-level keyboard operations.
    When working in a grid configuration, use DesktopEnvironment.getKeyboard to get the KeyboardDevice object, which enables keyboard operations on a specific environment or grid node.
    • Nested Class Summary

      Modifier and Type Class and Description
      static class  Keyboard.Keys 
    • Constructor Summary

      Constructor and Description
      Keyboard() 
    • Method Summary

      Modifier and Type Method and Description
      static void keyDown(byte keyScanCode)
      Deprecated. 
      use keyDown(Keys) instead.
      static void keyDown(Keyboard.Keys key)
      Presses and holds the specified key using a keyboard virtual key.
      static void keyUp(byte keyScanCode)
      Deprecated. 
      use keyUp(Keys) instead.
      static void keyUp(Keyboard.Keys key)
      Releases the specified key based on its keyboard virtual key.
      static void pressKey(byte keyScanCode)
      Deprecated. 
      use pressKey(Keys) instead.
      static void pressKey(Keyboard.Keys key)
      Presses the specified key using a keyboard virtual key.
      static void sendString(java.lang.String stringToSend)
      Types the specified string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait