factoryCreated, factoryProperties
Constructor and Description |
---|
PrintProperties() |
PrintProperties(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getIncludeControls()
An array of Strings indicating the classNames of controls that should be specifically included when printing, even if a
superclass is listed in
omitControls . |
java.lang.String[] |
getOmitControls()
An array of Strings indicating the classNames of controls that should be omitted from printing.
|
static PrintProperties |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Boolean |
getPrintForExport()
If true, generates HTML for export.
|
void |
setIncludeControls(java.lang.String[] includeControls)
An array of Strings indicating the classNames of controls that should be specifically included when printing, even if a
superclass is listed in
omitControls . |
void |
setOmitControls(java.lang.String[] omitControls)
An array of Strings indicating the classNames of controls that should be omitted from printing.
|
PrintProperties |
setPrintForExport(java.lang.Boolean printForExport)
If true, generates HTML for export.
|
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public PrintProperties()
public PrintProperties(com.google.gwt.core.client.JavaScriptObject jsObj)
public static PrintProperties getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public PrintProperties setPrintForExport(java.lang.Boolean printForExport)
Some components, specifically DrawPane
and FacetChart
on IE8 and
earlier, need to generate different HTML for export versus in-browser print preview. When using RPCManager.exportContent()
the printForExport property is set to true
automatically. If not using RPCManager.exportContent(), but the generated HTML will be sent for export, the
PrintProperties
passed to Canvas.getPrintHTML()
must have printForExport:true.
printForExport
- New printForExport value. Default value is nullPrintProperties
instance, for chaining setter callsPrinting
public java.lang.Boolean getPrintForExport()
Some components, specifically DrawPane
and FacetChart
on IE8 and
earlier, need to generate different HTML for export versus in-browser print preview. When using RPCManager.exportContent()
the printForExport property is set to true
automatically. If not using RPCManager.exportContent(), but the generated HTML will be sent for export, the
PrintProperties
passed to Canvas.getPrintHTML()
must have printForExport:true.
Printing
public void setOmitControls(java.lang.String[] omitControls) throws java.lang.IllegalStateException
omitControls
includes all button-based controls, menus and similar interactive controls that are typically
useless in printed output. All subclasses of the specified classes are also omitted.
See also includeControls
.
omitControls
- omitControls Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.String[] getOmitControls()
omitControls
includes all button-based controls, menus and similar interactive controls that are typically
useless in printed output. All subclasses of the specified classes are also omitted.
See also includeControls
.
public void setIncludeControls(java.lang.String[] includeControls) throws java.lang.IllegalStateException
omitControls
.includeControls
- includeControls Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the component has been createdpublic java.lang.String[] getIncludeControls()
omitControls
.