KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > undo > UndoManager

javax.swing.undo
Class UndoManager

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by javax.swing.undo.CompoundEdit
          extended by javax.swing.undo.UndoManager
All Implemented Interfaces:
Serializable, EventListener, UndoableEditListener, UndoableEdit
See Also:
Top Examples, Source Code, XMLEncoder

public boolean addEdit(UndoableEdit anEdit)
See Also:
CompoundEdit.end()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean canRedo()
See Also:
CompoundEdit.isInProgress(), UndoableEdit
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean canUndo()
See Also:
CompoundEdit.isInProgress(), UndoableEdit
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean canUndoOrRedo()
See Also:
undoOrRedo()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void discardAllEdits()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected UndoableEdit editToBeRedone()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected UndoableEdit editToBeUndone()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void end()
See Also:
CompoundEdit
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getLimit()
See Also:
setLimit(int), addEdit(javax.swing.undo.UndoableEdit)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getRedoPresentationName()
See Also:
CompoundEdit.getUndoPresentationName(), redo(), UndoableEdit
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getUndoOrRedoPresentationName()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getUndoPresentationName()
See Also:
undo(), CompoundEdit, UndoableEdit
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void redo()
          throws CannotRedoException
See Also:
CompoundEdit.end(), UndoableEdit
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void redoTo(UndoableEdit edit)
               throws CannotRedoException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLimit(int l)
See Also:
getLimit(), addEdit(javax.swing.undo.UndoableEdit)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
CompoundEdit
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void trimEdits(int from,
                         int to)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void trimForLimit()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void undo()
          throws CannotUndoException
See Also:
CompoundEdit.end(), UndoableEdit
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void undoableEditHappened(UndoableEditEvent e)
See Also:
addEdit(javax.swing.undo.UndoableEdit), UndoableEditListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public UndoManager()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void undoOrRedo()
                throws CannotRedoException,
                       CannotUndoException
See Also:
getUndoOrRedoPresentationName(), canUndoOrRedo()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void undoTo(UndoableEdit edit)
               throws CannotUndoException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags