Class TLcyGXYViewPrintableComponent

java.lang.Object
com.luciad.lucy.addons.print.TLcyPrintableMapComponent<ILcdGXYView>
com.luciad.lucy.addons.print.TLcyGXYViewPrintableComponent

public class TLcyGXYViewPrintableComponent extends TLcyPrintableMapComponent<ILcdGXYView>
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 Details

    • TLcyGXYViewPrintableComponent

      public TLcyGXYViewPrintableComponent(Component aComponent, ILcdGXYView aGXYView)
      Creates a new TLcyGXYViewPrintableComponent with the given Component and ILcdGXYView. Objects of this type are normally constructed using a ALcyPrintableComponentFactory.
      Parameters:
      aComponent - The Component that represents the content of the page(s).
      aGXYView - The ILcdGXYView that is assumed to be an (indirect) child of aComponent. It can for example be used to perform scale calculations.
  • Method Details

    • getGXYView

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