Table of Contents

Class DragSource

Namespace
Java.Awt.Dnd
Assembly
MASES.JNet.dll
public class DragSource : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
DragSource
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.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.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

DragSource()

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

public DragSource()

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DefaultCopyDrop

public static Cursor DefaultCopyDrop { get; }

Property Value

Cursor

DefaultCopyNoDrop

public static Cursor DefaultCopyNoDrop { get; }

Property Value

Cursor

DefaultDragSource

public static DragSource DefaultDragSource { get; }

Property Value

DragSource

DefaultLinkDrop

public static Cursor DefaultLinkDrop { get; }

Property Value

Cursor

DefaultLinkNoDrop

public static Cursor DefaultLinkNoDrop { get; }

Property Value

Cursor

DefaultMoveDrop

public static Cursor DefaultMoveDrop { get; }

Property Value

Cursor

DefaultMoveNoDrop

public static Cursor DefaultMoveNoDrop { get; }

Property Value

Cursor

DragSourceListeners

public DragSourceListener[] DragSourceListeners { get; }

Property Value

DragSourceListener[]

DragSourceMotionListeners

public DragSourceMotionListener[] DragSourceMotionListeners { get; }

Property Value

DragSourceMotionListener[]

DragThreshold

public static int DragThreshold { get; }

Property Value

int

FlavorMap

public FlavorMap FlavorMap { get; }

Property Value

FlavorMap

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AddDragSourceListener(DragSourceListener)

public void AddDragSourceListener(DragSourceListener arg0)

Parameters

arg0 DragSourceListener

DragSourceListener

AddDragSourceMotionListener(DragSourceMotionListener)

public void AddDragSourceMotionListener(DragSourceMotionListener arg0)

Parameters

arg0 DragSourceMotionListener

DragSourceMotionListener

CreateDefaultDragGestureRecognizer(Component, int, DragGestureListener)

public DragGestureRecognizer CreateDefaultDragGestureRecognizer(Component arg0, int arg1, DragGestureListener arg2)

Parameters

arg0 Component

Component

arg1 int

int

arg2 DragGestureListener

DragGestureListener

Returns

DragGestureRecognizer

DragGestureRecognizer

CreateDragGestureRecognizer<T>(Class, Component, int, DragGestureListener)

public T CreateDragGestureRecognizer<T>(Class arg0, Component arg1, int arg2, DragGestureListener arg3) where T : DragGestureRecognizer

Parameters

arg0 Class

Class

arg1 Component

Component

arg2 int

int

arg3 DragGestureListener

DragGestureListener

Returns

T

T

Type Parameters

T

DragGestureRecognizer

GetListeners<T>(Class)

public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()

Parameters

arg0 Class

Class

Returns

T[]

T

Type Parameters

T

IEventListener

IsDragImageSupported()

public static bool IsDragImageSupported()

Returns

bool

bool

RemoveDragSourceListener(DragSourceListener)

public void RemoveDragSourceListener(DragSourceListener arg0)

Parameters

arg0 DragSourceListener

DragSourceListener

RemoveDragSourceMotionListener(DragSourceMotionListener)

public void RemoveDragSourceMotionListener(DragSourceMotionListener arg0)

Parameters

arg0 DragSourceMotionListener

DragSourceMotionListener

StartDrag(DragGestureEvent, Cursor, Transferable, DragSourceListener)

public void StartDrag(DragGestureEvent arg0, Cursor arg1, Transferable arg2, DragSourceListener arg3)

Parameters

arg0 DragGestureEvent

DragGestureEvent

arg1 Cursor

Cursor

arg2 Transferable

Transferable

arg3 DragSourceListener

DragSourceListener

Exceptions

InvalidDnDOperationException

StartDrag(DragGestureEvent, Cursor, Transferable, DragSourceListener, FlavorMap)

public void StartDrag(DragGestureEvent arg0, Cursor arg1, Transferable arg2, DragSourceListener arg3, FlavorMap arg4)

Parameters

arg0 DragGestureEvent

DragGestureEvent

arg1 Cursor

Cursor

arg2 Transferable

Transferable

arg3 DragSourceListener

DragSourceListener

arg4 FlavorMap

FlavorMap

Exceptions

InvalidDnDOperationException

StartDrag(DragGestureEvent, Cursor, Image, Point, Transferable, DragSourceListener)

public void StartDrag(DragGestureEvent arg0, Cursor arg1, Image arg2, Point arg3, Transferable arg4, DragSourceListener arg5)

Parameters

arg0 DragGestureEvent

DragGestureEvent

arg1 Cursor

Cursor

arg2 Image

Image

arg3 Point

Point

arg4 Transferable

Transferable

arg5 DragSourceListener

DragSourceListener

Exceptions

InvalidDnDOperationException

StartDrag(DragGestureEvent, Cursor, Image, Point, Transferable, DragSourceListener, FlavorMap)

public void StartDrag(DragGestureEvent arg0, Cursor arg1, Image arg2, Point arg3, Transferable arg4, DragSourceListener arg5, FlavorMap arg6)

Parameters

arg0 DragGestureEvent

DragGestureEvent

arg1 Cursor

Cursor

arg2 Image

Image

arg3 Point

Point

arg4 Transferable

Transferable

arg5 DragSourceListener

DragSourceListener

arg6 FlavorMap

FlavorMap

Exceptions

InvalidDnDOperationException