java.lang.Object
ij.macro.ExtensionDescriptor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExtensionDescriptor(String theName, int[] theArgTypes, MacroExtension theHandler) -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckArguments(Object[] args) static voidconvertOutputType(Variable variable, Object object) static ObjectconvertVariable(Interpreter interp, int rawType, Variable var) static intgetRawType(int argType) static StringgetTypeName(int argType) static booleanisOptionalArg(int argType) static booleanisOutputArg(int argType) static ExtensionDescriptornewDescriptor(String theName, MacroExtension theHandler) static ExtensionDescriptornewDescriptor(String theName, MacroExtension theHandler, int type) static ExtensionDescriptornewDescriptor(String theName, MacroExtension theHandler, int[] types) static ExtensionDescriptornewDescriptor(String theName, MacroExtension theHandler, int t1, int t2) static ExtensionDescriptornewDescriptor(String theName, MacroExtension theHandler, int t1, int t2, int t3) static ExtensionDescriptornewDescriptor(String theName, MacroExtension theHandler, int t1, int t2, int t3, int t4) static ExtensionDescriptornewDescriptor(String theName, MacroExtension theHandler, Integer[] types)
-
Field Details
-
name
-
argTypes
public int[] argTypes -
handler
-
-
Constructor Details
-
ExtensionDescriptor
-
-
Method Details
-
newDescriptor
public static ExtensionDescriptor newDescriptor(String theName, MacroExtension theHandler, int[] types) -
newDescriptor
-
newDescriptor
public static ExtensionDescriptor newDescriptor(String theName, MacroExtension theHandler, int type) -
newDescriptor
public static ExtensionDescriptor newDescriptor(String theName, MacroExtension theHandler, int t1, int t2) -
newDescriptor
public static ExtensionDescriptor newDescriptor(String theName, MacroExtension theHandler, int t1, int t2, int t3) -
newDescriptor
public static ExtensionDescriptor newDescriptor(String theName, MacroExtension theHandler, int t1, int t2, int t3, int t4) -
newDescriptor
public static ExtensionDescriptor newDescriptor(String theName, MacroExtension theHandler, Integer[] types) -
isOptionalArg
public static boolean isOptionalArg(int argType) -
isOutputArg
public static boolean isOutputArg(int argType) -
getRawType
public static int getRawType(int argType) -
checkArguments
-
getTypeName
-
convertVariable
-
convertOutputType
-
dispatch
-