|
org.openide.awt 6.7.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.awt.UndoRedo.Empty
UndoRedo.NONE
rather than instantiating this.
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
true
if undo is allowedpublic boolean canRedo()
UndoRedo
true
if redo is allowedpublic void undo() throws CannotUndoException
UndoRedo
CannotUndoException
- if it failspublic void redo() throws CannotRedoException
UndoRedo
CannotRedoException
- if it failspublic void addChangeListener(ChangeListener l)
UndoRedo
addChangeListener
in interface UndoRedo
l
- the listener to addpublic void removeChangeListener(ChangeListener l)
UndoRedo
removeChangeListener
in interface UndoRedo
l
- the listener to removeUndoRedo.addChangeListener(javax.swing.event.ChangeListener)
public String getUndoPresentationName()
UndoRedo
getUndoPresentationName
in interface UndoRedo
public String getRedoPresentationName()
UndoRedo
getRedoPresentationName
in interface UndoRedo
|
org.openide.awt 6.7.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |