|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object | +--javax.swing.undo.AbstractUndoableEdit
UndoableEdit の抽象実装で、このインタフェースのすべての boolean 型メソッドに対して簡単な応答を実装します。
| フィールドの概要 | |
protected static String |
RedoName
getRedoPresentationName() によって返される文字列です。 |
protected static String |
UndoName
getUndoPresentationName() によって返される文字列です。 |
| コンストラクタの概要 | |
AbstractUndoableEdit()
|
|
| メソッドの概要 | |
boolean |
addEdit(UndoableEdit anEdit)
このデフォルト実装は false を返します。 |
boolean |
canRedo()
この編集結果が生存状態にあり、実行済みフラグが false の場合に、true を返します。 |
boolean |
canUndo()
この編集結果が生存状態にあり、実行済みフラグが true の場合に、true を返します。 |
void |
die()
生存フラグを false に設定します。 |
String |
getPresentationName()
デフォルト実装は "" を返します。 |
String |
getRedoPresentationName()
getPresentationName() が "" を返すと、AbstractUndoableEdit.RedoName を返します。 |
String |
getUndoPresentationName()
getPresentationName() が "" を返すと、AbstractUndoableEdit.UndoName を返します。 |
boolean |
isSignificant()
このデフォルト実装は true を返します。 |
void |
redo()
canRedo() が false を返すと、CannotRedoException をスローします。 |
boolean |
replaceEdit(UndoableEdit anEdit)
このデフォルト実装は false を返します。 |
String |
toString()
このオブジェクトのプロパティを表示および識別する文字列を返します。 |
void |
undo()
canUndo() が false を返すと、CannotUndoException をスローします。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
protected static final String UndoName
protected static final String RedoName
| コンストラクタの詳細 |
public AbstractUndoableEdit()
| メソッドの詳細 |
public void die()
UndoableEdit 内の diejavax.swing.undo.UndoableEdit からコピーされたタグ:CompoundEdit.die()
public void undo()
throws CannotUndoException
UndoableEdit 内の undocanUndo()public boolean canUndo()
UndoableEdit 内の canUndodie(),
undo(),
redo()
public void redo()
throws CannotRedoException
UndoableEdit 内の redocanRedo()public boolean canRedo()
UndoableEdit 内の canRedodie(),
undo(),
redo()public boolean addEdit(UndoableEdit anEdit)
UndoableEdit 内の addEditUndoableEdit.addEdit(javax.swing.undo.UndoableEdit)public boolean replaceEdit(UndoableEdit anEdit)
UndoableEdit 内の replaceEditUndoableEdit.replaceEdit(javax.swing.undo.UndoableEdit)public boolean isSignificant()
UndoableEdit 内の isSignificantUndoableEdit.isSignificant()public String getPresentationName()
UndoableEdit 内の getPresentationNamegetUndoPresentationName(),
getRedoPresentationName()public String getUndoPresentationName()
UndoableEdit 内の getUndoPresentationNamegetPresentationName()public String getRedoPresentationName()
UndoableEdit 内の getRedoPresentationNamegetPresentationName()public String toString()
Object 内の toString
|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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.