code: @Override protected void handleEvents(final String EVENT_TYPE) {
          super.handleEvents(EVENT_TYPE);
          if ("RECALC".equals(EVENT_TYPE)) {
              resize();
              redraw();
              setBar(gauge.getCurrentValue());
          } else if ("SECTION".equals(EVENT_TYPE)) {
              sections = gauge.getSections();
              resize();
              redraw();
          } else if ("VISIBILITY".equals(EVENT_TYPE)) {
              Helper.enableNode(valueText, gauge.isValueVisible());
              Helper.enableNode(titleText, !gauge.getTitle().isEmpty());
              redraw();
          } else if ("FINISHED".equals(EVENT_TYPE)) {
              StringBuilder content = new StringBuilder(formatNumber(gauge.getLocale(), gauge.getFormatString(), gauge.getDecimals(), gauge.getValue()))
                  .append("\n(").append(valueText.getText()).append(")");
              barTooltip.setText(content.toString());
          }
      }
docs: ******************** Methods *******************************************