public class JRDesignBand extends JRDesignElementGroup implements JRBand
| Modifier and Type | Field and Description |
|---|---|
protected int |
height |
protected JRExpression |
printWhenExpression |
static String |
PROPERTY_HEIGHT |
static String |
PROPERTY_PRINT_WHEN_EXPRESSION |
static String |
PROPERTY_RETURN_VALUES |
protected List<ExpressionReturnValue> |
returnValues |
protected SplitTypeEnum |
splitTypeValue |
PROPERTY_CHILDREN, PROPERTY_ELEMENT_GROUPchildren, elementGroupPROPERTY_SPLIT_TYPE| Constructor and Description |
|---|
JRDesignBand() |
| Modifier and Type | Method and Description |
|---|---|
void |
addReturnValue(ExpressionReturnValue returnValue)
Adds a return value to the band.
|
Object |
clone() |
int |
getHeight() |
JROrigin |
getOrigin()
Returns the band origin, i.e.
|
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.
|
List<ExpressionReturnValue> |
getReturnValues()
Returns the list of values to increment report variables with.
|
List<ExpressionReturnValue> |
getReturnValuesList()
Returns the list of values to increment report variables with.
|
SplitTypeEnum |
getSplitTypeValue()
Specifies the band split behavior.
|
boolean |
hasProperties()
Checks whether the object has any properties.
|
boolean |
removeReturnValue(ExpressionReturnValue returnValue)
Removes a return value from the band.
|
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 String PROPERTY_HEIGHT
public static final String PROPERTY_PRINT_WHEN_EXPRESSION
public static final String PROPERTY_RETURN_VALUES
protected int height
protected SplitTypeEnum splitTypeValue
protected JRExpression printWhenExpression
protected List<ExpressionReturnValue> returnValues
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 List<ExpressionReturnValue> getReturnValues()
JRBandgetReturnValues in interface JRBandpublic void addReturnValue(ExpressionReturnValue returnValue)
returnValue - the return value to be added.public List<ExpressionReturnValue> getReturnValuesList()
ReturnValue objectspublic boolean removeReturnValue(ExpressionReturnValue returnValue)
returnValue - the return value to be removedtrue if the return value was found and removedpublic 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 parentCopyright © 2017. All rights reserved.