Class FieldOperatorCustomizer
java.lang.Object
com.smartgwt.client.widgets.form.fields.FieldOperatorCustomizer
Customizer that returns the list of OperatorIds applicable to a given field.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract OperatorId[]
getFieldOperators
(String fieldName, OperatorId[] defaultOperators, FilterBuilder filterBuilder) getFieldOperators() should be implemented and return the list of OperatorIds applicable to the passed fieldName
-
Constructor Details
-
FieldOperatorCustomizer
public FieldOperatorCustomizer()
-
-
Method Details
-
getFieldOperators
public abstract OperatorId[] getFieldOperators(String fieldName, OperatorId[] defaultOperators, FilterBuilder filterBuilder) getFieldOperators() should be implemented and return the list of OperatorIds applicable to the passed fieldName- Parameters:
fieldName
- the name of the field to return OperatorIds fordefaultOperators
- the default list of OperatorIds that would be returned in the absence of this customizerfilterBuilder
- the FilterBuilder this customizer is attached to- Returns:
- array of OperatorIds to apply to the passed fieldName
-