Class IconLabelElementGraphics2DHandler
java.lang.Object
net.sf.jasperreports.components.iconlabel.IconLabelElementGraphics2DHandler
- All Implemented Interfaces:
GenericElementGraphics2DHandler
,GenericElementHandler
public class IconLabelElementGraphics2DHandler
extends Object
implements GenericElementGraphics2DHandler
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exportElement
(JRGraphics2DExporterContext exporterContext, JRGenericPrintElement element, Graphics2D grx, Offset offset) Exports a generic element.boolean
toExport
(JRGenericPrintElement element) Decides whether a generic print element is to be exported.
-
Method Details
-
getInstance
-
exportElement
public void exportElement(JRGraphics2DExporterContext exporterContext, JRGenericPrintElement element, Graphics2D grx, Offset offset) Description copied from interface:GenericElementGraphics2DHandler
Exports a generic element.- Specified by:
exportElement
in interfaceGenericElementGraphics2DHandler
- Parameters:
element
- the generic element to exportgrx
- the graphic context
-
toExport
Description copied from interface:GenericElementHandler
Decides whether a generic print element is to be exported.- Specified by:
toExport
in interfaceGenericElementHandler
- Parameters:
element
- the element- Returns:
- whether the element is to be exported or skipped
-