javax.swing.text
クラス DefaultStyledDocument.AttributeUndoableEdit
java.lang.Object
|
+--javax.swing.undo.AbstractUndoableEdit
|
+--javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
- すべての実装インタフェース:
- Serializable, UndoableEdit
- 含まれているクラス:
- DefaultStyledDocument
- public static class DefaultStyledDocument.AttributeUndoableEdit
- extends AbstractUndoableEdit
UndoableEdit は、Element の AttributeSet に加えられた変更を記憶するために使います。
- 関連項目:
- 直列化された形式
メソッドの概要 |
void |
redo()
変更を再び実行します。 |
void |
undo()
変更を元に戻します。 |
newAttributes
protected AttributeSet newAttributes
copy
protected AttributeSet copy
isReplacing
protected boolean isReplacing
element
protected Element element
DefaultStyledDocument.AttributeUndoableEdit
public DefaultStyledDocument.AttributeUndoableEdit(Element element,
AttributeSet newAttributes,
boolean isReplacing)
redo
public void redo()
throws CannotRedoException
- 変更を再び実行します。
- オーバーライド:
- クラス
AbstractUndoableEdit
内の redo
- 例外:
CannotRedoException
- 変更を再び実行できない場合
undo
public void undo()
throws CannotUndoException
- 変更を元に戻します。
- オーバーライド:
- クラス
AbstractUndoableEdit
内の undo
- 例外:
CannotUndoException
- 変更を元に戻せない場合
バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。 Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.