Diamond Control Suite 3.0

diamondedge.swing.grid
Class FunctionFactory

java.lang.Object
  extended by diamondedge.swing.grid.FunctionFactory

public class FunctionFactory
extends Object


Constructor Summary
FunctionFactory()
           
 
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

FunctionFactory

public FunctionFactory()
Method Detail

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 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.