Table of Contents

Class DragSourceListener

Namespace
Java.Awt.Dnd
Assembly
MASES.JNet.dll
public class DragSourceListener : EventListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IEventListener, IDragSourceListener, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
DragSourceListener
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

DragSourceListener()

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

public DragSourceListener()

DragSourceListener(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 DragSourceListener(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

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

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 DragSourceListener

protected virtual void InitializeHandlers()