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| Constructor and Description |
|---|
JRDesignBand() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
getHeight() |
JROrigin |
getOrigin()
Returns the band origin, i.e. its location/role within the report
(e.g. detail/title/group header/etc).
|
JRPropertiesHolder |
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults
for this object.
|
JRExpression |
getPrintWhenExpression()
Returns the boolean expression that specifies if the band will be displayed.
|
JRPropertiesMap |
getPropertiesMap()
Returns this object's properties map.
|
SplitTypeEnum |
getSplitTypeValue()
Specifies the band split behavior.
|
boolean |
hasProperties()
Checks whether the object has any properties.
|
void |
setHeight(int height) |
void |
setPrintWhenExpression(JRExpression expression) |
void |
setSplitType(SplitTypeEnum splitTypeValue) |
addElement, 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 SplitTypeEnum getSplitTypeValue()
JRBandgetSplitTypeValue 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 /
setPageHeader
methods).public java.lang.Object clone()
clone in interface JRCloneableclone in class JRDesignElementGrouppublic boolean hasProperties()
JRPropertiesHolderhasProperties in interface JRPropertiesHolderpublic JRPropertiesMap getPropertiesMap()
JRPropertiesHoldergetPropertiesMap in interface JRPropertiesHolderpublic JRPropertiesHolder getParentProperties()
JRPropertiesHoldergetParentProperties in interface JRPropertiesHoldernull if no parent© 2001-2010 Jaspersoft Corporation www.jaspersoft.com