org.virtualbox_4_1
Class IKeyboard
java.lang.Object
org.virtualbox_4_1.IUnknown
org.virtualbox_4_1.IKeyboard
public class IKeyboard
- extends IUnknown
The IKeyboard interface represents the virtual machine's keyboard. Used
in IConsole.getKeyboard()
.
Use this interface to send keystrokes or the Ctrl-Alt-Del sequence
to the virtual machine.
Interface ID: {F6916EC5-A881-4237-898F-7DE58CF88672}
Constructor Summary |
IKeyboard(java.lang.String wrapped,
org.virtualbox_4_1.jaxws.VboxPortType port)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IKeyboard
public IKeyboard(java.lang.String wrapped,
org.virtualbox_4_1.jaxws.VboxPortType port)
getEventSource
public IEventSource getEventSource()
- Event source for keyboard events.
- Returns:
- org.virtualbox_4_1.IEventSource
queryInterface
public static IKeyboard queryInterface(IUnknown obj)
putScancode
public void putScancode(java.lang.Integer scancode)
- Sends a scancode to the keyboard.
Expected result codes:
@link ::VBOX_E_IPRT_ERROR VBOX_E_IPRT_ERROR |
Could not send scan code to virtual keyboard.
|
putScancodes
public java.lang.Long putScancodes(java.util.List<java.lang.Integer> scancodes)
- Sends an array of scancodes to the keyboard.
Expected result codes:
@link ::VBOX_E_IPRT_ERROR VBOX_E_IPRT_ERROR |
Could not send all scan codes to virtual keyboard.
|
putCAD
public void putCAD()
- Sends the Ctrl-Alt-Del sequence to the keyboard. This
function is nothing special, it is just a convenience function
calling
putScancodes(List)
with the proper scancodes.
Expected result codes:
@link ::VBOX_E_IPRT_ERROR VBOX_E_IPRT_ERROR |
Could not send all scan codes to virtual keyboard.
|