Class Menu

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

public class Menu extends Object implements org.scijava.command.Command
This class is an ImageJ Menu class for allowing the user to their files that this program will do the analysis on.
Author:
Brandin Farris
  • 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:
    • file

      protected File file
    • saveFile

      protected File saveFile
    • modelFile

      protected File modelFile
    • redSingle

      protected int redSingle
    • greenSingle

      protected int greenSingle
    • mixedSingle

      protected int mixedSingle
  • Constructor Details

    • Menu

      public Menu()
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getFileType

      protected static int getFileType(File file)
      Returns:
      1 for folder
      2 for accepted image type
      3 for .model file
      4 for any other filetype.
      Note: These integers are saved as protected Menu variables.