Module org.autogui
Package org.autogui.swing.mapping
Class GuiReprValueDocumentEditor.ContentInsertEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.autogui.swing.mapping.GuiReprValueDocumentEditor.ContentInsertEdit
- All Implemented Interfaces:
Serializable
,UndoableEdit
- Enclosing class:
GuiReprValueDocumentEditor
an undoable insertion operation for
GuiReprValueDocumentEditor.StringBuilderContent
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorsConstructorDescriptionContentInsertEdit
(GuiReprValueDocumentEditor.StringBuilderContent content, int offset, int length, String str) -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Field Details
-
-
offset
protected int offset -
length
protected int length -
str
-
positions
-
-
Constructor Details
-
ContentInsertEdit
public ContentInsertEdit(GuiReprValueDocumentEditor.StringBuilderContent content, int offset, int length, String str)
-
-
Method Details
-
undo
- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
- Throws:
CannotUndoException
-
redo
- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
- Throws:
CannotRedoException
-