|
SL-GMS Enterprise RTView Customization | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.sl.gmsjrtview.GmsRtViewCustomFunctionHandler
public class GmsRtViewCustomFunctionHandler
The GmsRtViewCustomFunctionHandler class provides a way to implement custom functions. Subclasses should override the getFunctionDescriptors() method in addition to the get result method for each data type their custom functions return.
| Constructor Summary | |
|---|---|
GmsRtViewCustomFunctionHandler()
|
|
| Method Summary | |
|---|---|
double |
getDoubleResult(java.lang.String functionName,
GmsRtViewFunctionDescriptor functionDesc,
GmsModelVariables functionIcon)
Returns the function result for the specified function. |
java.util.Vector |
getFunctionDescriptors()
Returns a Vector of GmsRtViewFunctionDescriptor. |
int |
getIntResult(java.lang.String functionName,
GmsRtViewFunctionDescriptor functionDesc,
GmsModelVariables functionIcon)
Returns the function result for the specified function. |
java.lang.String |
getStringResult(java.lang.String functionName,
GmsRtViewFunctionDescriptor functionDesc,
GmsModelVariables functionIcon)
Returns the function result for the specified function. |
GmsTabularData |
getTabularResult(java.lang.String functionName,
GmsRtViewFunctionDescriptor functionDesc,
GmsModelVariables functionIcon)
Returns the function result for the specified function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GmsRtViewCustomFunctionHandler()
| Method Detail |
|---|
public double getDoubleResult(java.lang.String functionName,
GmsRtViewFunctionDescriptor functionDesc,
GmsModelVariables functionIcon)
functionName - the name of the function to updatefunctionDesc - the descriptor of the functionfunctionIcon - the function icon
Warning: The argument functionDesc could be null if the caller of this code
is a function that uses the old API.public java.util.Vector getFunctionDescriptors()
public int getIntResult(java.lang.String functionName,
GmsRtViewFunctionDescriptor functionDesc,
GmsModelVariables functionIcon)
functionName - the name of the function to updatefunctionDesc - the descriptor of the functionfunctionIcon - the function icon
Warning: The argument functionDesc could be null if the caller of this code
is a function that uses the old API.
public java.lang.String getStringResult(java.lang.String functionName,
GmsRtViewFunctionDescriptor functionDesc,
GmsModelVariables functionIcon)
functionName - the name of the function to updatefunctionDesc - the descriptor of the functionfunctionIcon - the function icon
Warning: The argument functionDesc could be null if the caller of this code
is a function that uses the old API.
public GmsTabularData getTabularResult(java.lang.String functionName,
GmsRtViewFunctionDescriptor functionDesc,
GmsModelVariables functionIcon)
functionName - the name of the function to updatefunctionDesc - the descriptor of the functionfunctionIcon - the function icon
Warning: The argument functionDesc could be null if the caller of this code
is a function that uses the old API.
|
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||