/openjdk10/jdk/test/java/awt/dnd/AcceptDropMultipleTimes/ |
H A D | AcceptDropMultipleTimes.java | 55 final DraggablePanel dragSource = new DraggablePanel(); 56 dragSource.setBackground(Color.yellow); 57 DropTarget dt = new DropTarget(dragSource, new DropTargetAdapter() { 68 dragSource.setDropTarget(dt); 69 f.add(dragSource);
|
/openjdk10/jdk/test/java/awt/dnd/DropTargetEnterExitTest/ |
H A D | MissedDragExitTest.java | 65 final DraggablePanel dragSource = new DraggablePanel(); 66 dragSource.setBackground(Color.yellow); 67 DropTarget dt = new DropTarget(dragSource, new DropTargetAdapter() { 81 dragSource.add(newDropTarget); 84 dragSource.setDropTarget(dt); 85 f.add(dragSource);
|
H A D | ExtraDragEnterTest.java | 70 final DraggablePanel dragSource = new DraggablePanel(); 71 dragSource.setBackground(Color.yellow); 72 dragSource.setDropTarget(null); 73 mainPanel.add(dragSource);
|
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/dnd/ |
H A D | DragGestureEvent.java | 107 if ((dragSource = dgr.getDragSource()) == null) 150 public DragSource getDragSource() { return dragSource; } 238 dragSource.startDrag(this, dragCursor, transferable, null); 263 dragSource.startDrag(this, dragCursor, transferable, dsl); 292 dragSource.startDrag(this, dragCursor, dragImage, imageOffset, transferable, dsl); 333 DragSource newDragSource = (DragSource)f.get("dragSource", null); 337 dragSource = newDragSource; 391 private DragSource dragSource; field in class:DragGestureEvent
|
H A D | DragGestureRecognizer.java | 128 dragSource = ds; 240 public DragSource getDragSource() { return dragSource; } 422 DragSource newDragSource = (DragSource)f.get("dragSource", null); 426 dragSource = newDragSource; 446 protected DragSource dragSource; field in class:DragGestureRecognizer
|
/openjdk10/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/ |
H A D | ImageDecoratedDnDInOut.java | 72 Component dragSource, dropTarget; 83 dragSource = new DnDSource("Drag ME! (" + (DragSource.isDragImageSupported()?"with ":"without") + " image)" ); 85 mainPanel.add(dragSource, "North"); 91 Point sourcePoint = dragSource.getLocationOnScreen(); 92 Dimension d = dragSource.getSize();
|
H A D | DnDSource.java | 39 DragSource dragSource = new DragSource(); field in class:DnDSource 47 dragSource.createDefaultDragGestureRecognizer( 52 dragSource.addDragSourceListener(this);
|
/openjdk10/jdk/test/java/awt/dnd/ImageDecoratedDnD/ |
H A D | ImageDecoratedDnD.java | 71 Component dragSource, dropTarget; 82 dragSource = new DnDSource("Drag ME! (" + (DragSource.isDragImageSupported()?"with ":"without") + " image)" ); 84 mainPanel.add(dragSource, "North");
|
H A D | DnDSource.java | 39 DragSource dragSource = new DragSource(); field in class:DnDSource 47 dragSource.createDefaultDragGestureRecognizer( 52 dragSource.addDragSourceListener(this);
|
/openjdk10/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/ |
H A D | ImageDecoratedDnDNegative.java | 101 Component dragSource, dropTarget; 112 dragSource = new DnDSource("Drag ME! (" + (DragSource.isDragImageSupported()?"with ":"without") + " image)" ); 114 mainPanel.add(dragSource, "North"); 120 Point sourcePoint = dragSource.getLocationOnScreen(); 121 Dimension d = dragSource.getSize();
|
H A D | DnDSource.java | 43 DragSource dragSource = new DragSource(); field in class:DnDSource 51 dragSource.createDefaultDragGestureRecognizer( 56 dragSource.addDragSourceListener(this);
|
/openjdk10/jdk/test/sun/awt/dnd/8024061/ |
H A D | bug8024061.java | 233 final DragSource dragSource; field in class:bug8024061.DnDPanel 242 this.dragSource = DragSource.getDefaultDragSource(); 248 dragSource.startDrag(dge, DragSource.DefaultCopyNoDrop, dropObject, dsListener); 335 dragSource.createDefaultDragGestureRecognizer(this,
|
/openjdk10/jdk/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_DnDDS.cpp | 195 AwtDragSource* dragSource; member in struct:__anon1289 218 sdrp->dragSource = self; 239 AwtDragSource* dragSource = sdrp->dragSource; local 242 jobject peer = env->NewLocalRef(dragSource->GetPeer()); 252 (IDataObject*)dragSource); 255 dragSource->SetCursor(sdrp->cursor); 261 // StartDrag has caused dragSource->m_mutex to be held by our thread now 263 AwtDropTarget::SetCurrentDnDDataObject(dragSource); 265 ::GetCursorPos(&dragSource [all...] |
/openjdk10/jdk/test/java/awt/dnd/InterJVMGetDropSuccessTest/ |
H A D | InterJVMGetDropSuccessTest.java | 269 final DragSource dragSource = DragSource.getDefaultDragSource(); field in class:Child 278 dragSource.createDefaultDragGestureRecognizer(frame, DnDConstants.ACTION_COPY,
|