|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object javax.swing.undo.AbstractUndoableEdit javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
public static class DefaultStyledDocument.AttributeUndoableEdit
用于记住 AttributeSet 对 Element 更改的一个 UndoableEdit。
字段摘要 | |
---|---|
protected AttributeSet |
copy
|
protected Element |
element
|
protected boolean |
isReplacing
|
protected AttributeSet |
newAttributes
|
从类 javax.swing.undo.AbstractUndoableEdit 继承的字段 |
---|
RedoName, UndoName |
构造方法摘要 | |
---|---|
DefaultStyledDocument.AttributeUndoableEdit(Element element,
AttributeSet newAttributes,
boolean isReplacing)
|
方法摘要 | |
---|---|
void |
redo()
重复更改。 |
void |
undo()
撤消更改。 |
从类 javax.swing.undo.AbstractUndoableEdit 继承的方法 |
---|
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
protected AttributeSet newAttributes
protected AttributeSet copy
protected boolean isReplacing
protected Element element
构造方法详细信息 |
---|
public DefaultStyledDocument.AttributeUndoableEdit(Element element, AttributeSet newAttributes, boolean isReplacing)
方法详细信息 |
---|
public void redo() throws CannotRedoException
UndoableEdit
中的 redo
AbstractUndoableEdit
中的 redo
CannotRedoException
- 如果更改不可重复AbstractUndoableEdit.canRedo()
public void undo() throws CannotUndoException
UndoableEdit
中的 undo
AbstractUndoableEdit
中的 undo
CannotUndoException
- 如果更改不可撤消AbstractUndoableEdit.canUndo()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。