|
org.openide.awt 7.3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openide.awt.UndoRedo.Empty
UndoRedo.NONE rather than instantiating this.
public static final class UndoRedo.Empty
Empty implementation that does not support any undoable edits.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.openide.awt.UndoRedo |
|---|
UndoRedo.Empty, UndoRedo.Manager |
| Field Summary |
|---|
| Fields inherited from interface org.openide.awt.UndoRedo |
|---|
NONE |
| Constructor Summary | |
|---|---|
UndoRedo.Empty()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addChangeListener(ChangeListener l)
Deprecated. Add a change listener. |
boolean |
canRedo()
Deprecated. Test whether the component currently has undone edits which may be redone. |
boolean |
canUndo()
Deprecated. Test whether the component currently has edits which may be undone. |
String |
getRedoPresentationName()
Deprecated. Get a human-presentable name describing the redo operation. |
String |
getUndoPresentationName()
Deprecated. Get a human-presentable name describing the undo operation. |
void |
redo()
Deprecated. Redo a previously undone edit. |
void |
removeChangeListener(ChangeListener l)
Deprecated. Remove a change listener. |
void |
undo()
Deprecated. Undo an edit. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UndoRedo.Empty()
| Method Detail |
|---|
public boolean canUndo()
UndoRedo
canUndo in interface UndoRedotrue if undo is allowedpublic boolean canRedo()
UndoRedo
canRedo in interface UndoRedotrue if redo is allowed
public void undo()
throws CannotUndoException
UndoRedo
undo in interface UndoRedoCannotUndoException - if it fails
public void redo()
throws CannotRedoException
UndoRedo
redo in interface UndoRedoCannotRedoException - if it failspublic void addChangeListener(ChangeListener l)
UndoRedo
addChangeListener in interface UndoRedol - the listener to addpublic void removeChangeListener(ChangeListener l)
UndoRedo
removeChangeListener in interface UndoRedol - the listener to removeUndoRedo.addChangeListener(javax.swing.event.ChangeListener)public String getUndoPresentationName()
UndoRedo
getUndoPresentationName in interface UndoRedopublic String getRedoPresentationName()
UndoRedo
getRedoPresentationName in interface UndoRedo
|
org.openide.awt 7.3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||