/openjdk9/jdk/src/java.desktop/share/classes/java/awt/dnd/ |
H A D | DropTargetDropEvent.java | 92 * @param dropAction the user drop action. 98 * if dropAction is not one of {@code DnDConstants}. 104 public DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions) { argument 109 if (dropAction != DnDConstants.ACTION_NONE && 110 dropAction != DnDConstants.ACTION_COPY && 111 dropAction != DnDConstants.ACTION_MOVE && 112 dropAction != DnDConstants.ACTION_LINK 113 ) throw new IllegalArgumentException("dropAction = " + dropAction); 119 this.dropAction 147 DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions, boolean isLocal) argument 232 acceptDrop(int dropAction) argument 291 private int dropAction = DnDConstants.ACTION_NONE; field in class:DropTargetDropEvent [all...] |
H A D | DropTargetDragEvent.java | 87 * @param dropAction The user drop action 91 * @throws IllegalArgumentException if dropAction is not one of 98 public DropTargetDragEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions) { argument 103 if (dropAction != DnDConstants.ACTION_NONE && 104 dropAction != DnDConstants.ACTION_COPY && 105 dropAction != DnDConstants.ACTION_MOVE && 106 dropAction != DnDConstants.ACTION_LINK 107 ) throw new IllegalArgumentException("dropAction" + dropAction); 113 this.dropAction 242 private int dropAction; field in class:DropTargetDragEvent [all...] |
H A D | DragSourceDropEvent.java | 74 dropAction = action; 102 dropAction = action; 148 public int getDropAction() { return dropAction; } 166 private int dropAction = DnDConstants.ACTION_NONE; field in class:DragSourceDropEvent
|
H A D | DragSourceDragEvent.java | 86 * The arguments {@code dropAction} and {@code action} should 92 * This constructor does not throw any exception for invalid {@code dropAction}, 97 * @param dropAction the user drop action. 112 public DragSourceDragEvent(DragSourceContext dsc, int dropAction, argument 118 this.dropAction = dropAction; 135 * The arguments {@code dropAction} and {@code action} should 141 * This constructor does not throw any exception for invalid {@code dropAction}, 146 * @param dropAction the user drop action. 162 public DragSourceDragEvent(DragSourceContext dsc, int dropAction, argument 262 private int dropAction = DnDConstants.ACTION_NONE; field in class:DragSourceDragEvent [all...] |
/openjdk9/jdk/src/java.desktop/unix/classes/sun/awt/X11/ |
H A D | XDropTargetProtocolListener.java | 30 int dropAction, int actions, 29 handleDropTargetNotification(XWindow xwindow, int x, int y, int dropAction, int actions, long[] formats, long nativeCtxt, int eventID) argument
|
H A D | XDropTargetContextPeer.java | 112 protected void doDropDone(boolean success, int dropAction, argument 127 dropAction)) { 251 int dropAction, int actions, 268 peer.postDropTargetEvent(component, x, y, dropAction, actions, formats, 250 handleDropTargetNotification(XWindow xwindow, int x, int y, int dropAction, int actions, long[] formats, long nativeCtxt, int eventID) argument
|
H A D | XDropTargetProtocol.java | 257 int dropAction); 256 sendDropDone(long ctxt, boolean success, int dropAction) argument
|
H A D | XDnDDropTargetProtocol.java | 856 public boolean sendDropDone(long ctxt, boolean success, int dropAction) { argument 868 if (dropAction == DnDConstants.ACTION_MOVE && success) { 902 msg.set_data(2, XDnDConstants.getXDnDActionForJavaAction(dropAction)); 1010 int dropAction, 1040 dropAction, 1009 notifyProtocolListener(XWindow xwindow, int x, int y, int dropAction, XClientMessageEvent xclient, int eventID) argument
|
H A D | MotifDnDDropTargetProtocol.java | 944 public boolean sendDropDone(long ctxt, boolean success, int dropAction) { argument 1054 int dropAction, int actions, 1071 dropAction, 1053 notifyProtocolListener(XWindow xwindow, int x, int y, int dropAction, int actions, XClientMessageEvent xclient, int eventID) argument
|
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/dnd/peer/ |
H A D | DropTargetContextPeer.java | 103 * @param dropAction the drop action 106 void acceptDrop(int dropAction); argument
|
/openjdk9/jdk/test/java/awt/dnd/ImageDecoratedDnD/ |
H A D | DnDSource.java | 37 private transient int dropAction; field in class:DnDSource 136 dropAction = dsde.getUserAction() & dsde.getDropAction(); 137 System.out.println("dropAction = " + dropAction); 160 dropAction = dsde.getUserAction() & dsde.getDropAction(); 161 System.out.println("dropAction = " + dropAction); 174 dropAction = dsde.getUserAction() & dsde.getDropAction(); 175 System.out.println("dropAction = " + dropAction); [all...] |
/openjdk9/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/ |
H A D | DnDSource.java | 37 private transient int dropAction; field in class:DnDSource 136 dropAction = dsde.getUserAction() & dsde.getDropAction(); 137 System.out.println("dropAction = " + dropAction); 160 dropAction = dsde.getUserAction() & dsde.getDropAction(); 161 System.out.println("dropAction = " + dropAction); 174 dropAction = dsde.getUserAction() & dsde.getDropAction(); 175 System.out.println("dropAction = " + dropAction); [all...] |
/openjdk9/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/ |
H A D | DnDSource.java | 41 private transient int dropAction; field in class:DnDSource 174 dropAction = dsde.getUserAction() & dsde.getDropAction(); 175 System.out.println("dropAction = " + dropAction); 198 dropAction = dsde.getUserAction() & dsde.getDropAction(); 199 System.out.println("dropAction = " + dropAction); 212 dropAction = dsde.getUserAction() & dsde.getDropAction(); 213 System.out.println("dropAction = " + dropAction); [all...] |
/openjdk9/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | CDropTargetContextPeer.java | 161 protected int postDropTargetEvent(Component component, int x, int y, int dropAction, argument 165 return super.postDropTargetEvent(component, x, y, dropAction, actions, formats, nativeCtxt, 170 protected void doDropDone(boolean success, int dropAction, boolean isLocal) { argument 173 dropDone(nativeDropTarget, fNativeDropTransfer, isLocal, success, dropAction); 199 private native void dropDone(long nativeDropTarget, long nativeDropTransfer, boolean isLocal, boolean success, int dropAction); argument
|
/openjdk9/jdk/src/java.desktop/share/classes/sun/awt/dnd/ |
H A D | SunDragSourceContextPeer.java | 256 final int dropAction = 262 dropAction, 390 int dropAction = DnDConstants.ACTION_NONE; 406 dropAction = DnDConstants.ACTION_LINK; break; 408 dropAction = DnDConstants.ACTION_COPY; break; 410 dropAction = DnDConstants.ACTION_MOVE; break; 413 dropAction = DnDConstants.ACTION_MOVE; 415 dropAction = DnDConstants.ACTION_COPY; 417 dropAction = DnDConstants.ACTION_LINK; 421 return dropAction [all...] |
H A D | SunDropTargetContextPeer.java | 299 final int dropAction, 302 return postDropTargetEvent(component, x, y, dropAction, actions, 428 final int dropAction, 431 return postDropTargetEvent(component, x, y, dropAction, actions, 503 final int dropAction, final int actions, 506 postDropTargetEvent(component, x, y, dropAction, actions, 567 final int dropAction, 576 new EventDispatcher(this, dropAction, actions, formats, nativeCtxt, 726 int dropAction, boolean isLocal); 742 private final int dropAction; field in class:SunDropTargetContextPeer.EventDispatcher 297 handleEnterMessage(final Component component, final int x, final int y, final int dropAction, final int actions, final long[] formats, final long nativeCtxt) argument 426 handleMotionMessage(final Component component, final int x, final int y, final int dropAction, final int actions, final long[] formats, final long nativeCtxt) argument 501 handleDropMessage(final Component component, final int x, final int y, final int dropAction, final int actions, final long[] formats, final long nativeCtxt) argument 565 postDropTargetEvent(final Component component, final int x, final int y, final int dropAction, final int actions, final long[] formats, final long nativeCtxt, final int eventID, final boolean dispatchType) argument 725 doDropDone(boolean success, int dropAction, boolean isLocal) argument 757 EventDispatcher(SunDropTargetContextPeer peer, int dropAction, int actions, long[] formats, long nativeCtxt, boolean dispatchType) argument [all...] |
/openjdk9/jdk/src/java.desktop/windows/classes/sun/awt/windows/ |
H A D | WDropTargetContextPeer.java | 92 protected void doDropDone(boolean success, int dropAction, argument 94 dropDone(getNativeDragContext(), success, dropAction);
|
/openjdk9/jdk/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_DnDDT.h | 171 jint x, jint y, jint dropAction, jint actions, 176 jint x, jint y, jint dropAction, 180 jint x, jint y, jint dropAction, jint actions,
|
H A D | awt_DnDDT.cpp | 1185 jint dropAction, jint actions, jlongArray formats, 1190 return env->CallIntMethod(self, dTCenter, component, x, y, dropAction, 1204 jint dropAction, jint actions, jlongArray formats, 1210 dropAction, actions, formats, nativeCtxt); 1215 jint dropAction, jint actions, jlongArray formats, 1221 dropAction, actions, formats, nativeCtxt); 1184 call_dTCenter(JNIEnv* env, jobject self, jobject component, jint x, jint y, jint dropAction, jint actions, jlongArray formats, jlong nativeCtxt) argument 1203 call_dTCmotion(JNIEnv* env, jobject self, jobject component, jint x, jint y, jint dropAction, jint actions, jlongArray formats, jlong nativeCtxt) argument 1214 call_dTCdrop(JNIEnv* env, jobject self, jobject component, jint x, jint y, jint dropAction, jint actions, jlongArray formats, jlong nativeCtxt) argument
|
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | TransferHandler.java | 220 private int dropAction = -1; field in class:TransferHandler.TransferSupport 283 dropAction = -1; 413 * @param dropAction the drop action 421 public void setDropAction(int dropAction) { argument 424 int action = dropAction & getSourceDropActions(); 427 throw new IllegalArgumentException("unsupported drop action: " + dropAction); 430 this.dropAction = dropAction; 456 return dropAction == -1 ? getUserDropAction() : dropAction; [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTextUI.java | 2310 private int dropAction = MOVE; field in class:BasicTextUI.TextTransferHandler 2530 dropAction = support.getDropAction(); 2539 dropAction = MOVE; 2564 if (dropAction == MOVE && c == exportComp && pos >= p0 && pos <= p1) {
|