BBjAPI::setCustomEventCallback
Description
In BBj 6.00 and higher, this method sets a callback that is to be called when the specified BBjCustomEvent appears on the BBj event queue.
Syntax
|
Return Value |
Method |
|---|---|
| void |
setCustomEventCallback(String eventName, CustomObject customObj, String methodName) |
| void |
setCustomEventCallback(String eventName, Object customObj, String methodName) |
|
void |
setCustomEventCallback(String eventName, String subRoutineName) |
Parameters
| Parameter | Description |
|---|---|
|
eventName |
This name identifies the event for which a callback is being set. |
|
CustomObj |
A CustomObject containing the method to be called when the BBjCustomEvent is processed by PROCESS_EVENTS. |
| object | A Java Object containing the method to be called when the BBjCustomEvent is processed by PROCESS_EVENTS. |
|
methodName |
The name of the method that is to be called when the BBjCustomEvent is processed by PROCESS_EVENTS. |
|
subRoutineName |
Subroutine name to be executed in PROCESS_EVENTS. |
Return Value
None.
Example
|
Version History
See Also
BBjAPI::clearCustomEventCallback
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.