Table of Contents

Class DragSourceAdapter

Namespace
Java.Awt.Dnd
Assembly
MASES.JNet.dll

Listener for DragSourceAdapter. Extends JVMBridgeListener, implements IDragSourceAdapter

public class DragSourceAdapter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IDragSourceAdapter, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
DragSourceAdapter
Implements
Derived
Inherited Members
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

DragSourceAdapter()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public DragSourceAdapter()

DragSourceAdapter(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 DragSourceAdapter(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnDragDropEnd

public Action<DragSourceDropEvent> OnDragDropEnd { get; set; }

Property Value

Action<DragSourceDropEvent>

Remarks

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

OnDragEnter

public Action<DragSourceDragEvent> OnDragEnter { get; set; }

Property Value

Action<DragSourceDragEvent>

Remarks

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

OnDragExit

public Action<DragSourceEvent> OnDragExit { get; set; }

Property Value

Action<DragSourceEvent>

Remarks

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

OnDragMouseMoved

public Action<DragSourceDragEvent> OnDragMouseMoved { get; set; }

Property Value

Action<DragSourceDragEvent>

Remarks

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

OnDragOver

public Action<DragSourceDragEvent> OnDragOver { get; set; }

Property Value

Action<DragSourceDragEvent>

Remarks

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

OnDropActionChanged

public Action<DragSourceDragEvent> OnDropActionChanged { get; set; }

Property Value

Action<DragSourceDragEvent>

Remarks

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

Methods

DragDropEnd(DragSourceDropEvent)

public virtual void DragDropEnd(DragSourceDropEvent arg0)

Parameters

arg0 DragSourceDropEvent

DragSourceDropEvent

DragEnter(DragSourceDragEvent)

public virtual void DragEnter(DragSourceDragEvent arg0)

Parameters

arg0 DragSourceDragEvent

DragSourceDragEvent

DragExit(DragSourceEvent)

public virtual void DragExit(DragSourceEvent arg0)

Parameters

arg0 DragSourceEvent

DragSourceEvent

DragMouseMoved(DragSourceDragEvent)

public virtual void DragMouseMoved(DragSourceDragEvent arg0)

Parameters

arg0 DragSourceDragEvent

DragSourceDragEvent

DragOver(DragSourceDragEvent)

public virtual void DragOver(DragSourceDragEvent arg0)

Parameters

arg0 DragSourceDragEvent

DragSourceDragEvent

DropActionChanged(DragSourceDragEvent)

public virtual void DropActionChanged(DragSourceDragEvent arg0)

Parameters

arg0 DragSourceDragEvent

DragSourceDragEvent

InitializeHandlers()

Handlers initializer for DragSourceAdapter

protected virtual void InitializeHandlers()