public final class DnDManagerImpl extends DnDManager
Modifier and Type | Field and Description |
---|---|
static Key<Pair<java.awt.Image,java.awt.Point>> |
DRAGGED_IMAGE_KEY |
Constructor and Description |
---|
DnDManagerImpl() |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getLastDropHandler() |
void |
registerSource(AdvancedDnDSource source) |
void |
registerSource(DnDSource source,
javax.swing.JComponent component) |
void |
registerTarget(DnDTarget target,
javax.swing.JComponent component) |
void |
setLastDropHandler(java.awt.Component c) |
void |
unregisterSource(AdvancedDnDSource source) |
void |
unregisterSource(DnDSource source,
javax.swing.JComponent component) |
void |
unregisterTarget(DnDTarget target,
javax.swing.JComponent component) |
getInstance
public void registerSource(AdvancedDnDSource source)
registerSource
in class DnDManager
public void registerSource(DnDSource source, javax.swing.JComponent component)
registerSource
in class DnDManager
public void unregisterSource(AdvancedDnDSource source)
unregisterSource
in class DnDManager
public void unregisterSource(DnDSource source, javax.swing.JComponent component)
unregisterSource
in class DnDManager
public void registerTarget(DnDTarget target, javax.swing.JComponent component)
registerTarget
in class DnDManager
public void unregisterTarget(DnDTarget target, javax.swing.JComponent component)
unregisterTarget
in class DnDManager
public void setLastDropHandler(java.awt.Component c)
public java.awt.Component getLastDropHandler()
getLastDropHandler
in class DnDManager