Package javax.events
Class Events
void addEvent(AsyncEvent event, int index)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
| Parameter | Description |
|---|---|
| event | event to be added |
| index | index to the event |
The addEvent() method adds a new event into the list of registerd events. Particular events must be placed at indexes in the event list that match the order of fire counters implemented in native code. Note that the Timer event must be always at index zero.
Example
private Events events = new Events();
...
private void registerEvent(AsyncEvent event, int queue)
{ ...
this.events.addEvent(event, queue);
This example creates a new events instance and adds a new asynchronous event to the event queue.
See also:
Copyright © demmel products gmbh. All rights reserved.