public void setEnabled(final boolean enabled) {
        this.enabled = enabled;
        if (enabled) {
            incrementArrow.getElement().setClassName("valueSpinner-arrow valueSpinner-arrowUp");
            decrementArrow.getElement().setClassName("valueSpinner-arrow valueSpinner-arrowDown");
        } else {
            incrementArrow.getElement().setClassName("valueSpinner-arrow valueSpinner-arrowUpDisabled");
            decrementArrow.getElement().setClassName("valueSpinner-arrow valueSpinner-arrowDownDisabled");
        }
        if (!enabled) {
            timer.cancel();
        }
    }
Sets whether this widget is enabled.

@param enabled true to enable the widget, false to disable it
stroom-core-client-widget/src/main/java/stroom/widget/valuespinner/client/Spinner.java