nn.pp.rccore

## Interface IKeyboardMacro

- All Known Implementing Classes:
    KeyboardMacro

      public interface IKeyboardMacro

  This represents a Keyboard Macro.

  A KeyboardMacro encapsulates a number of `IKeyboardMacro.IKeyCode` ,containing a number of keyboard events, plus user visible string representations.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `IKeyboardMacro.IKeyCode` This represents a key event.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getCode()` Get a user friendly string representation, e.g.
    `IKeyboardMacro.IKeyCode[]` | `getKeycodes()` Get the key codes of this macro
    `java.lang.String` | `getName()` Get the user friendly name of the keyboard macro, e.g.
    `java.lang.String` | `getNameOrCode()` Get the name of the macro if set, or the code otherwise

- - ### Method Detail

    - #### getName

          java.lang.String getName()

      Get the user friendly name of the keyboard macro, e.g. "Reset the target"
      Returns:
        The user friendly name of the keyboard macro, e.g. "Reset the target"

    - #### getCode

          java.lang.String getCode()

      Get a user friendly string representation, e.g. "Ctrl+Alt+Del"
      Returns:
        A user friendly string representation, e.g. "Ctrl+Alt+Del"

    - #### getNameOrCode

          java.lang.String getNameOrCode()

      Get the name of the macro if set, or the code otherwise
      Returns:
        the name of the macro if set, or the code otherwise

    - #### getKeycodes

          IKeyboardMacro.IKeyCode[] getKeycodes()

      Get the key codes of this macro
      Returns:
        the key codes of this macro

Copyright © 2025 Raritan Inc. All Rights Reserved.