Diamond Control Suite 3.0

Class FunctionFactory

  extended by diamondedge.swing.grid.FunctionFactory

public class FunctionFactory
extends Object

Constructor Summary
Method Summary
static void registerFunction(String fnName, Class cls, String methName)
          Registers a new function that can be used in any formula.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public FunctionFactory()
Method Detail


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.

fnName - name to be used inside a function
cls - Java class that the implementation is defined in
methName - name of Java method in the class that implements the function

Diamond Control Suite 3.0

Diamond Edge and Diamond Control Suite are trademarks or registered trademarks of Diamond Edge, Inc. Copyright 1999-2005 Diamond Edge, Inc. All Rights Reserved.