|
Java プラットフォーム 1.2 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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()
public void undo()
throws CannotUndoException
canUndo()public boolean canUndo()
die(),
undo(),
redo()
public void redo()
throws CannotRedoException
canRedo()public boolean canRedo()
die(),
undo(),
redo()public boolean addEdit(UndoableEdit anEdit)
UndoableEdit.addEdit(javax.swing.undo.UndoableEdit)public boolean replaceEdit(UndoableEdit anEdit)
UndoableEdit.replaceEdit(javax.swing.undo.UndoableEdit)public boolean isSignificant()
UndoableEdit.isSignificant()public String getPresentationName()
getUndoPresentationName(),
getRedoPresentationName()public String getUndoPresentationName()
getPresentationName()public String getRedoPresentationName()
getPresentationName()public String toString()
|
Java プラットフォーム 1.2 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||