Class Menu

java.lang.Object
noduledistances.imagej.Menu
All Implemented Interfaces:
Runnable, org.scijava.command.Command, org.scijava.plugin.SciJavaPlugin

public class Menu extends Object implements org.scijava.command.Command
  • Field Details

    • FOLDER

      protected static final int FOLDER
      See Also:
    • IMAGE

      protected static final int IMAGE
      See Also:
    • MODEL

      protected static final int MODEL
      See Also:
    • OTHERFILETYPE

      protected static final int OTHERFILETYPE
      See Also:
    • rootFile

      protected File rootFile
    • tifFile

      protected File tifFile
    • saveFile

      protected File saveFile
    • modelFile

      protected File modelFile
    • redAttribute

      protected String redAttribute
    • greenAttribute

      protected String greenAttribute
    • numIters

      protected int numIters
  • Constructor Details

    • Menu

      public Menu()
  • Method Details

    • run

      public void run()
      Method for starting the Menu display process.
      Specified by:
      run in interface Runnable
    • getFileType

      public static int getFileType(File file)
      Returns 1 : folder
      2 : accepted image type
      3 : .model file
      4 : any other filetype
      Parameters:
      file - : file to determine the type of.
      Returns:
      an integer representing what type of file it is.