net.sf.jasperreports.components.map
Class MapElementGraphics2DHandler

java.lang.Object
  extended by net.sf.jasperreports.components.map.MapElementGraphics2DHandler
All Implemented Interfaces:
GenericElementGraphics2DHandler, GenericElementHandler

public class MapElementGraphics2DHandler
extends java.lang.Object
implements GenericElementGraphics2DHandler

Version:
$Id: MapElementGraphics2DHandler.java 5180 2012-03-29 13:23:12Z teodord $
Author:
sanda zaharia (shertage@users.sourceforge.net)

Constructor Summary
MapElementGraphics2DHandler()
           
 
Method Summary
 void exportElement(JRGraphics2DExporterContext exporterContext, JRGenericPrintElement element, java.awt.Graphics2D grx, Offset offset)
          Exports a generic element.
static MapElementGraphics2DHandler getInstance()
           
 boolean toExport(JRGenericPrintElement element)
          Decides whether a generic print element is to be exported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapElementGraphics2DHandler

public MapElementGraphics2DHandler()
Method Detail

getInstance

public static MapElementGraphics2DHandler getInstance()

exportElement

public void exportElement(JRGraphics2DExporterContext exporterContext,
                          JRGenericPrintElement element,
                          java.awt.Graphics2D grx,
                          Offset offset)
Description copied from interface: GenericElementGraphics2DHandler
Exports a generic element.

Specified by:
exportElement in interface GenericElementGraphics2DHandler
element - the generic element to export
grx - the graphic context

toExport

public boolean toExport(JRGenericPrintElement element)
Description copied from interface: GenericElementHandler
Decides whether a generic print element is to be exported.

Specified by:
toExport in interface GenericElementHandler
Parameters:
element - the element
Returns:
whether the element is to be exported or skipped


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com