net.sf.jasperreports.components.list
public class DesignListContents extends JRDesignElementGroup implements ListContents
ListContents
implementation used at report design time.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_HEIGHT |
static java.lang.String |
PROPERTY_WIDTH |
PROPERTY_CHILDREN, PROPERTY_ELEMENT_GROUP
children, elementGroup
Constructor and Description |
---|
DesignListContents() |
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.
|
void |
setHeight(int height)
Sets the list contents height.
|
void |
setWidth(int width)
Sets the width of the list contents.
|
void |
setWidth(java.lang.Integer width)
Sets the width of the list contents.
|
addElement, addElement, addElementGroup, addElementGroup, getEventSupport, removeElement, removeElementGroup, setElementGroup
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
public static final java.lang.String PROPERTY_HEIGHT
public static final java.lang.String PROPERTY_WIDTH
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 void setHeight(int height)
height
- the list contents heightgetHeight()
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()
public void setWidth(java.lang.Integer width)
width
- the list contents widthgetWidth()
public void setWidth(int width)
width
- the list contents widthgetWidth()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com