org.merlotxml.merlot
Class XMLEditorDocUI.EditorNodeListener

java.lang.Object
  |
  +--org.merlotxml.merlot.XMLEditorDocUI.EditorNodeListener
Enclosing class:
XMLEditorDocUI

public class XMLEditorDocUI.EditorNodeListener
extends java.lang.Object
implements MerlotNodeListener


Constructor Summary
XMLEditorDocUI.EditorNodeListener(MerlotDOMNode parent, MerlotDOMNode node, javax.swing.JPanel edit, javax.swing.JPanel tab)
           
 
Method Summary
 void nodeChanged(MerlotDOMNode parent, int[] indices, MerlotDOMNode[] children)
           
 void nodeDeleted(MerlotDOMNode node)
           
 void nodeInserted(MerlotDOMNode parent, int[] indices, MerlotDOMNode[] children)
          notifies the listener that one or more nodes were inserted under the given parent.
 void nodeRemoved(MerlotDOMNode parent, int[] indices, MerlotDOMNode[] children)
          notifies the listener that one or more nodes under the given parent were deleted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLEditorDocUI.EditorNodeListener

public XMLEditorDocUI.EditorNodeListener(MerlotDOMNode parent,
                                         MerlotDOMNode node,
                                         javax.swing.JPanel edit,
                                         javax.swing.JPanel tab)
Method Detail

nodeInserted

public void nodeInserted(MerlotDOMNode parent,
                         int[] indices,
                         MerlotDOMNode[] children)
Description copied from interface: MerlotNodeListener
notifies the listener that one or more nodes were inserted under the given parent.
Specified by:
nodeInserted in interface MerlotNodeListener

nodeRemoved

public void nodeRemoved(MerlotDOMNode parent,
                        int[] indices,
                        MerlotDOMNode[] children)
Description copied from interface: MerlotNodeListener
notifies the listener that one or more nodes under the given parent were deleted. Their previous indices are given.
Specified by:
nodeRemoved in interface MerlotNodeListener

nodeChanged

public void nodeChanged(MerlotDOMNode parent,
                        int[] indices,
                        MerlotDOMNode[] children)
Specified by:
nodeChanged in interface MerlotNodeListener

nodeDeleted

public void nodeDeleted(MerlotDOMNode node)
Specified by:
nodeDeleted in interface MerlotNodeListener