code: public void setPresetTransformer(String transformerName){
          for(Transformer t : Transformer.values()){
              if(t.equals(transformerName)){
                  setPresetTransformer(t);
                  return;
              }
          }
      }
docs: set preset PagerTransformer via the name of transforemer.
  @param transformerName