IDragDropDriver.IDragSourceInfo Interface

com.bea.ide.core.datatransfer
IDragDropDriver.IDragSourceInfo Interface

public static interface IDragDropDriver.IDragSourceInfo

This interface allows a drag source to return the set of information needed to start a drag operation


All Known Implementing Classes
DefaultDragDropDriver.DragSourceInfo
Enclosing interface

IDragDropDriver

Method Summary

public Image
getDragImage()
Icon to display as part of the drag operation
public Point
getIconOffset()
Offset at which to draw the icon
public Transferable
getTransferable()
Transferable for the drag operation

Method Detail

getDragImage() Method

public Image getDragImage()
Icon to display as part of the drag operation

Returns

Icon to display or null for no icon

getIconOffset() Method

public Point 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()
Transferable for the drag operation

Returns

transferable object or null if a drag is not valid