ij.macro
Class ExtensionDescriptor
java.lang.Object
ij.macro.ExtensionDescriptor
public class ExtensionDescriptor
- extends java.lang.Object
Method Summary |
boolean |
checkArguments(java.lang.Object[] args)
|
static void |
convertOutputType(ij.macro.Variable variable,
java.lang.Object object)
|
static java.lang.Object |
convertVariable(Interpreter interp,
int rawType,
ij.macro.Variable var)
|
java.lang.String |
dispatch(Functions func)
|
static int |
getRawType(int argType)
|
static java.lang.String |
getTypeName(int argType)
|
static boolean |
isOptionalArg(int argType)
|
static boolean |
isOutputArg(int argType)
|
static ExtensionDescriptor |
newDescriptor(java.lang.String theName,
MacroExtension theHandler)
|
static ExtensionDescriptor |
newDescriptor(java.lang.String theName,
MacroExtension theHandler,
int type)
|
static ExtensionDescriptor |
newDescriptor(java.lang.String theName,
MacroExtension theHandler,
int[] types)
|
static ExtensionDescriptor |
newDescriptor(java.lang.String theName,
MacroExtension theHandler,
java.lang.Integer[] types)
|
static ExtensionDescriptor |
newDescriptor(java.lang.String theName,
MacroExtension theHandler,
int t1,
int t2)
|
static ExtensionDescriptor |
newDescriptor(java.lang.String theName,
MacroExtension theHandler,
int t1,
int t2,
int t3)
|
static ExtensionDescriptor |
newDescriptor(java.lang.String theName,
MacroExtension theHandler,
int t1,
int t2,
int t3,
int t4)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public java.lang.String name
argTypes
public int[] argTypes
handler
public MacroExtension handler
ExtensionDescriptor
public ExtensionDescriptor(java.lang.String theName,
int[] theArgTypes,
MacroExtension theHandler)
newDescriptor
public static ExtensionDescriptor newDescriptor(java.lang.String theName,
MacroExtension theHandler,
int[] types)
newDescriptor
public static ExtensionDescriptor newDescriptor(java.lang.String theName,
MacroExtension theHandler)
newDescriptor
public static ExtensionDescriptor newDescriptor(java.lang.String theName,
MacroExtension theHandler,
int type)
newDescriptor
public static ExtensionDescriptor newDescriptor(java.lang.String theName,
MacroExtension theHandler,
int t1,
int t2)
newDescriptor
public static ExtensionDescriptor newDescriptor(java.lang.String theName,
MacroExtension theHandler,
int t1,
int t2,
int t3)
newDescriptor
public static ExtensionDescriptor newDescriptor(java.lang.String theName,
MacroExtension theHandler,
int t1,
int t2,
int t3,
int t4)
newDescriptor
public static ExtensionDescriptor newDescriptor(java.lang.String theName,
MacroExtension theHandler,
java.lang.Integer[] types)
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,
ij.macro.Variable var)
convertOutputType
public static void convertOutputType(ij.macro.Variable variable,
java.lang.Object object)
dispatch
public java.lang.String dispatch(Functions func)