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 |
protected SplitTypeEnum |
splitTypeValue |
PROPERTY_CHILDREN, PROPERTY_ELEMENT_GROUP
children, elementGroup
PROPERTY_SPLIT_TYPE
Constructor and Description |
---|
JRDesignBand() |
Modifier and Type | Method and Description |
---|---|
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, setElementGroup
clone, getChildren, getElementByKey, getElementByKey, getElementGroup, getElements, getElements, visit
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getElementByKey, getElementGroup, getElements
visit
public static final String PROPERTY_HEIGHT
public static final String PROPERTY_PRINT_WHEN_EXPRESSION
protected int height
protected SplitTypeEnum splitTypeValue
protected JRExpression printWhenExpression
public void setHeight(int height)
public SplitTypeEnum getSplitTypeValue()
JRBand
getSplitTypeValue
in interface JRBand
public void setSplitType(SplitTypeEnum splitTypeValue)
setSplitType
in interface JRBand
public JRExpression getPrintWhenExpression()
JRBand
getPrintWhenExpression
in interface JRBand
public void setPrintWhenExpression(JRExpression expression)
public JROrigin getOrigin()
setTitle
/
setPageHeader
methods).public Object clone()
clone
in interface JRCloneable
clone
in class JRDesignElementGroup
public boolean hasProperties()
JRPropertiesHolder
hasProperties
in interface JRPropertiesHolder
public JRPropertiesMap getPropertiesMap()
JRPropertiesHolder
getPropertiesMap
in interface JRPropertiesHolder
public JRPropertiesHolder getParentProperties()
JRPropertiesHolder
getParentProperties
in interface JRPropertiesHolder
null
if no parentCopyright © 2015. All rights reserved.