@Override
    public void setVisible(final boolean visible) {
        super.setVisible(visible);
        if (visible) {
            getElement().removeClassName("invisible");
        } else {
            getElement().addClassName("invisible");
        }
    }
Used to decide whether to allow clicks to propagate up to the superclass
or container elements.
stroom-core-client-widget/src/main/java/stroom/widget/button/client/InlineSvgButton.java