Package com.smartgwt.client.widgets.form.fields

# Class FieldOperatorCustomizer

java.lang.Object
com.smartgwt.client.widgets.form.fields.FieldOperatorCustomizer

public abstract class FieldOperatorCustomizer extends Object
Customizer that returns the list of OperatorIds applicable to a given field.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FieldOperatorCustomizer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract OperatorId[]`
  `getFieldOperators(String fieldName, OperatorId[] defaultOperators, FilterBuilder filterBuilder)`
  getFieldOperators() should be implemented and return the list of OperatorIds applicable to the passed fieldName

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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 for
      `defaultOperators` - the default list of OperatorIds that would be returned in the absence of this customizer
      `filterBuilder` - the FilterBuilder this customizer is attached to
    Returns:
      array of OperatorIds to apply to the passed fieldName