Class TransferHandler.TransferSupport
public class TransferHandler.TransferSupport : JVMBridgeBase<TransferHandler.TransferSupport>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
TransferHandler.TransferSupport
- Implements
- Extension Methods
Constructors
TransferSupport(Component, Transferable)
public TransferSupport(Component arg0, Transferable arg1)
Parameters
arg0Componentarg1Transferable
TransferSupport(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public TransferSupport(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
Component
public Component Component { get; }
Property Value
DataFlavors
public DataFlavor[] DataFlavors { get; }
Property Value
DropAction
https://docs.oracle.com/javase/8/docs/api/javax/swing/TransferHandler.TransferSupport.html#getDropAction-- https://docs.oracle.com/javase/8/docs/api/javax/swing/TransferHandler.TransferSupport.html#setDropAction-int-
public int DropAction { get; set; }
Property Value
GetDropLocation
public TransferHandler.DropLocation GetDropLocation { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
SourceDropActions
public int SourceDropActions { get; }
Property Value
Transferable
public Transferable Transferable { get; }
Property Value
UserDropAction
public int UserDropAction { get; }
Property Value
Methods
CreatePoolableInstance(Component, Transferable)
HPA initializer for TransferSupport(Java.Awt.Component arg0, Java.Awt.Datatransfer.Transferable arg1)
public static TransferHandler.TransferSupport CreatePoolableInstance(Component arg0, Transferable arg1)
Parameters
arg0Componentarg1Transferable
Returns
IsDataFlavorSupported(DataFlavor)
public bool IsDataFlavorSupported(DataFlavor arg0)
Parameters
arg0DataFlavor
Returns
IsDrop()
public bool IsDrop()
Returns
SetShowDropLocation(bool)
public void SetShowDropLocation(bool arg0)