Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JDK 17 jdk.unsupported.desktop.jmod - Unsupported Desktop Module
JDK 17 jdk.unsupported.desktop.jmod is the JMOD file for JDK 17 Unsupported Desktop module.
JDK 17 Unsupported Desktop module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.unsupported.desktop.jmod.
JDK 17 Unsupported Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Unsupported Desktop module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.unsupported.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/swing/interop/DragSourceContextWrapper.java
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package jdk.swing.interop;
import java.awt.Cursor;
import java.awt.dnd.DragGestureEvent;
import java.awt.dnd.DragSourceContext;
import java.awt.dnd.peer.DragSourceContextPeer;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.DataFlavor;
import java.util.Map;
import sun.awt.dnd.SunDragSourceContextPeer;
/**
* This class provides a wrapper over inner DragSourceContextPeerProxy class
* which extends jdk internal sun.awt.dnd.SunDragSourceContextPeer class
* and provides APIs to be used by FX swing interop to access and use
* DragSourceContextPeer APIs.
*
* @since 11
*/
public abstract class DragSourceContextWrapper {
private DragSourceContextPeerProxy dsp;
public DragSourceContextWrapper(DragGestureEvent e) {
dsp = new DragSourceContextPeerProxy(e);
}
DragSourceContextPeer getPeer() {
return dsp;
}
public static int convertModifiersToDropAction(int modifiers,
int supportedActions) {
return DragSourceContextPeerProxy.
convertModifiersToDropAction(modifiers, supportedActions);
}
protected abstract void setNativeCursor(Cursor c, int cType);
protected abstract void startDrag(Transferable trans, long[] formats,
Map<Long, DataFlavor> formatMap);
public abstract void startSecondaryEventLoop();
public abstract void quitSecondaryEventLoop();
public void dragDropFinished(final boolean success,
final int operations,
final int x, final int y) {
dsp.dragDropFinishedCall(success, operations, x, y);
}
public DragSourceContext getDragSourceContext() {
return dsp.getDragSourceContextCall();
}
private class DragSourceContextPeerProxy extends SunDragSourceContextPeer {
public DragSourceContextPeerProxy(DragGestureEvent e) {
super(e);
}
protected void startDrag(Transferable trans, long[] formats,
Map<Long, DataFlavor> formatMap) {
DragSourceContextWrapper.this.startDrag(trans, formats, formatMap);
}
protected void setNativeCursor(long nativeCtxt, Cursor c, int cType) {
DragSourceContextWrapper.this.setNativeCursor(c, cType);
}
public void startSecondaryEventLoop() {
DragSourceContextWrapper.this.startSecondaryEventLoop();
}
public void quitSecondaryEventLoop() {
DragSourceContextWrapper.this.quitSecondaryEventLoop();
}
protected void dragDropFinishedCall(final boolean success,
final int operations,
final int x, final int y) {
dragDropFinished(success, operations, x, y);
}
protected DragSourceContext getDragSourceContextCall() {
return getDragSourceContext();
}
}
}
⏎ jdk/swing/interop/DragSourceContextWrapper.java
Or download all of them as a single archive file:
File name: jdk.unsupported.desktop-17.0.5-src.zip File size: 8021 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.xml.dom.jmod - XML DOM Module
2022-11-07, ∼3265🔥, 0💬
Popular Posts:
JDK 11 jdk.crypto.cryptoki.jmod is the JMOD file for JDK 11 Crypto Cryptoki module. JDK 11 Crypto KI...
How to download and install ojdbc11.jar for Oracle 21c? ojdbc11.jar for Oracle 21c is a Java JDBC Dr...
What Is poi-3.5.jar - Part 2? poi-3.5.jar is one of the JAR files for Apache POI 3.5, which provides...
How to show the XML parsing flow with sax\DocumentTracer.java provided in the Apache Xerces package?...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....