|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.rules.sdk2.dictionary.UndoableEdit
public class UndoableEdit
Simplified version of javax.swing.undo.UndoableEdit. A swing app should delegate to this class.
Note that undo and redo operations rollback any updates in progress on the RuleDictionary that generated the UndoableEdit.
| Method Summary | |
|---|---|
boolean |
addEdit(javax.swing.undo.UndoableEdit anEdit) |
boolean |
canRedo()True if it is still possible to redo this operation. |
boolean |
canUndo()True if it is still possible to undo this operation. |
void |
die()May be sent to inform an edit that it should no longer be used. |
java.lang.String |
getPresentationName() |
java.lang.String |
getRedoPresentationName() |
java.lang.String |
getUndoPresentationName() |
boolean |
isSignificant() |
void |
redo()Re-apply the edit, assuming that it has been undone. |
boolean |
replaceEdit(javax.swing.undo.UndoableEdit anEdit) |
void |
setPresentationName(java.lang.String pn) |
void |
setRedoPresentationName(java.lang.String pn) |
void |
setUndoPresentationName(java.lang.String pn) |
void |
undo()Undo the edit that was made. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void undo()
throws javax.swing.undo.CannotUndoException
undo in interface javax.swing.undo.UndoableEditjavax.swing.undo.CannotUndoExceptionpublic boolean canUndo()
canUndo in interface javax.swing.undo.UndoableEdit
public void redo()
throws javax.swing.undo.CannotRedoException
redo in interface javax.swing.undo.UndoableEditjavax.swing.undo.CannotRedoExceptionpublic boolean canRedo()
canRedo in interface javax.swing.undo.UndoableEditpublic void die()
UndoManagercalls this before it dequeues edits. Note that this is a one-way operation. There is no "un-die" method.
die in interface javax.swing.undo.UndoableEditpublic boolean addEdit(javax.swing.undo.UndoableEdit anEdit)
addEdit in interface javax.swing.undo.UndoableEditpublic boolean replaceEdit(javax.swing.undo.UndoableEdit anEdit)
replaceEdit in interface javax.swing.undo.UndoableEditpublic boolean isSignificant()
isSignificant in interface javax.swing.undo.UndoableEditpublic java.lang.String getPresentationName()
getPresentationName in interface javax.swing.undo.UndoableEditpublic void setPresentationName(java.lang.String pn)
public java.lang.String getUndoPresentationName()
getUndoPresentationName in interface javax.swing.undo.UndoableEditpublic void setUndoPresentationName(java.lang.String pn)
public java.lang.String getRedoPresentationName()
getRedoPresentationName in interface javax.swing.undo.UndoableEditpublic void setRedoPresentationName(java.lang.String pn)
|
Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||