Example usage for com.vaadin.ui Button getErrorHandler

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

Introduction

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

Prototype

@Override
    public ErrorHandler getErrorHandler() 

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  av  a 2  s.c o m
}