Class MouseAdapter
Listener for MouseAdapter. Extends https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeListener.htm, implements IMouseAdapter
public class MouseAdapter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IMouseAdapter, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<JVMBridgeListener>JVMBridgeListenerMouseAdapter
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeListener.Dispose()JVMBridgeListener.AutoInitJVMBridgeListener.IsBridgeStaticJVMBridgeListener.IsBridgeCloseableJVMBridgeListener.IsBridgeListenerJVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])JVMBridgeBase<JVMBridgeListener>.DynBridgeClazzJVMBridgeBase<JVMBridgeListener>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeInterfaceJVMBridgeBase.IsBridgeAbstract
- Extension Methods
Remarks
Remember to Dispose the object otherwise there is a resource leak, the object contains a reference to the the corresponding JVM object
Constructors
MouseAdapter()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public MouseAdapter()
Properties
BridgeClassName
public override string BridgeClassName { get; }
Property Value
OnMouseClicked
public Action<MouseEvent> OnMouseClicked { get; set; }
Property Value
Remarks
If OnMouseClicked has a value it takes precedence over corresponding class method
OnMouseDragged
public Action<MouseEvent> OnMouseDragged { get; set; }
Property Value
Remarks
If OnMouseDragged has a value it takes precedence over corresponding class method
OnMouseEntered
public Action<MouseEvent> OnMouseEntered { get; set; }
Property Value
Remarks
If OnMouseEntered has a value it takes precedence over corresponding class method
OnMouseExited
public Action<MouseEvent> OnMouseExited { get; set; }
Property Value
Remarks
If OnMouseExited has a value it takes precedence over corresponding class method
OnMouseMoved
public Action<MouseEvent> OnMouseMoved { get; set; }
Property Value
Remarks
If OnMouseMoved has a value it takes precedence over corresponding class method
OnMousePressed
public Action<MouseEvent> OnMousePressed { get; set; }
Property Value
Remarks
If OnMousePressed has a value it takes precedence over corresponding class method
OnMouseReleased
public Action<MouseEvent> OnMouseReleased { get; set; }
Property Value
Remarks
If OnMouseReleased has a value it takes precedence over corresponding class method
OnMouseWheelMoved
public Action<MouseWheelEvent> OnMouseWheelMoved { get; set; }
Property Value
Remarks
If OnMouseWheelMoved has a value it takes precedence over corresponding class method
Methods
InitializeHandlers()
Handlers initializer for MouseAdapter
protected virtual void InitializeHandlers()
MouseClicked(MouseEvent)
public virtual void MouseClicked(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseDragged(MouseEvent)
public virtual void MouseDragged(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseEntered(MouseEvent)
public virtual void MouseEntered(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseExited(MouseEvent)
public virtual void MouseExited(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseMoved(MouseEvent)
public virtual void MouseMoved(MouseEvent arg0)
Parameters
arg0
MouseEvent
MousePressed(MouseEvent)
public virtual void MousePressed(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseReleased(MouseEvent)
public virtual void MouseReleased(MouseEvent arg0)
Parameters
arg0
MouseEvent
MouseWheelMoved(MouseWheelEvent)
public virtual void MouseWheelMoved(MouseWheelEvent arg0)