Uses of Class
javax.swing.undo.CannotUndoException
-
Packages that use CannotUndoException 软件包 描述 javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。javax.swing.undo 允许开发人员在文本编辑器等应用程序中提供撤消/重做的支持。 -
-
Uses of CannotUndoException in javax.swing.text
Methods in javax.swing.text that throw CannotUndoException Modifier and Type 方法 描述 void
AbstractDocument.DefaultDocumentEvent. undo()
撤消更改。void
AbstractDocument.ElementEdit. undo()
撤消更改。void
DefaultStyledDocument.AttributeUndoableEdit. undo()
撤消更改。 -
Uses of CannotUndoException in javax.swing.undo
Methods in javax.swing.undo that throw CannotUndoException Modifier and Type 方法 描述 void
AbstractUndoableEdit. undo()
抛出CannotUndoException
如果canUndo
回报false
。void
CompoundEdit. undo()
发送undo
所有包含UndoableEdits
,它们的添加顺序相反。void
UndoableEdit. undo()
撤消编辑。void
UndoManager. undo()
撤消相应的编辑。void
UndoManager. undoOrRedo()
调用undo
或redo
之一的方便方法。protected void
UndoManager. undoTo(UndoableEdit edit)
将下一次编辑索引的所有更改从edit
,更新下一次编辑的索引。
-