public class DragAndDrop extends java.lang.Object implements ImageDragSource
Modifier and Type | Field and Description |
---|---|
(package private) java.awt.image.BufferedImage |
dragImage |
(package private) java.awt.Point |
dragOffset |
(package private) java.lang.Object |
dragSource |
(package private) static DragAndDrop |
instance |
Constructor and Description |
---|
DragAndDrop() |
Modifier and Type | Method and Description |
---|---|
static DragAndDrop |
getDnD() |
java.awt.image.BufferedImage |
getDragImage() |
java.awt.Point |
getDragImageOffset() |
java.lang.Object |
getDragSource() |
void |
setDragImage(java.awt.image.BufferedImage bim,
java.awt.Point po) |
void |
setDragSource(java.lang.Object obj) |
java.awt.image.BufferedImage dragImage
java.awt.Point dragOffset
java.lang.Object dragSource
static DragAndDrop instance
public static DragAndDrop getDnD()
public void setDragSource(java.lang.Object obj)
public java.lang.Object getDragSource()
public void setDragImage(java.awt.image.BufferedImage bim, java.awt.Point po)
public java.awt.image.BufferedImage getDragImage()
getDragImage
in interface ImageDragSource
public java.awt.Point getDragImageOffset()
getDragImageOffset
in interface ImageDragSource
Copyright © 2013. All Rights Reserved.