public abstract class JCVoidEventEmit extends Object implements IJCVoidEventEmit
Extend this class instead of implementing IJCVoidEventEmit directly
when an anonymous class or lambda is not suitable (e.g. when the handler needs
to maintain state across multiple event firings or requires registration with
JCObject.RegisterEventListener(java.lang.String, org.mases.jcobridge.IJCVoidEventEmit)).
For CLR events with a non-void return type, use JCEventEmit instead.
| Constructor and Description |
|---|
JCVoidEventEmit() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
EventRaised(Object... args)
Invoked by the bridge when the associated CLR event fires.
|
public abstract void EventRaised(Object... args)
EventRaised in interface IJCVoidEventEmitargs - the event arguments as an array of objects, following the order
and types of the CLR delegate parameters.