Class HistoryBrowserInterface.AttributeAddedCommand

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

public static class HistoryBrowserInterface.AttributeAddedCommand extends AbstractUndoableCommand
Adds the attribute to an element (MutationEvent.ADDITION)
  • Field Details

    • contextElement

      protected Element contextElement
      The context element.
    • attributeName

      protected String attributeName
      The attribute name.
    • newValue

      protected String newValue
      The attribute value.
    • namespaceURI

      protected String namespaceURI
      The namespaceURI.
  • Constructor Details

    • AttributeAddedCommand

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