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:
JDK 11 java.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/swing/event/HyperlinkEvent.java
/* * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.swing.event; import java.awt.event.InputEvent; import java.util.EventObject; import java.net.URL; import javax.swing.text.Element; /** * HyperlinkEvent is used to notify interested parties that * something has happened with respect to a hypertext link. * <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 Timothy Prinzing */ @SuppressWarnings("serial") // Same-version serialization only public class HyperlinkEvent extends EventObject { /** * Creates a new object representing a hypertext link event. * The other constructor is preferred, as it provides more * information if a URL could not be formed. This constructor * is primarily for backward compatibility. * * @param source the object responsible for the event * @param type the event type * @param u the affected URL */ public HyperlinkEvent(Object source, EventType type, URL u) { this(source, type, u, null); } /** * Creates a new object representing a hypertext link event. * * @param source the object responsible for the event * @param type the event type * @param u the affected URL. This may be null if a valid URL * could not be created. * @param desc the description of the link. This may be useful * when attempting to form a URL resulted in a MalformedURLException. * The description provides the text used when attempting to form the * URL. */ public HyperlinkEvent(Object source, EventType type, URL u, String desc) { this(source, type, u, desc, null); } /** * Creates a new object representing a hypertext link event. * * @param source the object responsible for the event * @param type the event type * @param u the affected URL. This may be null if a valid URL * could not be created. * @param desc the description of the link. This may be useful * when attempting to form a URL resulted in a MalformedURLException. * The description provides the text used when attempting to form the * URL. * @param sourceElement Element in the Document representing the * anchor * @since 1.4 */ public HyperlinkEvent(Object source, EventType type, URL u, String desc, Element sourceElement) { super(source); this.type = type; this.u = u; this.desc = desc; this.sourceElement = sourceElement; } /** * Creates a new object representing a hypertext link event. * * @param source the object responsible for the event * @param type the event type * @param u the affected URL. This may be null if a valid URL * could not be created. * @param desc the description of the link. This may be useful * when attempting to form a URL resulted in a MalformedURLException. * The description provides the text used when attempting to form the * URL. * @param sourceElement Element in the Document representing the * anchor * @param inputEvent InputEvent that triggered the hyperlink event * @since 1.7 */ public HyperlinkEvent(Object source, EventType type, URL u, String desc, Element sourceElement, InputEvent inputEvent) { super(source); this.type = type; this.u = u; this.desc = desc; this.sourceElement = sourceElement; this.inputEvent = inputEvent; } /** * Gets the type of event. * * @return the type */ public EventType getEventType() { return type; } /** * Get the description of the link as a string. * This may be useful if a URL can't be formed * from the description, in which case the associated * URL would be null. * * @return the description of this link as a {@code String} */ public String getDescription() { return desc; } /** * Gets the URL that the link refers to. * * @return the URL */ public URL getURL() { return u; } /** * Returns the <code>Element</code> that corresponds to the source of the * event. This will typically be an <code>Element</code> representing * an anchor. If a constructor that is used that does not specify a source * <code>Element</code>, or null was specified as the source * <code>Element</code>, this will return null. * * @return Element indicating source of event, or null * @since 1.4 */ public Element getSourceElement() { return sourceElement; } /** * Returns the {@code InputEvent} that triggered the hyperlink event. * This will typically be a {@code MouseEvent}. If a constructor is used * that does not specify an {@code InputEvent}, or @{code null} * was specified as the {@code InputEvent}, this returns {@code null}. * * @return InputEvent that triggered the hyperlink event, or null * @since 1.7 */ public InputEvent getInputEvent() { return inputEvent; } private EventType type; private URL u; private String desc; private Element sourceElement; private InputEvent inputEvent; /** * Defines the ENTERED, EXITED, and ACTIVATED event types, along * with their string representations, returned by toString(). */ public static final class EventType { private EventType(String s) { typeString = s; } /** * Entered type. */ public static final EventType ENTERED = new EventType("ENTERED"); /** * Exited type. */ public static final EventType EXITED = new EventType("EXITED"); /** * Activated type. */ public static final EventType ACTIVATED = new EventType("ACTIVATED"); /** * Converts the type to a string. * * @return the string */ public String toString() { return typeString; } private String typeString; } }
⏎ javax/swing/event/HyperlinkEvent.java
Or download all of them as a single archive file:
File name: java.desktop-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, 194892👍, 5💬
Popular Posts:
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time. Her...
JSP(tm) Standard Tag Library 1.0 implementation - Jakarta Taglibs hosts the Standard Taglib 1.0, an ...
xml-commons External Source Code Files are provided in the source package file, xml-commons-external...
JDK 11 jdk.jlink.jmod is the JMOD file for JDK 11 JLink tool, which can be invoked by the "jlink" co...
Apache Log4j SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implemen...