Searched refs:dragSource (Results 1 - 14 of 14) sorted by relevance

/openjdk10/jdk/test/java/awt/dnd/AcceptDropMultipleTimes/
H A DAcceptDropMultipleTimes.java55 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 DMissedDragExitTest.java65 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 DExtraDragEnterTest.java70 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 DDragGestureEvent.java107 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 DDragGestureRecognizer.java128 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 DImageDecoratedDnDInOut.java72 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 DDnDSource.java39 DragSource dragSource = new DragSource(); field in class:DnDSource
47 dragSource.createDefaultDragGestureRecognizer(
52 dragSource.addDragSourceListener(this);
/openjdk10/jdk/test/java/awt/dnd/ImageDecoratedDnD/
H A DImageDecoratedDnD.java71 Component dragSource, dropTarget;
82 dragSource = new DnDSource("Drag ME! (" + (DragSource.isDragImageSupported()?"with ":"without") + " image)" );
84 mainPanel.add(dragSource, "North");
H A DDnDSource.java39 DragSource dragSource = new DragSource(); field in class:DnDSource
47 dragSource.createDefaultDragGestureRecognizer(
52 dragSource.addDragSourceListener(this);
/openjdk10/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/
H A DImageDecoratedDnDNegative.java101 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 DDnDSource.java43 DragSource dragSource = new DragSource(); field in class:DnDSource
51 dragSource.createDefaultDragGestureRecognizer(
56 dragSource.addDragSourceListener(this);
/openjdk10/jdk/test/sun/awt/dnd/8024061/
H A Dbug8024061.java233 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 Dawt_DnDDS.cpp195 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 DInterJVMGetDropSuccessTest.java269 final DragSource dragSource = DragSource.getDefaultDragSource(); field in class:Child
278 dragSource.createDefaultDragGestureRecognizer(frame, DnDConstants.ACTION_COPY,

Completed in 113 milliseconds