diamondedge.swing.grid
Class FunctionFactory
java.lang.Object
diamondedge.swing.grid.FunctionFactory
public class FunctionFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionFactory
public FunctionFactory()
registerFunction
public static void registerFunction(String fnName,
Class cls,
String methName)
- Registers a new function that can be used in any formula.
The method needs to be a "public static" method defined on the given class.
- Parameters:
fnName
- name to be used inside a functioncls
- Java class that the implementation is defined inmethName
- name of Java method in the class that implements the function
Diamond Edge and Diamond Control Suite are trademarks or registered trademarks of Diamond Edge, Inc. Copyright 1999-2005 Diamond Edge, Inc. All Rights Reserved.