Name
NodeChangeListener
Synopsis
This
interface
defines the methods that an object must implement if it wants to be
notified when a child preferences node is added to or removed from a
Preferences
object. When such an addition or
removal occurs, the parent Preferences
object
passes a NodeChangeEvent
object to the appropriate
method of any NodeChangeListener
objects that have
been registered through the
Preferences.addNodeChangeListener( )
method.
Figure 16-128. java.util.prefs.NodeChangeListener
public interface NodeChangeListener extends java.util.EventListener { // Public Instance Methods void childAdded(NodeChangeEvent evt); void childRemoved(NodeChangeEvent evt); }
Passed To
AbstractPreferences.{addNodeChangeListener( )
,
removeNodeChangeListener( )}
,
Preferences.{addNodeChangeListener( )
,
removeNodeChangeListener( )}
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.