Package | com.flexicious.grids.dependencies |
Interface | public interface IPrintable extends flash.events.IEventDispatcher |
Implementors | DashboardContainer |
Property | Defined By | ||
---|---|---|---|
enablePrint : Boolean | IPrintable | ||
moduleFactory : IFlexModuleFactory [read-only] | IPrintable | ||
parentDocument : Object [read-only] | IPrintable | ||
pdfPrinter : IPDFPrinter
A class that takes the PDF Pages as they are generated. | IPrintable | ||
useModuleFactory : Boolean [read-only]
Flag that indicates to use the module factory of the grid to show popups. | IPrintable |
Method | Defined By | ||
---|---|---|---|
createPrintComponentFactory():IFactory
Gets the class responsible for handling the PrintUI for this IPrintable. | IPrintable |
enablePrint | property |
enablePrint:Boolean
This property can be used as the source for data binding.
public function get enablePrint():Boolean
public function set enablePrint(value:Boolean):void
moduleFactory | property |
moduleFactory:IFlexModuleFactory
[read-only] public function get moduleFactory():IFlexModuleFactory
parentDocument | property |
parentDocument:Object
[read-only] public function get parentDocument():Object
pdfPrinter | property |
pdfPrinter:IPDFPrinter
A class that takes the PDF Pages as they are generated. This functionality was introduced in 2.9 to provide a responsive UI during the generation of the PDF. Previously, the print controller created image snapshots in memory, and handed them all to the pdf engine, which processed them individually by adding them to the display tree in one go. Instead, now, the step of the snapshot itself adds the image to the pdf doc and this whole thing runs inside a timer so the UI has an opportunity to update itself. First, you specify a class that implements IPDFPrinter as the pdfPrinter property. The AlivePdfPrinter is a sample implementation of IPDFPrinter. This class should expose the methods defined in the IPDFPrinter which are used as such: The beginDocument method is called when the Print controller is ready to send out the pages. For each page generated by the Print Controller, the addPage method is called. Once all pages are added to the doc, the endDocument method is called.
public function get pdfPrinter():IPDFPrinter
public function set pdfPrinter(value:IPDFPrinter):void
useModuleFactory | property |
useModuleFactory:Boolean
[read-only] Flag that indicates to use the module factory of the grid to show popups. Use this when you are using modules and your parent application is not under your control. Please note, you will still need to ensure that the parent application imports PopupManager. http://bugs.adobe.com/jira/browse/SDK-873
public function get useModuleFactory():Boolean
createPrintComponentFactory | () | method |
public function createPrintComponentFactory():IFactory
Gets the class responsible for handling the PrintUI for this IPrintable. Should be a IPrintComponent.
ReturnsIFactory |