NodeChangeListener (Java SE 13 & JDK 13 )
Description: declaration: module: java.prefs, package: java.util.prefs, interface: NodeChangeListener
Keywords: java.util.prefs.NodeChangeListener interface

Module java.prefs
Package java.util.prefs

# Interface NodeChangeListener

All Superinterfaces:
  `EventListener`

    public interface NodeChangeListener
    extends EventListener

A listener for receiving preference node change events.

Since:
  1.4
See Also:
  `Preferences`, `NodeChangeEvent`, `PreferenceChangeListener`

- ## 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.