Package com.luciad.lucy.addons.print
Class TLcyGXYViewPrintableComponent
java.lang.Object
com.luciad.lucy.addons.print.TLcyPrintableMapComponent<ILcdGXYView>
com.luciad.lucy.addons.print.TLcyGXYViewPrintableComponent
This object represents a container that holds a
java.awt.Component
(see TLcyPrintableMapComponent.getComponent()
) that can be
printed on one or more pages. One of the children (direct or indirect) of that
java.awt.Component
is assumed to be a ILcdGXYView
(see getGXYView()
). That view can for example be used for scale
calculations.
Objects of this type are constructed by a ALcyPrintableComponentFactory
.-
Constructor Summary
ConstructorDescriptionTLcyGXYViewPrintableComponent
(Component aComponent, ILcdGXYView aGXYView) Creates a newTLcyGXYViewPrintableComponent
with the givenComponent
andILcdGXYView
. -
Method Summary
Modifier and TypeMethodDescriptionGet the main gxyview corresponding to the map component that needs to be printed.Methods inherited from class com.luciad.lucy.addons.print.TLcyPrintableMapComponent
getComponent, getView
-
Constructor Details
-
TLcyGXYViewPrintableComponent
Creates a newTLcyGXYViewPrintableComponent
with the givenComponent
andILcdGXYView
. Objects of this type are normally constructed using aALcyPrintableComponentFactory
.- Parameters:
aComponent
- TheComponent
that represents the content of the page(s).aGXYView
- TheILcdGXYView
that is assumed to be an (indirect) child of aComponent. It can for example be used to perform scale calculations.
-
-
Method Details
-
getGXYView
Get the main gxyview corresponding to the map component that needs to be printed. This view is used for scale calculations.- Returns:
- the main gxyview corresponding to the map component that needs to be printed.
-