Package com.luciad.lucy.addons.print
Class TLcyPrintableMapComponent<V extends ILcdView>
java.lang.Object
com.luciad.lucy.addons.print.TLcyPrintableMapComponent<V>
- Direct Known Subclasses:
TLcyGXYViewPrintableComponent
A container that holds a
java.awt.Component
(see 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 an ILcdView
(see getView()
). That view can for example be used for scale
calculations.
Objects of this type are constructed by a ALcyPrintableMapComponentFactory
.- Since:
- 2013.0
-
Constructor Summary
ConstructorDescriptionTLcyPrintableMapComponent
(Component aComponent, V aView) Creates a newTLcyPrintableMapComponent
with the givenComponent
andILcView
. -
Method Summary
Modifier and TypeMethodDescriptionGet the component which contains the content of the pages.getView()
Get the main view corresponding to the map component that needs to be printed.
-
Constructor Details
-
TLcyPrintableMapComponent
Creates a newTLcyPrintableMapComponent
with the givenComponent
andILcView
. Objects of this type are normally constructed using aALcyPrintableMapComponentFactory
.- Parameters:
aComponent
- TheComponent
that represents the content of the page(s).aView
- The view that is assumed to be an (indirect) child of aComponent. It can for example be used to perform scale calculations.
-
-
Method Details
-
getComponent
Get the component which contains the content of the pages.- Returns:
- the component which contains the content of the pages.
-
getView
Get the main view corresponding to the map component that needs to be printed. This view is used for scale calculations.- Returns:
- the main view corresponding to the map component that needs to be printed.
-