Class HistoryBrowserInterface.AppendChildCommand

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.w3c.dom.Node childNode
      The node to be appended.
      protected org.w3c.dom.Node oldNextSibling
      The node's previous next sibling.
      protected org.w3c.dom.Node oldParentNode
      The node's previous parent.
      protected org.w3c.dom.Node parentNode
      The node's new parent.
    • Constructor Summary

      Constructors 
      Constructor Description
      AppendChildCommand​(java.lang.String commandName, org.w3c.dom.Node parentNode, org.w3c.dom.Node childNode)
      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
    • Field Detail

      • oldParentNode

        protected org.w3c.dom.Node oldParentNode
        The node's previous parent.
      • oldNextSibling

        protected org.w3c.dom.Node oldNextSibling
        The node's previous next sibling.
      • parentNode

        protected org.w3c.dom.Node parentNode
        The node's new parent.
      • childNode

        protected org.w3c.dom.Node childNode
        The node to be appended.
    • Constructor Detail

      • AppendChildCommand

        public AppendChildCommand​(java.lang.String commandName,
                                  org.w3c.dom.Node parentNode,
                                  org.w3c.dom.Node childNode)
        Constructor.