docs: public static ProgressBar getProgressBar(float value) {
  
          ProgressBar res = new ProgressBar(value);
          String style = "";
          if (value > 0.75) {
              style = "o-nearlyfull";
          }
          if (value > 0.9) {
              style = "o-full";
          }
          res.addStyleName(style);
          return res;
      }