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 Modifier and Type 方法 描述 UndoableEditUndoableEditEvent. getEdit()返回编辑值。Constructors in javax.swing.event with parameters of type UndoableEdit Constructor 描述 UndoableEditEvent(Object source, UndoableEdit edit)构造一个UndoableEditEvent对象。 -
Uses of UndoableEdit in javax.swing.text
Classes in javax.swing.text that implement UndoableEdit Modifier and Type Class 描述 classAbstractDocument.DefaultDocumentEvent正在修改文档时存储文档更改。static classAbstractDocument.ElementEdit可以添加到文档事件中的ElementChange的实现。static classDefaultStyledDocument.AttributeUndoableEdit一个UndoableEdit用于记住对元素的AttributeSet更改。Methods in javax.swing.text that return UndoableEdit Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 booleanAbstractDocument.DefaultDocumentEvent. addEdit(UndoableEdit anEdit)添加文档编辑。 -
Uses of UndoableEdit in javax.swing.undo
Classes in javax.swing.undo that implement UndoableEdit Modifier and Type Class 描述 classAbstractUndoableEditUndoableEdit的抽象实现,实现对该接口中所有布尔方法的简单响应。classCompoundEditAbstractUndoableEdit的一个具体子类,用于将小的UndoableEdits组合成大型的。classStateEditStateEdit是更改状态的对象的一般编辑。classUndoManagerUndoManager管理列表UndoableEdits,提供了一种方法来撤消或恢复适当的编辑。Fields in javax.swing.undo with type parameters of type UndoableEdit Modifier and Type Field 描述 protected Vector<UndoableEdit>CompoundEdit. edits由UndoableEdit收集UndoableEdits undone /CompoundEdit。Methods in javax.swing.undo that return UndoableEdit Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 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)如果有可能,请添加一个UndoableEditUndoManager。voidUndoableEditSupport. postEdit(UndoableEdit e)死锁警告:调用此方法可能会在所有侦听器中调用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,更新下一次编辑的索引。
-