net.sf.jasperreports.engine

## Interface JRPrintElementContainer

- All Known Implementing Classes:
    BaseFillList.AppendingPrintElementContainer, JRPrintBand, JRTemplatePrintFrame

      public interface JRPrintElementContainer

  Print element container interface.

  An instance of this type is used by `JRFillElementContainer` to collect the generated print elements.

  Version:
    $Id: JRPrintElementContainer.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addElement(JRPrintElement element)` Adds an element to the container.
    `java.util.List<JRPrintElement>` | `getElements()` Returns the list of `elements` of the container.
    `int` | `getHeight()` Returns the height of the container.
    `void` | `setHeight(int height)` Sets the height of the container.

- - ### Method Detail

    - #### getHeight

          int getHeight()

      Returns the height of the container.
      Returns:
        the height of the container

    - #### setHeight

          void setHeight(int height)

      Sets the height of the container.
      Parameters:
        `height` - the height

    - #### getElements

          java.util.List<JRPrintElement> getElements()

      Returns the list of `elements` of the container.
      Returns:
        the list of elements

    - #### addElement

          void addElement(JRPrintElement element)

      Adds an element to the container.
      Parameters:
        `element` - the element to add

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com