public class BaseListContents extends JRBaseElementGroup implements ListContents
ListContents
implementation used in compiled reports.children, elementGroup
Modifier | Constructor and Description |
---|---|
protected |
BaseListContents(ListContents listContents,
JRBaseObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Returns the height of the list contents.
|
java.lang.Integer |
getWidth()
Returns the width of the list contents.
|
clone, clone, getChildren, getElementByKey, getElementByKey, getElementGroup, getElements, getElements, visit
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getElementByKey, getElementGroup, getElements
visit
clone
protected BaseListContents(ListContents listContents, JRBaseObjectFactory factory)
public int getHeight()
ListContents
This value is used as a minimum list item height: if the space left on the page is smaller than the height, then an overflow is triggered and the list item is printed on a new page/column.
getHeight
in interface ListContents
public java.lang.Integer getWidth()
ListContents
When the list is filled horizontally, several list cells will be placed on the same row one next to another within the width of the list element (unless the list element width is ignored). The width of the list contents will determine how many cells can be placed on a row.
getWidth
in interface ListContents
ListComponent.getPrintOrder()
,
ListComponent.getIgnoreWidth()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com