aicas logoJamaica 6.4 release 1

java.awt.dnd.peer
Interface DragSourceContextPeer


public interface DragSourceContextPeer

This interface is supplied by the underlying window system platform to expose the behaviors of the Drag and Drop system to an originator of the same

Since:
1.2

Method Summary
 Cursor getCursor()
          return the current drag cursor
 void setCursor(Cursor c)
          set the current drag cursor
 void startDrag(DragSourceContext dsc, Cursor c, Image dragImage, Point imageOffset)
          start a drag
 void transferablesFlavorsChanged()
          notify the peer that the Transferables DataFlavors have changed
 

Method Detail

startDrag

void startDrag(DragSourceContext dsc,
               Cursor c,
               Image dragImage,
               Point imageOffset)
               throws InvalidDnDOperationException
start a drag

Throws:
InvalidDnDOperationException

getCursor

Cursor getCursor()
return the current drag cursor


setCursor

void setCursor(Cursor c)
               throws InvalidDnDOperationException
set the current drag cursor

Throws:
InvalidDnDOperationException

transferablesFlavorsChanged

void transferablesFlavorsChanged()
notify the peer that the Transferables DataFlavors have changed


aicas logoJamaica 6.4 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.