public class JRDesignBand extends JRDesignElementGroup implements JRBand
| Modifier and Type | Field and Description |
|---|---|
protected int |
height |
protected JRExpression |
printWhenExpression |
static java.lang.String |
PROPERTY_HEIGHT |
static java.lang.String |
PROPERTY_PRINT_WHEN_EXPRESSION |
protected SplitTypeEnum |
splitTypeValue |
PROPERTY_CHILDREN, PROPERTY_ELEMENT_GROUPchildren, elementGroupPROPERTY_SPLIT_TYPE, SPLIT_TYPE_IMMEDIATE, SPLIT_TYPE_PREVENT, SPLIT_TYPE_STRETCH| Constructor and Description |
|---|
JRDesignBand() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
getHeight() |
JROrigin |
getOrigin()
Returns the band origin, i.e.
|
JRExpression |
getPrintWhenExpression()
Returns the boolean expression that specifies if the band will be displayed.
|
java.lang.Byte |
getSplitType()
Deprecated.
Replaced by
getSplitTypeValue(). |
SplitTypeEnum |
getSplitTypeValue()
Specifies the band split behavior.
|
boolean |
isSplitAllowed()
Deprecated.
Replaced by
getSplitType(). |
void |
setHeight(int height) |
void |
setPrintWhenExpression(JRExpression expression) |
void |
setSplitAllowed(boolean isSplitAllowed)
Deprecated.
Replaced by
setSplitType(Byte). |
void |
setSplitType(java.lang.Byte splitType)
Deprecated.
Replaced by
setSplitType(SplitTypeEnum). |
void |
setSplitType(SplitTypeEnum splitTypeValue) |
addElement, addElement, addElementGroup, addElementGroup, getEventSupport, removeElement, removeElementGroup, setElementGroupclone, getChildren, getElementByKey, getElementByKey, getElementGroup, getElements, getElements, visitequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildren, getElementByKey, getElementGroup, getElementsvisitpublic static final java.lang.String PROPERTY_HEIGHT
public static final java.lang.String PROPERTY_PRINT_WHEN_EXPRESSION
protected int height
protected SplitTypeEnum splitTypeValue
protected JRExpression printWhenExpression
public void setHeight(int height)
public boolean isSplitAllowed()
getSplitType().JRBandisSplitAllowed in interface JRBandpublic void setSplitAllowed(boolean isSplitAllowed)
setSplitType(Byte).setSplitAllowed in interface JRBandpublic java.lang.Byte getSplitType()
getSplitTypeValue().JRBandgetSplitType in interface JRBandpublic SplitTypeEnum getSplitTypeValue()
JRBandgetSplitTypeValue in interface JRBandpublic void setSplitType(java.lang.Byte splitType)
setSplitType(SplitTypeEnum).setSplitType in interface JRBandpublic void setSplitType(SplitTypeEnum splitTypeValue)
setSplitType in interface JRBandpublic JRExpression getPrintWhenExpression()
JRBandgetPrintWhenExpression in interface JRBandpublic void setPrintWhenExpression(JRExpression expression)
public JROrigin getOrigin()
setTitle/
setGroupHeader
methods).public java.lang.Object clone()
clone in interface JRCloneableclone in class JRBaseElementGroup© 2001-2010 Jaspersoft Corporation www.jaspersoft.com