public class DesktopEventGenerator extends EventGenerator
event dispatcher of the desktop in order to send
 additional events to the widgets.| Modifier and Type | Field and Description | 
|---|---|
static int | 
EVENT_TYPE
The DESKTOP event type. 
 | 
| Constructor and Description | 
|---|
DesktopEventGenerator()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
buildEvent(int action)
Builds an event for the given action. 
 | 
static int | 
getAction(int event)
Returns the action held by the given desktop event. 
 | 
int | 
getEventType()
Gets the event type associated with the event generator 
 | 
void | 
send(int action)
Sends a desktop event for the given action to the event handler of this event generator. 
 | 
addToSystemPool, get, get, get, getEventHandler, getId, removeFromSystemPool, sendEvent, setEventHandlerpublic static final int EVENT_TYPE
public int buildEvent(int action)
action - the event action.public static int getAction(int event)
event - the desktop event.public int getEventType()
EventGeneratorgetEventType in class EventGeneratorpublic void send(int action)
This method is useful when other input mechanisms wish to simulate button actions.
action - the event action.