public abstract class GenericEventGenerator extends EventGenerator
Generic communication to receive events.
Constructor and Description |
---|
GenericEventGenerator() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
eventReceived(int event)
Called by MicroUI framework when a custom event has been received from native world.
|
protected abstract void |
eventsReceived(int[] events)
Called by MicroUI framework when a custom event has been received from native world.
|
abstract void |
setProperty(String name,
String value)
Called at startup to configure the event generator with the specific properties set in the .microui file.
|
addToSystemPool, get, get, get, getEventHandler, getEventType, getId, removeFromSystemPool, sendEvent, setEventHandler
protected abstract void eventReceived(int event)
event
- the 32-bit custom event value.protected abstract void eventsReceived(int[] events)
events
- the 32-bit custom event values.