Module ij
Package ij.plugin

Class Commands

  • All Implemented Interfaces:
    PlugIn

    public class Commands
    extends java.lang.Object
    implements PlugIn
    Runs miscellaneous File and Window menu commands.
    • Constructor Summary

      Constructors 
      Constructor Description
      Commands()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean closeAll()
      Closes all image windows, or returns 'false' if the user cancels the unsaved changes dialog box.
      void run​(java.lang.String cmd)
      This method is called when the plugin is loaded.
      • Methods inherited from class java.lang.Object

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

      • Commands

        public Commands()
    • Method Detail

      • run

        public void run​(java.lang.String cmd)
        Description copied from interface: PlugIn
        This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
        Specified by:
        run in interface PlugIn
      • closeAll

        public static boolean closeAll()
        Closes all image windows, or returns 'false' if the user cancels the unsaved changes dialog box.