Class EventHandler
public class EventHandler : InvocationHandler, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IInvocationHandler
- Inheritance
-
EventHandler
- Implements
- Inherited Members
- Extension Methods
Constructors
EventHandler()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public EventHandler()
EventHandler(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public EventHandler(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
EventHandler(object, String, String, String)
public EventHandler(object arg0, String arg1, String arg2, String arg3)
Parameters
EventHandler(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public EventHandler(params object[] args)
Parameters
argsobject[]
Properties
Action
public String Action { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
EventPropertyName
public String EventPropertyName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
ListenerMethodName
public String ListenerMethodName { get; }
Property Value
Target
public object Target { get; }
Property Value
Methods
Create<T>(Class, object, String)
public static T Create<T>(Class arg0, object arg1, String arg2)
Parameters
Returns
- T
T
Type Parameters
T
Create<T>(Class, object, String, String)
public static T Create<T>(Class arg0, object arg1, String arg2, String arg3)
Parameters
Returns
- T
T
Type Parameters
T
Create<T>(Class, object, String, String, String)
public static T Create<T>(Class arg0, object arg1, String arg2, String arg3, String arg4)
Parameters
Returns
- T
T
Type Parameters
T
Invoke(object, Method, object[])
public object Invoke(object arg0, Method arg1, object[] arg2)