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
ConstructorsConstructorDescriptionTLcyGXYViewPrintableComponent(Component aComponent, ILcdGXYView aGXYView) Creates a newTLcyGXYViewPrintableComponentwith the givenComponentandILcdGXYView. -
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 newTLcyGXYViewPrintableComponentwith the givenComponentandILcdGXYView. Objects of this type are normally constructed using aALcyPrintableComponentFactory.- Parameters:
aComponent- TheComponentthat represents the content of the page(s).aGXYView- TheILcdGXYViewthat 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.
-