DefaultDragDropDriver.DragSourceInfo Class

com.bea.ide.core.datatransfer
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

Constructor Summary

DefaultDragDropDriver.DragSourceInfo(Transferable t, Image i, Point pt)

DefaultDragDropDriver.DragSourceInfo(Transferable t)

 

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
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.ide.core.datatransfer.IDragDropDriver.IDragSourceInfo
getDragImage, getIconOffset, getTransferable
 

Constructor Detail

DefaultDragDropDriver.DragSourceInfo

public DefaultDragDropDriver.DragSourceInfo(Transferable t, 
                                            Image i, 
                                            Point pt)

DefaultDragDropDriver.DragSourceInfo

public DefaultDragDropDriver.DragSourceInfo(Transferable t)
 

Method Detail

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