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:
JRE 8 rt.jar - javax.* 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 javax.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ javax/swing/event/MenuDragMouseEvent.java
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.swing.event;
import javax.swing.MenuElement;
import javax.swing.MenuSelectionManager;
import java.util.EventObject;
import java.awt.event.MouseEvent;
import java.awt.Component;
/**
* MenuDragMouseEvent is used to notify interested parties that
* the menu element has received a MouseEvent forwarded to it
* under drag conditions.
* <p>
* <strong>Warning:</strong>
* Serialized objects of this class will not be compatible with
* future Swing releases. The current serialization support is
* appropriate for short term storage or RMI between applications running
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
* has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*
* @author Georges Saab
*/
@SuppressWarnings("serial")
public class MenuDragMouseEvent extends MouseEvent {
private MenuElement path[];
private MenuSelectionManager manager;
/**
* Constructs a MenuDragMouseEvent object.
* <p>Absolute coordinates xAbs and yAbs are set to source's location on screen plus
* relative coordinates x and y. xAbs and yAbs are set to zero if the source is not showing.
*
* @param source the Component that originated the event
* (typically <code>this</code>)
* @param id an int specifying the type of event, as defined
* in {@link java.awt.event.MouseEvent}
* @param when a long identifying the time the event occurred
* @param modifiers an int specifying any modifier keys held down,
* as specified in {@link java.awt.event.InputEvent}
* @param x an int specifying the horizontal position at which
* the event occurred, in pixels
* @param y an int specifying the vertical position at which
* the event occurred, in pixels
* @param clickCount an int specifying the number of mouse-clicks
* @param popupTrigger a boolean -- true if the event {should?/did?}
* trigger a popup
* @param p an array of MenuElement objects specifying a path
* to a menu item affected by the drag
* @param m a MenuSelectionManager object that handles selections
* @see MouseEvent#MouseEvent(java.awt.Component, int, long, int, int, int, int, int, int, boolean, int)
*/
public MenuDragMouseEvent(Component source, int id, long when,
int modifiers, int x, int y, int clickCount,
boolean popupTrigger, MenuElement p[],
MenuSelectionManager m) {
super(source, id, when, modifiers, x, y, clickCount, popupTrigger);
path = p;
manager = m;
}
/**
* Constructs a MenuDragMouseEvent object.
* <p>Even if inconsistent values for relative and absolute coordinates are
* passed to the constructor, the MenuDragMouseEvent instance is still
* created.
* @param source the Component that originated the event
* (typically <code>this</code>)
* @param id an int specifying the type of event, as defined
* in {@link java.awt.event.MouseEvent}
* @param when a long identifying the time the event occurred
* @param modifiers an int specifying any modifier keys held down,
* as specified in {@link java.awt.event.InputEvent}
* @param x an int specifying the horizontal position at which
* the event occurred, in pixels
* @param y an int specifying the vertical position at which
* the event occurred, in pixels
* @param xAbs an int specifying the horizontal absolute position at which
* the event occurred, in pixels
* @param yAbs an int specifying the vertical absolute position at which
* the event occurred, in pixels
* @param clickCount an int specifying the number of mouse-clicks
* @param popupTrigger a boolean -- true if the event {should?/did?}
* trigger a popup
* @param p an array of MenuElement objects specifying a path
* to a menu item affected by the drag
* @param m a MenuSelectionManager object that handles selections
* @see MouseEvent#MouseEvent(java.awt.Component, int, long, int, int, int, int, int, int, boolean, int)
* @since 1.6
*/
public MenuDragMouseEvent(Component source, int id, long when,
int modifiers, int x, int y, int xAbs,
int yAbs, int clickCount,
boolean popupTrigger, MenuElement p[],
MenuSelectionManager m) {
super(source, id, when, modifiers, x, y, xAbs, yAbs, clickCount,
popupTrigger, MouseEvent.NOBUTTON);
path = p;
manager = m;
}
/**
* Returns the path to the selected menu item.
*
* @return an array of MenuElement objects representing the path value
*/
public MenuElement[] getPath() {
return path;
}
/**
* Returns the current menu selection manager.
*
* @return a MenuSelectionManager object
*/
public MenuSelectionManager getMenuSelectionManager() {
return manager;
}
}
⏎ javax/swing/event/MenuDragMouseEvent.java
Or download all of them as a single archive file:
File name: jre-rt-javax-1.8.0_191-src.zip File size: 5381005 bytes Release date: 2018-10-28 Download
⇒ JRE 8 rt.jar - org.* Package Source Code
2024-07-16, ≈573🔥, 7💬
Popular Posts:
JUnit Source Code Files are provided in the source package file, junit-4.13.2-sources.jar .You can b...
What Is ojdbc7.jar for Oracle 12c R1? ojdbc7.jar for Oracle 12c R1 is the JAR files of ojdbc.jar, JD...
How to download and install JDK (Java Development Kit) 1.3? If you want to write Java applications, ...
JDK 11 java.smartcardio.jmod is the JMOD file for JDK 11 Smartcardio module. JDK 11 Smart Card IO mo...
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...