public class UserFormula extends DataClass
canAddFormulaFields
behavior.Constructor and Description |
---|
UserFormula() |
UserFormula(com.google.gwt.core.client.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
formula String to the fieldNames these variables should represent in
the context where the formula is evaluated. |
static UserFormula |
getOrCreateRef(com.google.gwt.core.client.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
formula String to the fieldNames these variables should represent in
the context where the formula is evaluated. |
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setText(java.lang.String text)
Formula to be evaluated.
|
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, 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
public UserFormula()
public UserFormula(com.google.gwt.core.client.JavaScriptObject jsObj)
public UserFormula(java.lang.String text)
public UserFormula(java.lang.String text, java.util.Map formulaVars)
public static UserFormula getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setFormulaVars(java.util.Map formulaVars)
formula
String to the fieldNames these variables should represent in
the context where the formula is evaluated.formulaVars
- formulaVars Default value is nullpublic java.util.Map getFormulaVars()
formula
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
- . See String
. 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.
String