Class HistoryBrowserInterface.AttributeModifiedCommand

java.lang.Object
org.apache.batik.apps.svgbrowser.AbstractUndoableCommand
org.apache.batik.apps.svgbrowser.HistoryBrowserInterface.AttributeModifiedCommand
All Implemented Interfaces:
UndoableCommand
Enclosing class:
HistoryBrowserInterface

public static class HistoryBrowserInterface.AttributeModifiedCommand extends AbstractUndoableCommand
Modifies the attribute of an element (MutationEvent.MODIFICATION)
  • Field Details

    • contextElement

      protected Element contextElement
      The context element.
    • attributeName

      protected String attributeName
      The attribute name.
    • prevAttributeValue

      protected String prevAttributeValue
      Previous attribute value.
    • newAttributeValue

      protected String newAttributeValue
      New attribute value.
    • namespaceURI

      protected String namespaceURI
      The namespaceURI.
  • Constructor Details

    • AttributeModifiedCommand

      public AttributeModifiedCommand(String commandName, Element contextElement, String attributeName, String prevAttributeValue, String newAttributeValue, String namespaceURI)
      Constructor.
      Parameters:
      commandName - The name of this command.
      contextElement - The context element
      attributeName - The attribute name
      prevAttributeValue - The previous attribute value
      newAttributeValue - The new attribute value
      namespaceURI - The namespaceURI
  • Method Details