/** * Location of the special printFrame html file provided as part of the Smart GWT libraries. This file must be present at * the specified location for the printCanvas printing APIs. * * * @return String */ public String getPrintFrameURL() { return getAttributeAsString("printFrameURL"); }
/** * Location of the special printFrame html file provided as part of the Smart GWT libraries. This file must be present at * the specified location for the printCanvas printing APIs. * <p><b>Note : </b> This is an advanced setting</p> * * @param printFrameURL printFrameURL Default value is "[HELPERS]printFrame.html" * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setPrintFrameURL(String printFrameURL) throws IllegalStateException { setAttribute("printFrameURL", printFrameURL, false); }
public static PrintCanvas getOrCreateRef(JavaScriptObject jsObj) { if(jsObj == null) return null; BaseWidget obj = BaseWidget.getRef(jsObj); if(obj != null) { return (PrintCanvas) obj; } else { return new PrintCanvas(jsObj); } }