Class DesignListContents
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseElementGroup
net.sf.jasperreports.engine.design.JRDesignElementGroup
net.sf.jasperreports.components.list.DesignListContents
- All Implemented Interfaces:
Serializable,Cloneable,ListContents,JRChangeEventsSupport,JRChild,JRCloneable,JRElementGroup,JRVisitable
ListContents implementation used at report design time.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsFields inherited from class net.sf.jasperreports.engine.design.JRDesignElementGroup
PROPERTY_CHILDREN, PROPERTY_ELEMENT_GROUPFields inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup
children, elementGroup -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.sf.jasperreports.engine.design.JRDesignElementGroup
addElement, addElement, addElement, addElementGroup, addElementGroup, clone, getEventSupport, removeElement, removeElementGroup, setElementGroupMethods inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup
clone, getChildren, getElementByKey, getElementByKey, getElementGroup, getElements, getElements, visitMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.engine.JRCloneable
cloneMethods inherited from interface net.sf.jasperreports.engine.JRElementGroup
getChildren, getElementByKey, getElementGroup, getElementsMethods inherited from interface net.sf.jasperreports.engine.JRVisitable
visit
-
Field Details
-
PROPERTY_HEIGHT
- See Also:
-
PROPERTY_WIDTH
- See Also:
-
-
Constructor Details
-
DesignListContents
public DesignListContents()
-
-
Method Details
-
getHeight
public int getHeight()Description copied from interface:ListContentsReturns the height of the list contents.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.
- Specified by:
getHeightin interfaceListContents- Returns:
- the height of the list contents
-
setHeight
public void setHeight(int height) Sets the list contents height.- Parameters:
height- the list contents height- See Also:
-
getWidth
Description copied from interface:ListContentsReturns the width of the list contents.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.
- Specified by:
getWidthin interfaceListContents- Returns:
- the width of the list contents
- See Also:
-
setWidth
Sets the width of the list contents.- Parameters:
width- the list contents width- See Also:
-