java.util.prefs
Interface NodeChangeListener

All Superinterfaces:
EventListener sample code for java.util.EventListener definition code for java.util.EventListener

public interface NodeChangeListener
extends EventListener sample code for java.util.EventListener definition code for java.util.EventListener

A listener for receiving preference node change events.

Since:
1.4
See Also:
Preferences sample code for java.util.prefs.Preferences definition code for java.util.prefs.Preferences , NodeChangeEvent sample code for java.util.prefs.NodeChangeEvent definition code for java.util.prefs.NodeChangeEvent , PreferenceChangeListener sample code for java.util.prefs.PreferenceChangeListener definition code for java.util.prefs.PreferenceChangeListener

Method Summary
 void childAdded sample code for java.util.prefs.NodeChangeListener.childAdded(java.util.prefs.NodeChangeEvent) definition code for java.util.prefs.NodeChangeListener.childAdded(java.util.prefs.NodeChangeEvent) (NodeChangeEvent sample code for java.util.prefs.NodeChangeEvent definition code for java.util.prefs.NodeChangeEvent  evt)
          This method gets called when a child node is added.
 void childRemoved sample code for java.util.prefs.NodeChangeListener.childRemoved(java.util.prefs.NodeChangeEvent) definition code for java.util.prefs.NodeChangeListener.childRemoved(java.util.prefs.NodeChangeEvent) (NodeChangeEvent sample code for java.util.prefs.NodeChangeEvent definition code for java.util.prefs.NodeChangeEvent  evt)
          This method gets called when a child node is removed.
 

Method Detail

childAdded sample code for java.util.prefs.NodeChangeListener.childAdded(java.util.prefs.NodeChangeEvent) definition code for java.util.prefs.NodeChangeListener.childAdded(java.util.prefs.NodeChangeEvent)

void childAdded(NodeChangeEvent sample code for java.util.prefs.NodeChangeEvent definition code for java.util.prefs.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 sample code for java.util.prefs.NodeChangeListener.childRemoved(java.util.prefs.NodeChangeEvent) definition code for java.util.prefs.NodeChangeListener.childRemoved(java.util.prefs.NodeChangeEvent)

void childRemoved(NodeChangeEvent sample code for java.util.prefs.NodeChangeEvent definition code for java.util.prefs.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.