Table of Contents

Class MouseAdapter

Namespace
Java.Awt.EventNs
Assembly
MASES.JNet.dll
public class MouseAdapter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IMouseAdapter, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
MouseAdapter
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeListener.Dispose()
JVMBridgeListener.AutoInit
JVMBridgeListener.IsBridgeStatic
JVMBridgeListener.IsBridgeCloseable
JVMBridgeListener.IsBridgeListener
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()
JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])
JVMBridgeBase<JVMBridgeListener>.DynBridgeClazz
JVMBridgeBase<JVMBridgeListener>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.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

string

OnMouseClicked

public Action<MouseEvent> OnMouseClicked { get; set; }

Property Value

Action<MouseEvent>

Remarks

If OnMouseClicked has a value it takes precedence over corresponding class method

OnMouseDragged

public Action<MouseEvent> OnMouseDragged { get; set; }

Property Value

Action<MouseEvent>

Remarks

If OnMouseDragged has a value it takes precedence over corresponding class method

OnMouseEntered

public Action<MouseEvent> OnMouseEntered { get; set; }

Property Value

Action<MouseEvent>

Remarks

If OnMouseEntered has a value it takes precedence over corresponding class method

OnMouseExited

public Action<MouseEvent> OnMouseExited { get; set; }

Property Value

Action<MouseEvent>

Remarks

If OnMouseExited has a value it takes precedence over corresponding class method

OnMouseMoved

public Action<MouseEvent> OnMouseMoved { get; set; }

Property Value

Action<MouseEvent>

Remarks

If OnMouseMoved has a value it takes precedence over corresponding class method

OnMousePressed

public Action<MouseEvent> OnMousePressed { get; set; }

Property Value

Action<MouseEvent>

Remarks

If OnMousePressed has a value it takes precedence over corresponding class method

OnMouseReleased

public Action<MouseEvent> OnMouseReleased { get; set; }

Property Value

Action<MouseEvent>

Remarks

If OnMouseReleased has a value it takes precedence over corresponding class method

OnMouseWheelMoved

public Action<MouseWheelEvent> OnMouseWheelMoved { get; set; }

Property Value

Action<MouseWheelEvent>

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

MouseEvent

MouseDragged(MouseEvent)

public virtual void MouseDragged(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MouseEntered(MouseEvent)

public virtual void MouseEntered(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MouseExited(MouseEvent)

public virtual void MouseExited(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MouseMoved(MouseEvent)

public virtual void MouseMoved(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MousePressed(MouseEvent)

public virtual void MousePressed(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MouseReleased(MouseEvent)

public virtual void MouseReleased(MouseEvent arg0)

Parameters

arg0 MouseEvent

MouseEvent

MouseWheelMoved(MouseWheelEvent)

public virtual void MouseWheelMoved(MouseWheelEvent arg0)

Parameters

arg0 MouseWheelEvent

MouseWheelEvent