public static class DefaultStyledDocument.AttributeUndoableEdit extends AbstractUndoableEdit
| Modifier and Type | Field and Description |
|---|---|
protected AttributeSet |
copy |
protected Element |
element |
protected boolean |
isReplacing |
protected AttributeSet |
newAttributes |
RedoName, UndoName| Constructor and Description |
|---|
AttributeUndoableEdit(Element element,
AttributeSet newAttributes,
boolean isReplacing) |
| Modifier and Type | Method and Description |
|---|---|
void |
redo()
Redoes a change.
|
void |
undo()
Undoes a change.
|
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toStringprotected AttributeSet newAttributes
protected AttributeSet copy
protected boolean isReplacing
protected Element element
public AttributeUndoableEdit(Element element, AttributeSet newAttributes, boolean isReplacing)
public void redo()
throws CannotRedoException
redo in interface UndoableEditredo in class AbstractUndoableEditCannotRedoException - if the change cannot be redoneAbstractUndoableEdit.canRedo()public void undo()
throws CannotUndoException
undo in interface UndoableEditundo in class AbstractUndoableEditCannotUndoException - if the change cannot be undoneAbstractUndoableEdit.canUndo()Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.