public class TLcyPrintableMapComponent<V extends ILcdView> extends Object
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
.Constructor and Description |
---|
TLcyPrintableMapComponent(Component aComponent,
V aView)
Creates a new
TLcyPrintableMapComponent with the given
Component and ILcView . |
Modifier and Type | Method and Description |
---|---|
Component |
getComponent()
Get the component which contains the content of the pages.
|
V |
getView()
Get the main view corresponding to the map component that needs to be
printed.
|
public TLcyPrintableMapComponent(Component aComponent, V aView)
TLcyPrintableMapComponent
with the given
Component
and ILcView
. Objects of this type
are normally constructed using a ALcyPrintableMapComponentFactory
.aComponent
- The Component
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.public Component getComponent()
public V getView()