DefaultDragDropDriver.DragSourceInfo Class
- public static class DefaultDragDropDriver.DragSourceInfo
extends Object
implements IDragDropDriver.IDragSourceInfo
-
Hierarchy
-
Object
DefaultDragDropDriver.DragSourceInfo
-
All Implemented Interfaces
-
IDragDropDriver.IDragSourceInfo
-
Enclosing class
-
DefaultDragDropDriver
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDragDropDriver.DragSourceInfo
public DefaultDragDropDriver.DragSourceInfo(Transferable t,
Image i,
Point pt)
DefaultDragDropDriver.DragSourceInfo
public DefaultDragDropDriver.DragSourceInfo(Transferable t)
getDragImage() Method
public Image getDragImage()
Description copied from IDragDropDriver.IDragSourceInfo.getDragImage()
Icon to display as part of the drag operation
Returns
- Icon to display or null for no icon
getIconOffset() Method
public Point getIconOffset()
Description copied from IDragDropDriver.IDragSourceInfo.getIconOffset()
Offset at which to draw the icon
Returns
- Point containing offset coordinates to draw the icon or null for (0,0)
getTransferable() Method
public Transferable getTransferable()
Description copied from IDragDropDriver.IDragSourceInfo.getTransferable()
Transferable for the drag operation
Returns
- transferable object or null if a drag is not valid