Class RUndoManager.RCompoundEdit

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.undo.UndoableEdit
    Enclosing class:
    RUndoManager

    class RUndoManager.RCompoundEdit
    extends javax.swing.undo.CompoundEdit
    The edit used by RUndoManager.
    • Field Summary

      • Fields inherited from class javax.swing.undo.CompoundEdit

        edits
      • Fields inherited from class javax.swing.undo.AbstractUndoableEdit

        RedoName, UndoName
    • Constructor Summary

      Constructors 
      Constructor Description
      RCompoundEdit()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRedoPresentationName()  
      java.lang.String getUndoPresentationName()  
      boolean isInProgress()  
      void undo()  
      • Methods inherited from class javax.swing.undo.CompoundEdit

        addEdit, canRedo, canUndo, die, end, getPresentationName, isSignificant, lastEdit, redo, toString
      • Methods inherited from class javax.swing.undo.AbstractUndoableEdit

        replaceEdit
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RCompoundEdit

        RCompoundEdit()
    • Method Detail

      • getUndoPresentationName

        public java.lang.String getUndoPresentationName()
        Specified by:
        getUndoPresentationName in interface javax.swing.undo.UndoableEdit
        Overrides:
        getUndoPresentationName in class javax.swing.undo.CompoundEdit
      • getRedoPresentationName

        public java.lang.String getRedoPresentationName()
        Specified by:
        getRedoPresentationName in interface javax.swing.undo.UndoableEdit
        Overrides:
        getRedoPresentationName in class javax.swing.undo.CompoundEdit
      • isInProgress

        public boolean isInProgress()
        Overrides:
        isInProgress in class javax.swing.undo.CompoundEdit
      • undo

        public void undo()
        Specified by:
        undo in interface javax.swing.undo.UndoableEdit
        Overrides:
        undo in class javax.swing.undo.CompoundEdit