Class adf.PrintTask
This is the PrintTask Configuration Class.
The class generates a printing page. It exposes an AJAX callback function
processCreatePrintPage
registered with a printing task. When the method is called from a print task,
it will open a new browser window and load the print.jsp page, rendering printing elements in
designated place.
Defined in: PrintTask.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
adf.PrintTask.closeWindow(taskId)
|
<static> |
adf.PrintTask.createPrintMap(taskId, mapId, taskActionId, showingLoadingImage, clientPostBack)
|
<static> |
adf.PrintTask.getLegendStyleStr()
|
<static> |
adf.PrintTask.getPrintPage(printMapObj)
Generates the print map page.
|
<static> |
adf.PrintTask.getPrintPageLayoutOne(printMapObj)
Generates the print map page.
|
<static> |
adf.PrintTask.getQueryResultTableInHTML(keys, values)
|
<static> |
adf.PrintTask.getResultStyleStr()
|
<static> |
adf.PrintTask.getStyleSheetString()
|
<static> |
adf.PrintTask.processCreatePrintPage(xml, eventSources)
The function is called back by the print task AJAX renderer.
|
<static> |
adf.PrintTask.renderLegendPatchInHTML(level, label, imageUrl, swatchWidth, swatchHeight)
|
<static> |
adf.PrintTask.renderLegendTableInHTML(printMapObj)
|
<static> |
adf.PrintTask.renderPrintMapInHTML(printMapObj)
Renders the Printable Map in a HTML table.
|
<static> |
adf.PrintTask.renderResultTableInHTML(printMapObj)
|
<static> |
adf.PrintTask.resultChecked(nodeId)
|
Method Detail
<static>
adf.PrintTask.closeWindow(taskId)
- Parameters:
- taskId
<static>
adf.PrintTask.createPrintMap(taskId, mapId, taskActionId, showingLoadingImage, clientPostBack)
- Parameters:
- {Object} taskId
- {Object} mapId
- {Object} taskActionId
- {Object} showingLoadingImage
- {Object} clientPostBack
<static>
adf.PrintTask.getLegendStyleStr()
<static>
adf.PrintTask.getPrintPage(printMapObj)
Generates the print map page.
- Parameters:
- {PrintMap Object} printMapObj
<static>
adf.PrintTask.getPrintPageLayoutOne(printMapObj)
Generates the print map page.
- Parameters:
- {PrintMap Object} printMapObj
<static>
adf.PrintTask.getQueryResultTableInHTML(keys, values)
- Parameters:
- {Object} keys
- - an array object
- {Object} values
- - an array object
<static>
adf.PrintTask.getResultStyleStr()
<static>
adf.PrintTask.getStyleSheetString()
<static>
adf.PrintTask.processCreatePrintPage(xml, eventSources)
The function is called back by the print task AJAX renderer.
It will open a new window to render the printing map.
- Parameters:
- {Object} xml
- - an DOM object
- {Object} eventSources
<static>
adf.PrintTask.renderLegendPatchInHTML(level, label, imageUrl, swatchWidth, swatchHeight)
- Parameters:
- {Object} level
- {Object} label
- {Object} imageUrl
- swatchWidth
- swatchHeight
<static>
adf.PrintTask.renderLegendTableInHTML(printMapObj)
- Parameters:
- {Object} printMapObj
<static>
adf.PrintTask.renderPrintMapInHTML(printMapObj)
Renders the Printable Map in a HTML table.
- Parameters:
- {Object} printMapObj
<static>
adf.PrintTask.renderResultTableInHTML(printMapObj)
- Parameters:
- {Object} printMapObj
<static>
adf.PrintTask.resultChecked(nodeId)
- Parameters:
- {Object} nodeId