Example usage for com.vaadin.ui Button setErrorHandler

List of usage examples for com.vaadin.ui Button setErrorHandler

Introduction

In this page you can find the example usage for com.vaadin.ui Button setErrorHandler.

Prototype

@Override
    public void setErrorHandler(ErrorHandler errorHandler) 

Source Link

Usage

From source file:jp.primecloud.auto.ui.WinUserAuthAddEdit.java

License:Open Source License

private void setCustomErrorHandler(Button button) {
    //?????PCC??????????
    if (button.getErrorHandler() == null
            || button.getErrorHandler().getClass() != ComponentsErrorHandler.class) {
        button.setErrorHandler(new ComponentsErrorHandler(this.getParent()));
    }/*from w  w w.  j  a va2s .  c  o m*/
}