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 17 java.prefs.jmod - Prefs Module
JDK 17 java.prefs.jmod is the JMOD file for JDK 17 Prefs module.
JDK 17 Prefs module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.prefs.jmod.
JDK 17 Prefs module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Prefs module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.prefs.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/util/prefs/PreferenceChangeEvent.java
/* * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.util.prefs; import java.io.NotSerializableException; /** * An event emitted by a {@code Preferences} node to indicate that * a preference has been added, removed or has had its value changed.<p> * * Note, that although PreferenceChangeEvent inherits Serializable interface * from EventObject, it is not intended to be Serializable. Appropriate * serialization methods are implemented to throw NotSerializableException. * * @author Josh Bloch * @see Preferences * @see PreferenceChangeListener * @see NodeChangeEvent * @since 1.4 * @serial exclude */ public class PreferenceChangeEvent extends java.util.EventObject { /** * Key of the preference that changed. * * @serial */ private String key; /** * New value for preference, or {@code null} if it was removed. * * @serial */ private String newValue; /** * Constructs a new {@code PreferenceChangeEvent} instance. * * @param node The Preferences node that emitted the event. * @param key The key of the preference that was changed. * @param newValue The new value of the preference, or {@code null} * if the preference is being removed. */ public PreferenceChangeEvent(Preferences node, String key, String newValue) { super(node); this.key = key; this.newValue = newValue; } /** * Returns the preference node that emitted the event. * * @return The preference node that emitted the event. */ public Preferences getNode() { return (Preferences) getSource(); } /** * Returns the key of the preference that was changed. * * @return The key of the preference that was changed. */ public String getKey() { return key; } /** * Returns the new value for the preference. * * @return The new value for the preference, or {@code null} if the * preference was removed. */ public String getNewValue() { return newValue; } /** * Throws NotSerializableException, since NodeChangeEvent objects * are not intended to be serializable. */ private void writeObject(java.io.ObjectOutputStream out) throws NotSerializableException { throw new NotSerializableException("Not serializable."); } /** * Throws NotSerializableException, since PreferenceChangeEvent objects * are not intended to be serializable. */ private void readObject(java.io.ObjectInputStream in) throws NotSerializableException { throw new NotSerializableException("Not serializable."); } // Defined so that this class isn't flagged as a potential problem when // searches for missing serialVersionUID fields are done. private static final long serialVersionUID = 793724513368024975L; }
⏎ java/util/prefs/PreferenceChangeEvent.java
Or download all of them as a single archive file:
File name: java.prefs-17.0.5-src.zip File size: 55811 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.rmi.jmod - RMI Module
2023-11-06, 2100👍, 0💬
Popular Posts:
commons-io-2.6-sources.j aris the source JAR file for Apache Commons IO 2.6, which is a library of u...
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
Xalan-Java, Version 2.7.1, is an XSLT processor for transforming XML documents into HTML, text, or o...
How to display types defined in an XML Schema file with the xs\QueryXS.java provided in the Apache X...
JDK 17 java.xml.jmod is the JMOD file for JDK 17 XML (eXtensible Markup Language) module. JDK 17 XML...