Module ij
Package ij

Class Undo


  • public class Undo
    extends java.lang.Object
    This class consists of static methods and fields that implement ImageJ's Undo command.
    • Constructor Summary

      Constructors 
      Constructor Description
      Undo()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void reset()  
      static void saveOverlay​(ImagePlus imp)
      This function should be called from PlugInFilters that modify the overlay prior to the operation.
      static void setup​(int what, ImagePlus imp)  
      static void undo()  
      • Methods inherited from class java.lang.Object

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

      • Undo

        public Undo()
    • Method Detail

      • setup

        public static void setup​(int what,
                                 ImagePlus imp)
      • saveOverlay

        public static void saveOverlay​(ImagePlus imp)
        This function should be called from PlugInFilters that modify the overlay prior to the operation. For the type 'FILTER', undo of overlays requires that the modified image also has an overlay.
      • reset

        public static void reset()
      • undo

        public static void undo()