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)
-
-
Constructor Summary
Constructors Constructor Description IconLabelElementGraphics2DHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exportElement(JRGraphics2DExporterContext exporterContext, JRGenericPrintElement element, Graphics2D grx, Offset offset)
Exports a generic element.static IconLabelElementGraphics2DHandler
getInstance()
boolean
toExport(JRGenericPrintElement element)
Decides whether a generic print element is to be exported.
-
-
-
Method Detail
-
getInstance
public static IconLabelElementGraphics2DHandler 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
element
- the generic element to exportgrx
- 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 interfaceGenericElementHandler
- Parameters:
element
- the element- Returns:
- whether the element is to be exported or skipped
-
-