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_GROUP
children, elementGroup
PROPERTY_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, 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 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()
.JRBand
isSplitAllowed
in interface JRBand
public void setSplitAllowed(boolean isSplitAllowed)
setSplitType(Byte)
.setSplitAllowed
in interface JRBand
public java.lang.Byte getSplitType()
getSplitTypeValue()
.JRBand
getSplitType
in interface JRBand
public SplitTypeEnum getSplitTypeValue()
JRBand
getSplitTypeValue
in interface JRBand
public void setSplitType(java.lang.Byte splitType)
setSplitType(SplitTypeEnum)
.setSplitType
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
/
setGroupHeader
methods).public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class JRBaseElementGroup
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com