Class TransferHandler
public class TransferHandler : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>TransferHandler
- 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
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
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
COPY
public static int COPY { get; }
Property Value
COPY_OR_MOVE
public static int COPY_OR_MOVE { get; }
Property Value
CopyAction
public static Action CopyAction { get; }
Property Value
CutAction
public static Action CutAction { get; }
Property Value
DragImage
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/TransferHandler.html#getDragImage() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/TransferHandler.html#setDragImage(java.awt.Image)
public Image DragImage { get; set; }
Property Value
DragImageOffset
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/TransferHandler.html#getDragImageOffset() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/TransferHandler.html#setDragImageOffset(java.awt.Point)
public Point DragImageOffset { get; set; }
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
LINK
public static int LINK { get; }
Property Value
MOVE
public static int MOVE { get; }
Property Value
NONE
public static int NONE { get; }
Property Value
PasteAction
public static Action PasteAction { get; }
Property Value
Methods
CanImport(JComponent, DataFlavor[])
public bool CanImport(JComponent arg0, DataFlavor[] arg1)
Parameters
arg0
JComponentarg1
DataFlavor[]
Returns
CanImport(TransferSupport)
public bool CanImport(TransferHandler.TransferSupport arg0)
Parameters
Returns
ExportAsDrag(JComponent, InputEvent, int)
public void ExportAsDrag(JComponent arg0, InputEvent arg1, int arg2)
Parameters
arg0
JComponentarg1
InputEventarg2
int
ExportToClipboard(JComponent, Clipboard, int)
public void ExportToClipboard(JComponent arg0, Clipboard arg1, int arg2)
Parameters
arg0
JComponentarg1
Clipboardarg2
int
Exceptions
GetSourceActions(JComponent)
public int GetSourceActions(JComponent arg0)
Parameters
arg0
JComponent
Returns
GetVisualRepresentation(Transferable)
public Icon GetVisualRepresentation(Transferable arg0)
Parameters
arg0
Transferable
Returns
ImportData(JComponent, Transferable)
public bool ImportData(JComponent arg0, Transferable arg1)
Parameters
arg0
JComponentarg1
Transferable
Returns
ImportData(TransferSupport)
public bool ImportData(TransferHandler.TransferSupport arg0)