org.merlotxml.merlot
Interface MerlotNodeListener
- All Known Implementing Classes:
- DOMTreeTableAdapter, XMLEditorDocUI.EditorNodeListener
- public interface MerlotNodeListener
This interface provides a listener pattern for things that want to
observe the DOM object model and be notified of changes in that.
nodeInserted
public void nodeInserted(MerlotDOMNode parent,
int[] indices,
MerlotDOMNode[] children)
- notifies the listener that one or more nodes were inserted under the
given parent.
nodeRemoved
public void nodeRemoved(MerlotDOMNode parent,
int[] indices,
MerlotDOMNode[] children)
- notifies the listener that one or more nodes under the given parent
were deleted. Their previous indices are given.
nodeDeleted
public void nodeDeleted(MerlotDOMNode node)
nodeChanged
public void nodeChanged(MerlotDOMNode parent,
int[] indices,
MerlotDOMNode[] children)