public static class DefaultStyledDocument.AttributeUndoableEdit extends AbstractUndoableEdit
An UndoableEdit used to remember AttributeSet changes to an Element.
protected AttributeSet newAttributes
protected AttributeSet copy
protected boolean isReplacing
protected Element element
public AttributeUndoableEdit(Element element,
AttributeSet newAttributes,
boolean isReplacing) public void redo()
throws CannotRedoException Redoes a change.
redo in interface UndoableEdit
redo in class AbstractUndoableEdit
CannotRedoException - if the change cannot be redoneAbstractUndoableEdit.canRedo()public void undo()
throws CannotUndoException Undoes a change.
undo in interface UndoableEdit
undo in class AbstractUndoableEdit
CannotUndoException - if the change cannot be undoneAbstractUndoableEdit.canUndo()
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.