Class HistoryBrowserInterface.AttributeRemovedCommand

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

public static class HistoryBrowserInterface.AttributeRemovedCommand extends AbstractUndoableCommand
Removes the attribute of an element (MutationEvent.REMOVAL)
  • Field Details

    • contextElement

      protected Element contextElement
      The context element.
    • attributeName

      protected String attributeName
      The attribute name.
    • prevValue

      protected String prevValue
      The previous attribute value.
    • namespaceURI

      protected String namespaceURI
      The namespaceURI.
  • Constructor Details

    • AttributeRemovedCommand

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