public class Operator extends RefDataClass
DataSource.addSearchOperator()
to define custom filtering behaviors for client-side filtering.idfactoryCreated, factoryProperties| Constructor and Description |
|---|
Operator() |
| Modifier and Type | Method and Description |
|---|---|
void |
setEditorType(java.lang.String editorType)
For an operator with
OperatorValueType.CUSTOM,
indicates what kind of FormItem to use to provide a user interface for creating a valid
Criterion. |
void |
setID(java.lang.String id)
Unique id for an operator, which appears within
AdvancedCriteria
as the Operator property. |
void |
setTitle(java.lang.String title)
User-visible title for this operator, such as "doesn't contain".
|
void |
setValueType(OperatorValueType valueType)
Indicates the kind of value expected in a
Criterion that uses this operator. |
getRef, getRef, internalSetIDapplyFactoryProperties, 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, setFactoryCreatedpublic void setID(java.lang.String id)
AdvancedCriteria
as the Operator property.
A list of built-in identifiers is here.
id - public void setTitle(java.lang.String title)
title - public void setValueType(OperatorValueType valueType)
Criterion that uses this operator.
OperatorValueType lists possibilities.
The default of null is equivalent to "fieldType", indicating that
Criterion.getValue() is expected to contain a value
of the same type as the field indicated by
Criterion.getFieldName().
valueType - public void setEditorType(java.lang.String editorType)
OperatorValueType.CUSTOM,
indicates what kind of FormItem to use to provide a user interface for creating a valid
Criterion. The default of null means an ordinary
TextItem is fine.editorType -