Class HistoryBrowserInterface.CharDataModifiedCommand

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.w3c.dom.Node contextNode
      The node whose value changed.
      protected java.lang.String newValue
      New node value.
      protected java.lang.String oldValue
      Old node value.
    • Constructor Summary

      Constructors 
      Constructor Description
      CharDataModifiedCommand​(java.lang.String commandName, org.w3c.dom.Node contextNode, java.lang.String oldValue, java.lang.String newValue)
      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

      • contextNode

        protected org.w3c.dom.Node contextNode
        The node whose value changed.
      • oldValue

        protected java.lang.String oldValue
        Old node value.
      • newValue

        protected java.lang.String newValue
        New node value.
    • Constructor Detail

      • CharDataModifiedCommand

        public CharDataModifiedCommand​(java.lang.String commandName,
                                       org.w3c.dom.Node contextNode,
                                       java.lang.String oldValue,
                                       java.lang.String newValue)
        Constructor.
        Parameters:
        commandName - The command name
        contextNode - Context node
        oldValue - Old node value
        newValue - New node value