Class DragSource
public class DragSource : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>DragSource
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Serializable>.IsAssignableFrom<T>()JVMBridgeBase<Serializable>.Execute<T>(params T[])JVMBridgeBase<Serializable>.DynBridgeClazzJVMBridgeBase<Serializable>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DefaultCopyDrop
public static Cursor DefaultCopyDrop { get; }
Property Value
DefaultCopyNoDrop
public static Cursor DefaultCopyNoDrop { get; }
Property Value
DefaultDragSource
public static DragSource DefaultDragSource { get; }
Property Value
DefaultLinkDrop
public static Cursor DefaultLinkDrop { get; }
Property Value
DefaultLinkNoDrop
public static Cursor DefaultLinkNoDrop { get; }
Property Value
DefaultMoveDrop
public static Cursor DefaultMoveDrop { get; }
Property Value
DefaultMoveNoDrop
public static Cursor DefaultMoveNoDrop { get; }
Property Value
DragSourceListeners
public DragSourceListener[] DragSourceListeners { get; }
Property Value
DragSourceMotionListeners
public DragSourceMotionListener[] DragSourceMotionListeners { get; }
Property Value
DragThreshold
public static int DragThreshold { get; }
Property Value
FlavorMap
public FlavorMap FlavorMap { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
AddDragSourceListener(DragSourceListener)
public void AddDragSourceListener(DragSourceListener arg0)
Parameters
AddDragSourceMotionListener(DragSourceMotionListener)
public void AddDragSourceMotionListener(DragSourceMotionListener arg0)
Parameters
CreateDefaultDragGestureRecognizer(Component, int, DragGestureListener)
public DragGestureRecognizer CreateDefaultDragGestureRecognizer(Component arg0, int arg1, DragGestureListener arg2)
Parameters
arg0
Componentarg1
intarg2
DragGestureListener
Returns
CreateDragGestureRecognizer<T>(Class, Component, int, DragGestureListener)
public T CreateDragGestureRecognizer<T>(Class arg0, Component arg1, int arg2, DragGestureListener arg3) where T : DragGestureRecognizer
Parameters
arg0
Classarg1
Componentarg2
intarg3
DragGestureListener
Returns
- T
T
Type Parameters
GetListeners<T>(Class)
public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()
Parameters
Returns
- T[]
T
Type Parameters
IsDragImageSupported()
public static bool IsDragImageSupported()
Returns
RemoveDragSourceListener(DragSourceListener)
public void RemoveDragSourceListener(DragSourceListener arg0)
Parameters
RemoveDragSourceMotionListener(DragSourceMotionListener)
public void RemoveDragSourceMotionListener(DragSourceMotionListener arg0)
Parameters
StartDrag(DragGestureEvent, Cursor, Transferable, DragSourceListener)
public void StartDrag(DragGestureEvent arg0, Cursor arg1, Transferable arg2, DragSourceListener arg3)
Parameters
arg0
DragGestureEventarg1
Cursorarg2
Transferablearg3
DragSourceListener
Exceptions
StartDrag(DragGestureEvent, Cursor, Transferable, DragSourceListener, FlavorMap)
public void StartDrag(DragGestureEvent arg0, Cursor arg1, Transferable arg2, DragSourceListener arg3, FlavorMap arg4)
Parameters
arg0
DragGestureEventarg1
Cursorarg2
Transferablearg3
DragSourceListenerarg4
FlavorMap
Exceptions
StartDrag(DragGestureEvent, Cursor, Image, Point, Transferable, DragSourceListener)
public void StartDrag(DragGestureEvent arg0, Cursor arg1, Image arg2, Point arg3, Transferable arg4, DragSourceListener arg5)
Parameters
arg0
DragGestureEventarg1
Cursorarg2
Imagearg3
Pointarg4
Transferablearg5
DragSourceListener
Exceptions
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
DragGestureEventarg1
Cursorarg2
Imagearg3
Pointarg4
Transferablearg5
DragSourceListenerarg6
FlavorMap