Table of Contents

Class DropTargetAdapter

Namespace
Java.Awt.Dnd
Assembly
MASES.JNet.dll
public class DropTargetAdapter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
DropTargetAdapter
Implements
Derived
Inherited Members
Extension Methods

Constructors

DropTargetAdapter()

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

public DropTargetAdapter()

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

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnDragEnter

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

Property Value

Action<DropTargetDragEvent>

Remarks

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

OnDragExit

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

Property Value

Action<DropTargetEvent>

Remarks

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

OnDragOver

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

Property Value

Action<DropTargetDragEvent>

Remarks

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

OnDrop

public Action<DropTargetDropEvent> OnDrop { get; set; }

Property Value

Action<DropTargetDropEvent>

Remarks

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

OnDropActionChanged

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

Property Value

Action<DropTargetDragEvent>

Remarks

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

Methods

DragEnter(DropTargetDragEvent)

public virtual void DragEnter(DropTargetDragEvent arg0)

Parameters

arg0 DropTargetDragEvent

DropTargetDragEvent

DragExit(DropTargetEvent)

public virtual void DragExit(DropTargetEvent arg0)

Parameters

arg0 DropTargetEvent

DropTargetEvent

DragOver(DropTargetDragEvent)

public virtual void DragOver(DropTargetDragEvent arg0)

Parameters

arg0 DropTargetDragEvent

DropTargetDragEvent

Drop(DropTargetDropEvent)

public virtual void Drop(DropTargetDropEvent arg0)

Parameters

arg0 DropTargetDropEvent

DropTargetDropEvent

DropActionChanged(DropTargetDragEvent)

public virtual void DropActionChanged(DropTargetDragEvent arg0)

Parameters

arg0 DropTargetDragEvent

DropTargetDragEvent

InitializeHandlers()

Handlers initializer for DropTargetAdapter

protected virtual void InitializeHandlers()