Class HistoryBrowserInterface.NodeInsertedCommand

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.w3c.dom.Node contextNode
      The node to be appended.
      protected org.w3c.dom.Node newParent
      The node's new parent.
      protected org.w3c.dom.Node newSibling
      The node's next sibling.
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeInsertedCommand​(java.lang.String commandName, org.w3c.dom.Node parent, org.w3c.dom.Node sibling, org.w3c.dom.Node contextNode)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Executes this command.
      void redo()
      Performs redo for this command.
      boolean shouldExecute()
      Tests if the command can be executed.
      void undo()
      Performs undo for this command.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait