Interface NodeChangeListener

All Superinterfaces:
EventListener

public interface NodeChangeListener
extends EventListener
This interface is used to handle preference node change events. The implementation of this interface can be installed by the Preferences instance.
Since:
1.4
See Also:
Preferences, NodeChangeEvent
  • Method Summary

    Modifier and Type Method Description
    void childAdded​(NodeChangeEvent e)
    This method gets called whenever a child node is added to another node.
    void childRemoved​(NodeChangeEvent e)
    This method gets called whenever a child node is removed from another node.
  • Method Details

    • childAdded

      void childAdded​(NodeChangeEvent e)
      This method gets called whenever a child node is added to another node.
      Parameters:
      e - the node change event.
    • childRemoved

      void childRemoved​(NodeChangeEvent e)
      This method gets called whenever a child node is removed from another node.
      Parameters:
      e - the node change event.