code: public void setSections(Section... SECTIONS_ARRAY) {
          sections.clear();
          for (Section section : SECTIONS_ARRAY) {
              sections.add(new Section(section.getStart(), section.getStop(), section.getColor()));
          }
          validate();
          fireStateChanged();
      }
docs: Sets the sections of the gauge to the given array of section objects
  @param SECTIONS_ARRAY