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
ModifierConstructorDescriptionprotected
Creates a newALcyPrintPreviewFactory
. -
Method Summary
Modifier and TypeMethodDescriptionabstract Component
createPrintPreview
(C aPrintContext, ILcdAction aCloseAction) Creates ajava.awt.Component
which contains the content of the print preview dialog for the givenILcyMapComponent
.abstract ILcyLucyEnv
Returns the associated lucy environment.abstract void
setLucyEnv
(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.Component
which contains the content of the print preview dialog for the givenILcyMapComponent
. The suppliedILcdAction
can 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.
-