1 7 8 package java.awt.dnd.peer; 9 10 import java.awt.event.InputEvent ; 11 import java.awt.Component ; 12 import java.awt.Cursor ; 13 import java.awt.Image ; 14 import java.awt.Point ; 15 import java.awt.Rectangle ; 16 17 import java.awt.datatransfer.Transferable ; 18 19 import java.awt.dnd.DragSource ; 20 import java.awt.dnd.DragGestureEvent ; 21 import java.awt.dnd.DragSourceContext ; 22 import java.awt.dnd.DragSourceListener ; 23 import java.awt.dnd.InvalidDnDOperationException ; 24 25 26 37 38 public interface DragSourceContextPeer { 39 40 43 44 void startDrag(DragSourceContext dsc, Cursor c, Image dragImage, Point imageOffset) throws InvalidDnDOperationException ; 45 46 49 50 Cursor getCursor(); 51 52 55 56 void setCursor(Cursor c) throws InvalidDnDOperationException ; 57 58 61 62 void transferablesFlavorsChanged(); 63 } 64 | Popular Tags |