public void setClickHandler(Consumer<Double> valueConsumer) {

        if (valueConsumer == null) {
            getView().setClickHandler(null);
            titleSuffix = TITLE_SUFFIX_DISABLED;
            barColourKnownBounded = BAR_COLOUR_KNOWN_BOUNDED_DISABLED;
        } else {
            getView().setClickHandler(percentage ->
                    progress.getUpperBound()
                            .map(upperBound ->
                                    upperBound * percentage / 100)
                            .ifPresent(valueConsumer));
            titleSuffix = TITLE_SUFFIX;
            barColourKnownBounded = BAR_COLOUR_KNOWN_BOUNDED;
        }
        if (progress != null) {
            update();
        }
    }
@param valueConsumer A consumer of the value of the point on the progress bar
                     that was clicked in the same units as used in {@link Progress}.
                     valueConsumer will not be called if the current value of {@link Progress}
                     has no upper bound.
stroom-core-client-widget/src/main/java/stroom/widget/progress/client/presenter/ProgressPresenter.java