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(java.lang.String name,
java.lang.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, getList, removeFromSystemPool, sendEvent, setEventHandler
public abstract void setProperty(java.lang.String name, java.lang.String value)
name
- the property namevalue
- the property valueprotected 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.