Table of Contents

Class TransferHandler

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class TransferHandler : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
TransferHandler
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

TransferHandler()

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

public TransferHandler()

TransferHandler(String)

public TransferHandler(String arg0)

Parameters

arg0 String

String

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

COPY

public static int COPY { get; }

Property Value

int

COPY_OR_MOVE

public static int COPY_OR_MOVE { get; }

Property Value

int

CopyAction

public static Action CopyAction { get; }

Property Value

Action

CutAction

public static Action CutAction { get; }

Property Value

Action

DragImage

public Image DragImage { get; set; }

Property Value

Image

DragImageOffset

public Point DragImageOffset { get; set; }

Property Value

Point

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
public static int LINK { get; }

Property Value

int

MOVE

public static int MOVE { get; }

Property Value

int

NONE

public static int NONE { get; }

Property Value

int

PasteAction

public static Action PasteAction { get; }

Property Value

Action

Methods

CanImport(JComponent, DataFlavor[])

public bool CanImport(JComponent arg0, DataFlavor[] arg1)

Parameters

arg0 JComponent

JComponent

arg1 DataFlavor[]

DataFlavor

Returns

bool

bool

CanImport(TransferSupport)

public bool CanImport(TransferHandler.TransferSupport arg0)

Parameters

arg0 TransferHandler.TransferSupport

TransferHandler.TransferSupport

Returns

bool

bool

ExportAsDrag(JComponent, InputEvent, int)

public void ExportAsDrag(JComponent arg0, InputEvent arg1, int arg2)

Parameters

arg0 JComponent

JComponent

arg1 InputEvent

InputEvent

arg2 int

int

ExportToClipboard(JComponent, Clipboard, int)

public void ExportToClipboard(JComponent arg0, Clipboard arg1, int arg2)

Parameters

arg0 JComponent

JComponent

arg1 Clipboard

Clipboard

arg2 int

int

Exceptions

IllegalStateException

GetSourceActions(JComponent)

public int GetSourceActions(JComponent arg0)

Parameters

arg0 JComponent

JComponent

Returns

int

int

GetVisualRepresentation(Transferable)

public Icon GetVisualRepresentation(Transferable arg0)

Parameters

arg0 Transferable

Transferable

Returns

Icon

Icon

ImportData(JComponent, Transferable)

public bool ImportData(JComponent arg0, Transferable arg1)

Parameters

arg0 JComponent

JComponent

arg1 Transferable

Transferable

Returns

bool

bool

ImportData(TransferSupport)

public bool ImportData(TransferHandler.TransferSupport arg0)

Parameters

arg0 TransferHandler.TransferSupport

TransferHandler.TransferSupport

Returns

bool

bool