net.sf.jasperreports.engine
Interface JRPrintElementContainer

All Known Implementing Classes:
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,v 1.3 2005/11/28 09:20:44 teodord Exp $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Method Summary
 void addElement(JRPrintElement element)
          Adds an element to the container.
 java.util.List 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

public int getHeight()
Returns the height of the container.

Returns:
the height of the container

setHeight

public void setHeight(int height)
Sets the height of the container.

Parameters:
height - the height

getElements

public java.util.List getElements()
Returns the list of elements of the container.

Returns:
the list of elements

addElement

public void addElement(JRPrintElement element)
Adds an element to the container.

Parameters:
element - the element to add


© 2001-2005 JasperSoft Corporation www.jaspersoft.com