Methods Summary |
---|
static EventQueue | getEventQueue()Gets event queue.
guaranteeAutomationInitialized();
return eventQueue;
|
static MIDletControllerEventProducer | getMIDletControllerEventProducer()Gets MIDletControllerEventProducer.
guaranteeAutomationInitialized();
return midletControllerEventProducer;
|
static void | guaranteeAutomationInitialized()Guarantees that Automation API is initialized and
permitted to use.
if (!isInitialized) {
throw new IllegalStateException("Automation API not initialized");
}
|
public static void | init(EventQueue theEventQueue, MIDletControllerEventProducer theMidletControllerEventProducer)Initializes Automation API.
if (!isInitialized) {
eventQueue = theEventQueue;
midletControllerEventProducer = theMidletControllerEventProducer;
isInitialized = true;
}
|