public class PrintCanvasTask extends ComponentTask
config, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
PrintCanvasTask() |
PrintCanvasTask(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.Boolean |
getExportAsPdf()
Should the canvas contents be exported to a PDF file instead of a print preview?
|
java.lang.String |
getExportFilename()
Default name of the exported PDF file.
|
static PrintCanvasTask |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
PrintProperties |
getPrintProperties()
PrintProperties object for customizing the print HTML output.
|
PrintWindow |
getPrintWindowProperties()
Properties to apply to the generated print window.
|
PrintCanvasTask |
setExportAsPdf(java.lang.Boolean exportAsPdf)
Should the canvas contents be exported to a PDF file instead of a print preview?
|
PrintCanvasTask |
setExportFilename(java.lang.String exportFilename)
Default name of the exported PDF file.
|
PrintCanvasTask |
setPrintProperties(PrintProperties printProperties)
PrintProperties object for customizing the print HTML output.
|
PrintCanvasTask |
setPrintWindowProperties(PrintWindow printWindowProperties)
Properties to apply to the generated print window.
|
getComponentBaseClass, getComponentBaseClassAsStringArray, getComponentId, getComponentRequiresDataSource, getTargetBaseClass, getTargetBaseClassAsStringArray, getTargetComponent, getTargetComponent, getUnsupportedComponentMessage, setComponentBaseClass, setComponentBaseClass, setComponentId, setComponentRequiresDataSource, setTargetBaseClass, setTargetBaseClass, setUnsupportedComponentMessage
completeElement, convertToJavaScriptArray, executeElement, getBindOutput, getClassDescription, getComponentReferences, getDescription, getDynamicValue, getEditorType, getElementDescription, getForceSingle, getID, getInvalidTaskMessage, getJsObj, getMockMode, getNextElement, getOrCreateJsObj, getPassThruOutput, getProcessElements, getSupportsMultipleInputRecords, getTextFormulaValue, getTypeTitle, getUndefinedComponentMessage, getUnresolvedComponentMessage, getWaitDuration, getWaitFor, getWaitLocator, isCreated, isValid, objectReferencesLastTaskOutput, onInit, reset, setAttribute, setBindOutput, setClassDescription, setDescription, setEditorType, setForceSingle, setID, setJavaScriptObject, setMockMode, setNextElement, setPassThruOutput, setSupportsMultipleInputRecords, setTypeTitle, setUndefinedComponentMessage, setUnresolvedComponentMessage, setWaitDuration, setWaitFor, setWaitLocator, updateGlobalIDInCriteria, updateGlobalIDInTextFormula, updateGlobalIDInValueProperty, updateGlobalIDInValues, updateGlobalIDReferences, updateLastElementBindingReferences, updateLastElementInCriteria, updateLastElementInValueProperty, updateLastElementInValues
addDynamicProperty, addDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, asSGWTComponent, clearDynamicProperty, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getRef, getRuleScope, getScClassName, getTestInstance, hasAutoAssignedID, hasDynamicProperty, internalSetID, internalSetID, isConfigOnly, isFactoryCreated, onBind, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, setProperty, setProperty, setProperty, setProperty, setRuleScope, setScClassName
public PrintCanvasTask()
public PrintCanvasTask(com.google.gwt.core.client.JavaScriptObject jsObj)
public static PrintCanvasTask getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
create
in class ComponentTask
public PrintCanvasTask setExportAsPdf(java.lang.Boolean exportAsPdf) throws java.lang.IllegalStateException
An export file name can be
specified in exportFilename
.
exportAsPdf
- New exportAsPdf value. Default value is nullPrintCanvasTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getExportAsPdf()
An export file name can be
specified in exportFilename
.
public PrintCanvasTask setExportFilename(java.lang.String exportFilename) throws java.lang.IllegalStateException
exportFilename
- New exportFilename value. Default value is nullPrintCanvasTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getExportFilename()
public PrintCanvasTask setPrintProperties(PrintProperties printProperties) throws java.lang.IllegalStateException
printProperties
- New printProperties value. Default value is nullPrintCanvasTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic PrintProperties getPrintProperties()
public PrintCanvasTask setPrintWindowProperties(PrintWindow printWindowProperties) throws java.lang.IllegalStateException
printWindowProperties
- New printWindowProperties value. Default value is nullPrintCanvasTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic PrintWindow getPrintWindowProperties()