APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.javafx.embed.swing

public final Class FXDnD

extends Object
Class Inheritance
Imports
java.awt.Component, java.awt.dnd.DragGestureEvent, .DragGestureListener, .DragGestureRecognizer, .DragSource, .DropTarget, .InvalidDnDOperationException, javafx.embed.swing.SwingNode, com.sun.javafx.embed.swing.newimpl.FXDnDInteropN

A utility class to connect DnD mechanism of Swing and FX. It allows Swing content to use the FX machinery for performing DnD.

Field Summary

Modifier and TypeField and Description
public static boolean
private FXDnDInteropN

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public <T extends DragGestureRecognizer> T
createDragGestureRecognizer(Class<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)

public Object
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fxAppThreadIsDispatchThreadback to summary
public static boolean fxAppThreadIsDispatchThread
fxdndiopback to summary
private FXDnDInteropN fxdndiop

Constructor Detail

FXDnDback to summary
public FXDnD(SwingNode node)

Method Detail

addDropTargetback to summary
public void addDropTarget(DropTarget dt)
createDragGestureRecognizerback to summary
public <T extends DragGestureRecognizer> T createDragGestureRecognizer(Class<T> abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
createDragSourceContextback to summary
public Object createDragSourceContext(DragGestureEvent dge) throws InvalidDnDOperationException
removeDropTargetback to summary
public void removeDropTarget(DropTarget dt)