org.apache.batik.apps.svgbrowser
public static class HistoryBrowserInterface.AttributeAddedCommand extends AbstractUndoableCommand
Field Summary | |
---|---|
protected String | attributeName
The attribute name. |
protected Element | contextElement
The context element. |
protected String | namespaceURI
The namespaceURI. |
protected String | newValue
The attribute value. |
Constructor Summary | |
---|---|
AttributeAddedCommand(String commandName, Element contextElement, String attributeName, String newAttributeValue, String namespaceURI)
Constructor.
|
Method Summary | |
---|---|
void | execute() |
void | redo() |
boolean | shouldExecute() |
void | undo() |
Parameters: commandName The name of this command. contextElement The context element attributeName The attribute name newAttributeValue The attribute value namespaceURI The namespaceURI