public class UserFormula extends DataClass
canAddFormulaFields
behavior.factoryCreated, factoryProperties
Constructor and Description |
---|
UserFormula() |
UserFormula(JavaScriptObject jsObj) |
UserFormula(java.lang.String text) |
UserFormula(java.lang.String text,
java.util.Map formulaVars) |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getFormulaVars()
Map from the single-letter capital letters used as formula variables in the
UserFormula String to the fieldNames these variables should represent in the context where
the formula is evaluated. |
static UserFormula |
getOrCreateRef(JavaScriptObject jsObj) |
java.lang.String |
getText()
Formula to be evaluated.
|
void |
setFormulaVars(java.util.Map formulaVars)
Map from the single-letter capital letters used as formula variables in the
UserFormula String to the fieldNames these variables should represent in the context where
the formula is evaluated. |
void |
setText(java.lang.String text)
Formula to be evaluated.
|
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public UserFormula()
public UserFormula(JavaScriptObject jsObj)
public UserFormula(java.lang.String text)
public UserFormula(java.lang.String text, java.util.Map formulaVars)
public static UserFormula getOrCreateRef(JavaScriptObject jsObj)
public void setFormulaVars(java.util.Map formulaVars)
UserFormula
String to the fieldNames these variables should represent in the context where
the formula is evaluated.formulaVars
- Default value is nullpublic java.util.Map getFormulaVars()
UserFormula
String to the fieldNames these variables should represent in the context where
the formula is evaluated.public void setText(java.lang.String text)
formulaVars
. In addition to these variables, the keyword record
may be used to refer directly to the
record for which the formula is being displayed.
text
- Default value is nullpublic java.lang.String getText()
formulaVars
. In addition to these variables, the keyword record
may be used to refer directly to the
record for which the formula is being displayed.