Package com.smartgwt.client.data
Class CriteriaOutputSettings
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.data.CriteriaOutputSettings
- All Implemented Interfaces:
HasHandlers
Settings for generation of AdvancedCriteria descriptions.
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBy default HTML characters such as"<br>"will be written into the output description to format the result.static CriteriaOutputSettingsgetOrCreateRef(JavaScriptObject jsObj) Prefix to be prepended to each criterion description.Suffix to be appended to each criterion description.TextMatchStyleto use if converting from a simple criteria.setEscapeHTML(Boolean escapeHTML) By default HTML characters such as"<br>"will be written into the output description to format the result.Prefix to be prepended to each criterion description.Suffix to be appended to each criterion description.setTextMatchStyle(String textMatchStyle) TextMatchStyleto use if converting from a simple criteria.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, 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
-
Constructor Details
-
CriteriaOutputSettings
public CriteriaOutputSettings() -
CriteriaOutputSettings
-
-
Method Details
-
getOrCreateRef
-
setEscapeHTML
By default HTML characters such as"<br>"will be written into the output description to format the result. SettingescapeHTMLtrue will instead force HTML values in the output to be displayed to the user instead.- Parameters:
escapeHTML- New escapeHTML value. Default value is null- Returns:
CriteriaOutputSettingsinstance, for chaining setter calls
-
getEscapeHTML
By default HTML characters such as"<br>"will be written into the output description to format the result. SettingescapeHTMLtrue will instead force HTML values in the output to be displayed to the user instead.- Returns:
- Current escapeHTML value. Default value is null
-
setPrefix
Prefix to be prepended to each criterion description.- Parameters:
prefix- New prefix value. Default value is null- Returns:
CriteriaOutputSettingsinstance, for chaining setter calls
-
getPrefix
Prefix to be prepended to each criterion description.- Returns:
- Current prefix value. Default value is null
-
setSuffix
Suffix to be appended to each criterion description.- Parameters:
suffix- New suffix value. Default value is null- Returns:
CriteriaOutputSettingsinstance, for chaining setter calls
-
getSuffix
Suffix to be appended to each criterion description.- Returns:
- Current suffix value. Default value is null
-
setTextMatchStyle
TextMatchStyleto use if converting from a simple criteria. This property, if specified, is passed toconvertCriteriato override the default.- Parameters:
textMatchStyle- New textMatchStyle value. Default value is null- Returns:
CriteriaOutputSettingsinstance, for chaining setter calls
-
getTextMatchStyle
TextMatchStyleto use if converting from a simple criteria. This property, if specified, is passed toconvertCriteriato override the default.- Returns:
- Current textMatchStyle value. Default value is null
-