Class TLcyPrintableMapComponent<V extends ILcdView>

java.lang.Object
com.luciad.lucy.addons.print.TLcyPrintableMapComponent<V>
Direct Known Subclasses:
TLcyGXYViewPrintableComponent

public class TLcyPrintableMapComponent<V extends ILcdView> extends Object
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 Details

    • TLcyPrintableMapComponent

      public TLcyPrintableMapComponent(Component aComponent, V aView)
      Creates a new TLcyPrintableMapComponent with the given Component and ILcView. Objects of this type are normally constructed using a ALcyPrintableMapComponentFactory.
      Parameters:
      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.
  • Method Details

    • getComponent

      public Component getComponent()
      Get the component which contains the content of the pages.
      Returns:
      the component which contains the content of the pages.
    • getView

      public V 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.