Packagecom.flexicious.nestedtreedatagrid.print
Classpublic class ExtendedPrintController
InheritanceExtendedPrintController Inheritance PrintController Inheritance Object



Public Properties
 PropertyDefined By
  grid : IExtendedDataGrid
[read-only] The current grid being exported
ExtendedPrintController
  printOptions : PrintOptions
[read-only] The current export options
ExtendedPrintController
Protected Properties
 PropertyDefined By
 Inherited_extendedDataGrid : IExtendedDataGrid
PrintController
  _pageInfos : Array
ExtendedPrintController
 InheritedprintJob : FlexPrintJob
PrintController
 Inherited_printOptions : PrintOptions
PrintController
 Inherited_printWindow : PrintWindow
PrintController
 InheritedserverDataRetrieved : Boolean = false
PrintController
 InheritedtotalDirty : Boolean = true
PrintController
Public Methods
 MethodDefined By
  
ExtendedPrintController
  
generatePreview(printPreview:IPrintPreview, printWindow:PrintWindow):void
[override]
ExtendedPrintController
  
getBodyContainerHeight(page:String):Number
ExtendedPrintController
  
[static]
ExtendedPrintController
 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]
ExtendedPrintController
  
printWithOptions(printable:IPrintable, printOptions:PrintOptions):void
[override]
ExtendedPrintController
Protected Methods
 MethodDefined By
 Inherited
PrintController
  
calculateTotalPages(iCollectionView:Object, hasGrouped:Boolean):void
[override]
ExtendedPrintController
 Inherited
cloneColumn(cols:Array, col:Object):void
PrintController
  
createPrintWindow(printable:IPrintable, printOptions:PrintOptions):PrintWindow
[override]
ExtendedPrintController
  
[override]
ExtendedPrintController
 Inherited
PrintController
  
[override]
ExtendedPrintController
 Inherited
onPrintOptionsClose(event:Object):void
PrintController
 Inherited
onPrintRequestDataRecieved(event:Event):void
PrintController
  
setupPrintWindow(printable:IPrintable, printOptions:PrintOptions, printWindow:PrintWindow):void
[override]
ExtendedPrintController
Property Detail
_pageInfosproperty
protected var _pageInfos:Array

gridproperty 
grid:IExtendedDataGrid  [read-only]

The current grid being exported


Implementation
    public function get grid():IExtendedDataGrid
printOptionsproperty 
printOptions:PrintOptions  [read-only]

The current export options


Implementation
    public function get printOptions():PrintOptions
Constructor Detail
ExtendedPrintController()Constructor
public function ExtendedPrintController()



Method Detail
calculateTotalPages()method
override protected function calculateTotalPages(iCollectionView:Object, hasGrouped:Boolean):void

Parameters

iCollectionView:Object
 
hasGrouped:Boolean

createPrintWindow()method 
override protected function createPrintWindow(printable:IPrintable, printOptions:PrintOptions):PrintWindow

Parameters

printable:IPrintable
 
printOptions:PrintOptions

Returns
PrintWindow
generatePreview()method 
override public function generatePreview(printPreview:IPrintPreview, printWindow:PrintWindow):void

Parameters

printPreview:IPrintPreview
 
printWindow:PrintWindow

getBodyContainerHeight()method 
public function getBodyContainerHeight(page:String):Number

Parameters

page:String

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

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

Returns
ExtendedPrintController
onPrintComplete()method 
override protected function onPrintComplete():void

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

Parameters

printable:IPrintable
 
printOptions:PrintOptions (default = null)

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

Parameters

printable:IPrintable
 
printOptions:PrintOptions
 
printWindow:PrintWindow