Class NodeSubstitute

  • All Implemented Interfaces:
    java.lang.Runnable

    public class NodeSubstitute
    extends java.lang.Object
    implements java.lang.Runnable
    This helper class will replace a node in an SVG plot. This is a Runnable to be put on the update queue.
    Since:
    0.2
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.w3c.dom.Element newe
      Replacement element.
      private org.w3c.dom.Element prev
      Existing element to replace.
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeSubstitute​(org.w3c.dom.Element prev, org.w3c.dom.Element newe)
      Setup a SVG node replacement.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • prev

        private org.w3c.dom.Element prev
        Existing element to replace.
      • newe

        private org.w3c.dom.Element newe
        Replacement element.
    • Constructor Detail

      • NodeSubstitute

        public NodeSubstitute​(org.w3c.dom.Element prev,
                              org.w3c.dom.Element newe)
        Setup a SVG node replacement.
        Parameters:
        prev - Existing element
        newe - New element
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable