Packagecom.flexicious.components.dashboard.print
Classpublic class DashboardPrintController
InheritanceDashboardPrintController Inheritance PrintController Inheritance Object

Extended version of the Print controller for managing print of the dashboard



Protected Properties
 PropertyDefined By
 Inherited_extendedDataGrid : IExtendedDataGrid
PrintController
 InheritedprintJob : FlexPrintJob
PrintController
 Inherited_printOptions : PrintOptions
PrintController
 Inherited_printWindow : PrintWindow
PrintController
 InheritedserverDataRetrieved : Boolean = false
PrintController
 InheritedtotalDirty : Boolean = true
PrintController
Public Methods
 MethodDefined By
  
generatePreview(printPreview:IPrintPreview, printWindow:PrintWindow):void
[override] Generates a preview of the dashboard
DashboardPrintController
  
[static]
DashboardPrintController
 Inherited
previewWithOptions(printable:IPrintable, printOptions:PrintOptions):void
Creates a preview of the grid and displays it.
PrintController
  
print(printable:IPrintable, printOptions:PrintOptions = null):void
[override] Called by the grid to print its contents to the printer on basis of the passed in print options.
DashboardPrintController
  
printWithOptions(printable:IPrintable, printOptions:PrintOptions):void
[override]
DashboardPrintController
Protected Methods
 MethodDefined By
 Inherited
PrintController
 Inherited
calculateTotalPages(iCollectionView:Object, hasColumnGroups:Boolean):void
PrintController
 Inherited
cloneColumn(cols:Array, col:Object):void
PrintController
  
[override] Unused, dashboard printouts are currently one page only.
DashboardPrintController
 Inherited
PrintController
 Inherited
onPrintOptionsClose(event:Object):void
PrintController
 Inherited
onPrintRequestDataRecieved(event:Event):void
PrintController
  
setupPrintWindow(printable:IPrintable, printOptions:PrintOptions, printWindow:PrintWindow):void
[override] Called by both the print and the preview, to populate the grid on basis of the provided options.
DashboardPrintController
Method Detail
generatePreview()method
override public function generatePreview(printPreview:IPrintPreview, printWindow:PrintWindow):void

Generates a preview of the dashboard

Parameters

printPreview:IPrintPreview
 
printWindow:PrintWindow

gotoCurrentPage()method 
override protected function gotoCurrentPage():void

Unused, dashboard printouts are currently one page only.

instance()method 
public static function instance():PrintController

Returns
PrintController
print()method 
override public function print(printable:IPrintable, printOptions:PrintOptions = null):void

Called by the grid to print its contents to the printer on basis of the passed in print options. If the preview property of the printOptions parameter is true, it will popup a preview window.

Parameters

printable:IPrintable — The IPrintable to print
 
printOptions:PrintOptions (default = null) — PrintOptions to use for printing

printWithOptions()method 
override public function printWithOptions(printable:IPrintable, printOptions:PrintOptions):void

Parameters

printable:IPrintable
 
printOptions:PrintOptions

setupPrintWindow()method 
override protected function setupPrintWindow(printable:IPrintable, printOptions:PrintOptions, printWindow:PrintWindow):void

Called by both the print and the preview, to populate the grid on basis of the provided options.

Parameters

printable:IPrintable
 
printOptions:PrintOptions
 
printWindow:PrintWindow