W3cubDocs

/OpenJDK 21

Interface NodeChangeListener

All Superinterfaces:
EventListener
public interface NodeChangeListener extends EventListener
A listener for receiving preference node change events.
Since:
1.4
See Also:

Method Summary

Modifier and Type Method Description
void childAdded(NodeChangeEvent evt)
This method gets called when a child node is added.
void childRemoved(NodeChangeEvent evt)
This method gets called when a child node is removed.

Method Details

childAdded

void childAdded(NodeChangeEvent evt)
This method gets called when a child node is added.
Parameters:
evt - A node change event object describing the parent and child node.

childRemoved

void childRemoved(NodeChangeEvent evt)
This method gets called when a child node is removed.
Parameters:
evt - A node change event object describing the parent and child node.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.prefs/java/util/prefs/NodeChangeListener.html