Module ij
Package ij.macro

Class ExtensionDescriptor


  • public class ExtensionDescriptor
    extends java.lang.Object
    • Field Detail

      • name

        public java.lang.String name
      • argTypes

        public int[] argTypes
    • Constructor Detail

      • ExtensionDescriptor

        public ExtensionDescriptor​(java.lang.String theName,
                                   int[] theArgTypes,
                                   MacroExtension theHandler)
    • Method Detail

      • isOptionalArg

        public static boolean isOptionalArg​(int argType)
      • isOutputArg

        public static boolean isOutputArg​(int argType)
      • getRawType

        public static int getRawType​(int argType)
      • checkArguments

        public boolean checkArguments​(java.lang.Object[] args)
      • getTypeName

        public static java.lang.String getTypeName​(int argType)
      • convertVariable

        public static java.lang.Object convertVariable​(Interpreter interp,
                                                       int rawType,
                                                       Variable var)
      • convertOutputType

        public static void convertOutputType​(Variable variable,
                                             java.lang.Object object)
      • dispatch

        public java.lang.String dispatch​(Functions func)