Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
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 (309)
Collections:
Other Resources:
JRE 8 rt.jar - java.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the java.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ java/awt/dnd/DragSourceEvent.java
/* * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.awt.dnd; import java.awt.Point; import java.util.EventObject; /** * This class is the base class for * <code>DragSourceDragEvent</code> and * <code>DragSourceDropEvent</code>. * <p> * <code>DragSourceEvent</code>s are generated whenever the drag enters, moves * over, or exits a drop site, when the drop action changes, and when the drag * ends. The location for the generated <code>DragSourceEvent</code> specifies * the mouse cursor location in screen coordinates at the moment this event * occurred. * <p> * In a multi-screen environment without a virtual device, the cursor location is * specified in the coordinate system of the <i>initiator</i> * <code>GraphicsConfiguration</code>. The <i>initiator</i> * <code>GraphicsConfiguration</code> is the <code>GraphicsConfiguration</code> * of the <code>Component</code> on which the drag gesture for the current drag * operation was recognized. If the cursor location is outside the bounds of * the initiator <code>GraphicsConfiguration</code>, the reported coordinates are * clipped to fit within the bounds of that <code>GraphicsConfiguration</code>. * <p> * In a multi-screen environment with a virtual device, the location is specified * in the corresponding virtual coordinate system. If the cursor location is * outside the bounds of the virtual device the reported coordinates are * clipped to fit within the bounds of the virtual device. * * @since 1.2 */ public class DragSourceEvent extends EventObject { private static final long serialVersionUID = -763287114604032641L; /** * The <code>boolean</code> indicating whether the cursor location * is specified for this event. * * @serial */ private final boolean locationSpecified; /** * The horizontal coordinate for the cursor location at the moment this * event occurred if the cursor location is specified for this event; * otherwise zero. * * @serial */ private final int x; /** * The vertical coordinate for the cursor location at the moment this event * occurred if the cursor location is specified for this event; * otherwise zero. * * @serial */ private final int y; /** * Construct a <code>DragSourceEvent</code> * given a specified <code>DragSourceContext</code>. * The coordinates for this <code>DragSourceEvent</code> * are not specified, so <code>getLocation</code> will return * <code>null</code> for this event. * * @param dsc the <code>DragSourceContext</code> * * @throws IllegalArgumentException if <code>dsc</code> is <code>null</code>. * * @see #getLocation */ public DragSourceEvent(DragSourceContext dsc) { super(dsc); locationSpecified = false; this.x = 0; this.y = 0; } /** * Construct a <code>DragSourceEvent</code> given a specified * <code>DragSourceContext</code>, and coordinates of the cursor * location. * * @param dsc the <code>DragSourceContext</code> * @param x the horizontal coordinate for the cursor location * @param y the vertical coordinate for the cursor location * * @throws IllegalArgumentException if <code>dsc</code> is <code>null</code>. * * @since 1.4 */ public DragSourceEvent(DragSourceContext dsc, int x, int y) { super(dsc); locationSpecified = true; this.x = x; this.y = y; } /** * This method returns the <code>DragSourceContext</code> that * originated the event. * <P> * @return the <code>DragSourceContext</code> that originated the event */ public DragSourceContext getDragSourceContext() { return (DragSourceContext)getSource(); } /** * This method returns a <code>Point</code> indicating the cursor * location in screen coordinates at the moment this event occurred, or * <code>null</code> if the cursor location is not specified for this * event. * * @return the <code>Point</code> indicating the cursor location * or <code>null</code> if the cursor location is not specified * @since 1.4 */ public Point getLocation() { if (locationSpecified) { return new Point(x, y); } else { return null; } } /** * This method returns the horizontal coordinate of the cursor location in * screen coordinates at the moment this event occurred, or zero if the * cursor location is not specified for this event. * * @return an integer indicating the horizontal coordinate of the cursor * location or zero if the cursor location is not specified * @since 1.4 */ public int getX() { return x; } /** * This method returns the vertical coordinate of the cursor location in * screen coordinates at the moment this event occurred, or zero if the * cursor location is not specified for this event. * * @return an integer indicating the vertical coordinate of the cursor * location or zero if the cursor location is not specified * @since 1.4 */ public int getY() { return y; } }
⏎ java/awt/dnd/DragSourceEvent.java
Or download all of them as a single archive file:
File name: jre-rt-java-1.8.0_191-src.zip File size: 6664831 bytes Release date: 2018-10-28 Download
⇒ JRE 8 rt.jar - javax.* Package Source Code
2023-08-23, 298811👍, 4💬
Popular Posts:
itextpdf.jar is a component in iText 5 Java library to provide core functionalities. iText Java libr...
JDK 11 jdk.charsets.jmod is the JMOD file for JDK 11 Charsets module. JDK 11 Charsets module compile...
JDK 11 jdk.jdeps.jmod is the JMOD file for JDK 11 JDeps tool, which can be invoked by the "jdeps" co...
Old version of xml-apis.jar. JAR File Size and Download Location: File name: xmlParserAPIs.jar File ...
What Is HttpComponents httpclient-4.2.2.jar? HttpComponents httpclient-4.2.2.jar is the JAR file for...