Class MapElementGraphics2DHandler
java.lang.Object
net.sf.jasperreports.components.map.MapElementGraphics2DHandler
- All Implemented Interfaces:
GenericElementGraphics2DHandler,GenericElementHandler
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexportElement(JRGraphics2DExporterContext exporterContext, JRGenericPrintElement element, Graphics2D grx, Offset offset) Exports a generic element.static MapElementGraphics2DHandlerbooleantoExport(JRGenericPrintElement element) Decides whether a generic print element is to be exported.
-
Constructor Details
-
MapElementGraphics2DHandler
public MapElementGraphics2DHandler()
-
-
Method Details
-
getInstance
-
exportElement
public void exportElement(JRGraphics2DExporterContext exporterContext, JRGenericPrintElement element, Graphics2D grx, Offset offset) Description copied from interface:GenericElementGraphics2DHandlerExports a generic element.- Specified by:
exportElementin interfaceGenericElementGraphics2DHandlerelement- the generic element to exportgrx- the graphic context
-
toExport
Description copied from interface:GenericElementHandlerDecides whether a generic print element is to be exported.- Specified by:
toExportin interfaceGenericElementHandler- Parameters:
element- the element- Returns:
- whether the element is to be exported or skipped
-