@Override protected void handleEvents(final String EVENT_TYPE) {
        if ("RESIZE".equals(EVENT_TYPE)) {
            resize();
            redraw();
        } else if ("REDRAW".equals(EVENT_TYPE)) {
            redraw();
        } else if ("RECALC".equals(EVENT_TYPE)) {
            minValue  = gauge.getMinValue();
            range     = gauge.getRange();
            angleStep = ANGLE_RANGE / range;
            redraw();
            setBar(gauge.getCurrentValue());
        } else if ("VISIBILITY".equals(EVENT_TYPE)) {
            Helper.enableNode(valueText, gauge.isValueVisible());
            Helper.enableNode(unitText, !gauge.getUnit().isEmpty());
        }
    }
@ Override protected void handleEvents ( final String EVENT_TYPE ) { if ( "RESIZE" . equals ( EVENT_TYPE ) ) { resize ( ) ; redraw ( ) ; } else if ( "REDRAW" . equals ( EVENT_TYPE ) ) { redraw ( ) ; } else if ( "RECALC" . equals ( EVENT_TYPE ) ) { minValue = gauge . getMinValue ( ) ; range = gauge . getRange ( ) ; angleStep = ANGLE_RANGE / range ; redraw ( ) ; setBar ( gauge . getCurrentValue ( ) ) ; } else if ( "VISIBILITY" . equals ( EVENT_TYPE ) ) { Helper . enableNode ( valueText , gauge . isValueVisible ( ) ) ; Helper . enableNode ( unitText , ! gauge . getUnit ( ) . isEmpty ( ) ) ; } }
******************** Methods *******************************************