java.util.prefs

Interface NodeChangeListener

public interface NodeChangeListener extends EventListener

EventListener for Preferences node addition/removal.

Note that these events are only generated for the addition and removal of sub nodes from the preference node. Entry changes in the preference node can be monitored with a PreferenceChangeListener.

Since: 1.4

Method Summary
voidchildAdded(NodeChangeEvent event)
Fired when a sub node is added to the preference node.
voidchildRemoved(NodeChangeEvent event)
Fired when a sub node is removed from the preference node.

Method Detail

childAdded

public void childAdded(NodeChangeEvent event)
Fired when a sub node is added to the preference node.

childRemoved

public void childRemoved(NodeChangeEvent event)
Fired when a sub node is removed from the preference node.