public class Event
extends java.lang.Object
Input
to channel events to the user program.Modifier and Type | Field and Description |
---|---|
java.lang.String |
data
The data of this event, for example 5,11 , or g.
|
java.lang.String |
name
The name of the event, for example click, or letter.
|
Constructor and Description |
---|
Event(java.lang.String name,
java.lang.String data)
Creates a new Event object.
|