List of usage examples for com.vaadin.ui Button setErrorHandler
@Override public void setErrorHandler(ErrorHandler errorHandler)
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*/ }