Package com.luciad.lucy.addons.print
Class ALcyPrintPreviewFactory<C extends ALcyPrintContext>
java.lang.Object
com.luciad.lucy.addons.print.ALcyPrintPreviewFactory<C>
- Direct Known Subclasses:
TLcyLspPrintPreviewFactory,TLcyPrintPreviewFactory
Creates the content of the print preview dialog. Usually composed of some GUI widgets to change
some settings (paper size, ...), and a part where the actual page(s) can be previewed.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a newALcyPrintPreviewFactory. -
Method Summary
Modifier and TypeMethodDescriptionabstract ComponentcreatePrintPreview(C aPrintContext, ILcdAction aCloseAction) Creates ajava.awt.Componentwhich contains the content of the print preview dialog for the givenILcyMapComponent.abstract ILcyLucyEnvReturns the associated lucy environment.abstract voidsetLucyEnv(ILcyLucyEnv aLucyEnv) Sets the associated lucy environment.
-
Constructor Details
-
ALcyPrintPreviewFactory
protected ALcyPrintPreviewFactory()Creates a newALcyPrintPreviewFactory.
-
-
Method Details
-
getLucyEnv
Returns the associated lucy environment.- Returns:
- the associated lucy environment.
- See Also:
-
setLucyEnv
Sets the associated lucy environment.- Parameters:
aLucyEnv- The lucy environment.- See Also:
-
createPrintPreview
Creates ajava.awt.Componentwhich contains the content of the print preview dialog for the givenILcyMapComponent. The suppliedILcdActioncan be used as action behind a 'close' button.- Parameters:
aPrintContext- The print context to use.aCloseAction- The close action to use.- Returns:
- the created content of the print preview dialog.
-