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 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