net.sf.jasperreports.engine.convert

## Class ElementIconConverter

- java.lang.Object
- - net.sf.jasperreports.engine.convert.ElementConverter
  - - net.sf.jasperreports.engine.convert.ElementIconConverter

- Direct Known Subclasses:
    GenericElementConverter, IconLabelComponentDesignConverter, MapDesignConverter, SortComponentDesignConverter, SubreportConverter

      public class ElementIconConverter
      extends ElementConverter

  Base converter that generates a static preview icon for the element.
  Version:
    $Id: ElementIconConverter.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ElementIconConverter(java.lang.String iconLocation)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `JRPrintElement` | `convert(ReportConverter reportConverter, JRElement element)`
    `protected Renderable` | `getRenderer(JasperReportsContext jasperReportsContext)`

    - ### Methods inherited from class net.sf.jasperreports.engine.convert.ElementConverter

      `copyElement, copyGraphicElement`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ElementIconConverter

          public ElementIconConverter(java.lang.String iconLocation)

  - ### Method Detail

    - #### convert

          public JRPrintElement convert(ReportConverter reportConverter,
                               JRElement element)

      Specified by:
        `convert` in class `ElementConverter`

    - #### getRenderer

          protected Renderable getRenderer(JasperReportsContext jasperReportsContext)

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com