getAwtKeyText

fun getAwtKeyText(index: Int): String?

Gets the java.awt.event.KeyEvent key code text at the provided index.

Return

java.awt.event.KeyEvent key code text, or null if the key isn't valid.

Parameters

index

the index of the key code text to obtain.

Throws

if the index is below 0, or >= length.