public class VirtualKeyEvent
extends java.util.EventObject
VirtualKeyboardListener.keyPressed(com.mindfusion.keyboard.VirtualKeyEvent)
event.Constructor and Description |
---|
VirtualKeyEvent(java.lang.Object source,
Key key)
Initializes a new instance of the
VirtualKeyEvent class. |
Modifier and Type | Method and Description |
---|---|
Key |
getKey()
Gets the pressed key.
|
public VirtualKeyEvent(java.lang.Object source, Key key)
VirtualKeyEvent
class.source
- The keyboard component on which the Event occurred.key
- An instance of Key
-derived class.