code: public void setFormatter(final FormatterCallback<T> formatterCallback) {
          this.formatterCallback = formatterCallback;
          if (isAttached()) {
              setFormatter(getElement());
              refresh();
          }
      }
docs: Sets the formatter callback.
  
  @param formatterCallback