Uses of Interface
javax.swing.undo.UndoableEdit
-
Packages that use UndoableEdit 软件包 描述 javax.swing.event 提供由Swing组件触发的事件。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。javax.swing.undo 允许开发人员在文本编辑器等应用程序中为撤消/重做提供支持。 -
-
Uses of UndoableEdit in javax.swing.event
Methods in javax.swing.event that return UndoableEdit 变量和类型 方法 描述 UndoableEditUndoableEditEvent. getEdit()返回编辑值。Constructors in javax.swing.event with parameters of type UndoableEdit 构造器 描述 UndoableEditEvent(Object source, UndoableEdit edit)构造一个UndoableEditEvent对象。 -
Uses of UndoableEdit in javax.swing.text
Classes in javax.swing.text that implement UndoableEdit 变量和类型 类 描述 classAbstractDocument.DefaultDocumentEvent在修改文档时存储文档更改。static classAbstractDocument.ElementEdit可以添加到文档事件的ElementChange的实现。static classDefaultStyledDocument.AttributeUndoableEditUndoableEdit用于记住对Element的AttributeSet更改。Methods in javax.swing.text that return UndoableEdit 变量和类型 方法 描述 UndoableEditAbstractDocument.Content. insertString(int where, String str)在序列中插入一串字符。UndoableEditGapContent. insertString(int where, String str)在内容中插入字符串。UndoableEditStringContent. insertString(int where, String str)在内容中插入字符串。UndoableEditAbstractDocument.Content. remove(int where, int nitems)删除序列的某些部分。UndoableEditGapContent. remove(int where, int nitems)删除部分内容。UndoableEditStringContent. remove(int where, int nitems)删除部分内容。Methods in javax.swing.text with parameters of type UndoableEdit 变量和类型 方法 描述 booleanAbstractDocument.DefaultDocumentEvent. addEdit(UndoableEdit anEdit)添加文档编辑。 -
Uses of UndoableEdit in javax.swing.undo
Classes in javax.swing.undo that implement UndoableEdit 变量和类型 类 描述 classAbstractUndoableEditUndoableEdit的抽象实现,实现对该接口中所有布尔方法的简单响应。classCompoundEditAbstractUndoableEdit的一个具体子类,用于将很少的UndoableEdits组装成大的。classStateEditStateEdit是对更改状态的对象的常规编辑。classUndoManagerUndoManager管理列表UndoableEdits,提供了一种方法来撤消或恢复适当的编辑。Fields in javax.swing.undo with type parameters of type UndoableEdit 变量和类型 字段 描述 protected Vector<UndoableEdit>CompoundEdit. edits收集UndoableEdit撤消/恢复集体通过这一CompoundEdit。Methods in javax.swing.undo that return UndoableEdit 变量和类型 方法 描述 protected UndoableEditUndoManager. editToBeRedone()如果调用redo则返回要重做的下一个重要编辑。protected UndoableEditUndoManager. editToBeUndone()如果调用undo则返回要撤消的下一个重要编辑。protected UndoableEditCompoundEdit. lastEdit()返回最后UndoableEdit在edits,或null如果edits是空的。Methods in javax.swing.undo with parameters of type UndoableEdit 变量和类型 方法 描述 protected voidUndoableEditSupport. _postEdit(UndoableEdit e)仅来自postEdit和endUpdate。booleanAbstractUndoableEdit. addEdit(UndoableEdit anEdit)此默认实现返回false。booleanCompoundEdit. addEdit(UndoableEdit anEdit)如果此编辑为inProgress,则接受anEdit并返回true。booleanUndoableEdit. addEdit(UndoableEdit anEdit)添加UndoableEdit到这个UndoableEdit。booleanUndoManager. addEdit(UndoableEdit anEdit)如果可能的话,将UndoableEdit添加到此UndoManager。voidUndoableEditSupport. postEdit(UndoableEdit e)DEADLOCK警告:调用此方法可能会在所有侦听器中调用undoableEditHappened。protected voidUndoManager. redoTo(UndoableEdit edit)重做从下一个编辑的索引的所有变化edit,适当地更新下一个编辑的索引。booleanAbstractUndoableEdit. replaceEdit(UndoableEdit anEdit)此默认实现返回false。booleanUndoableEdit. replaceEdit(UndoableEdit anEdit)如果此UndoableEdit应替换anEdit则返回true。protected voidUndoManager. undoTo(UndoableEdit edit)撤消从下一个编辑索引到edit所有更改,适当更新下一个编辑的索引。
-