OpenJDK 27
java.desktop
sun.swing.text
UndoableEditLockSupport
APIdia Launch Partner
Top
Description
Methods
sun.swing.text
public
Interface UndoableEditLockSupport
extends
UndoableEdit
Known Direct Implementers
javax.
swing.
text.
AbstractDocument.
DefaultDocumentEventUndoableWrapper
Imports
javax.
swing.
undo.
UndoableEdit
UndoableEdit support for undo/redo actions synchronization
Since
9
Method Summary
Modifier and Type
Method and Description
public
void
lockEdit
()
lock the UndoableEdit for threadsafe undo/redo
public
void
unlockEdit
()
unlock the UndoableEdit
Inherited from
javax.swing.undo.UndoableEdit
:
addEdit
canRedo
canUndo
die
getPresentationName
getRedoPresentationName
getUndoPresentationName
isSignificant
redo
replaceEdit
undo
Method Detail
lockEdit
back to summary
public
void
lockEdit
()
lock the UndoableEdit for threadsafe undo/redo
unlockEdit
back to summary
public
void
unlockEdit
()
unlock the UndoableEdit