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 11 jdk.unsupported.desktop.jmod - Unsupported Desktop Module
JDK 11 jdk.unsupported.desktop.jmod is the JMOD file for JDK 11 Unsupported Desktop module.
JDK 11 Unsupported Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.unsupported.desktop.jmod.
JDK 11 Unsupported Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Unsupported Desktop module source code files are stored in \fyicenter\jdk-11.0.1\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-11.0.1-src.zip File size: 7362 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.xml.dom.jmod - XML DOM Module
2022-06-28, ∼8237🔥, 3💬
Popular Posts:
What is jxl.jar 2.6.12? jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12, which is a Java li...
What Is commons-net-ftp-2.0.jar? commons-net-ftp-2.0.jar is the JAR file for Apache Commons Net FTP ...
JDK 11 java.base.jmod is the JMOD file for JDK 11 Base module. JDK 11 Base module compiled class fil...
XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...
xml-commons Resolver Source Code Files are provided in the source package file, xml-commons-resolver...