Package javax.events
Class AsyncEvent
boolean handledBy(AsyncEventHandler handler)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter | Description |
---|---|
handler | asynchronous event handle |
The specified asynchronous event handler which should be checked.
Returns | Range | Description |
---|---|---|
checked | true ... false | whether the handler was added or not |
Whether the handler was successfully added to the list of asynchronous event handlers or not.
Example
private AsyncEvent evList[] = new AsyncEvent[10];
...
if (evList[eventId].handledBy())
{ ...
The example above verifies if the specified asynchronous event handler was already added to the list of event handlers.
See also:
Copyright © demmel products gmbh. All rights reserved.