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
-
Method Summary
Modifier and TypeMethodDescriptionBy default HTML characters such as"<br>"
will be written into the output description to format the result.static CriteriaOutputSettings
getOrCreateRef
(JavaScriptObject jsObj) Prefix to be prepended to each criterion description.Suffix to be appended to each criterion description.TextMatchStyle
to 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) TextMatchStyle
to 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. SettingescapeHTML
true 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:
CriteriaOutputSettings
instance, for chaining setter calls
-
getEscapeHTML
By default HTML characters such as"<br>"
will be written into the output description to format the result. SettingescapeHTML
true 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:
CriteriaOutputSettings
instance, 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:
CriteriaOutputSettings
instance, for chaining setter calls
-
getSuffix
Suffix to be appended to each criterion description.- Returns:
- Current suffix value. Default value is null
-
setTextMatchStyle
TextMatchStyle
to use if converting from a simple criteria. This property, if specified, is passed toconvertCriteria
to override the default.- Parameters:
textMatchStyle
- New textMatchStyle value. Default value is null- Returns:
CriteriaOutputSettings
instance, for chaining setter calls
-
getTextMatchStyle
TextMatchStyle
to use if converting from a simple criteria. This property, if specified, is passed toconvertCriteria
to override the default.- Returns:
- Current textMatchStyle value. Default value is null
-