List of usage examples for com.vaadin.server BrowserWindowOpener setFeatures
public void setFeatures(String features)
From source file:com.foc.vaadin.gui.layouts.validationLayout.FVValidationLayout.java
License:Apache License
public void applyBrowserWindowOpenerToPrintButton(AbstractComponent printButton) { BrowserWindowOpener opener = null; if (validationSettings != null && validationSettings.avoidRowBreak()) { opener = new BrowserWindowOpener(PrintUI_Break.class); } else {/*from ww w .java2 s . c om*/ opener = new BrowserWindowOpener(PrintUI.class); } opener.setFeatures("height=700,width=900,resizable,titlebar=no"); opener.extend(printButton); }