public class JRDesignSection extends JRBaseSection
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<JRBand> |
bandsList |
static java.lang.String |
PROPERTY_BANDS |
bands| Constructor and Description |
|---|
JRDesignSection(JROrigin origin) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBand(int index,
JRBand band)
Adds a band to the section.
|
void |
addBand(JRBand band)
Adds a band to the section.
|
JRBand[] |
getBands()
Returns the bands within the current section.
|
java.util.List<JRBand> |
getBandsList()
Gets a list of all bands within the current section.
|
JROrigin |
getOrigin()
Returns the section origin, i.e. its location/role within the report
(e.g. detail/title/group header/etc).
|
JRBand |
removeBand(int index)
Removes a band from the section.
|
JRBand |
removeBand(JRBand band)
Removes a band from the section.
|
protected void |
setOrigin(JROrigin origin) |
clone, getEventSupportpublic static final java.lang.String PROPERTY_BANDS
protected java.util.List<JRBand> bandsList
public JRDesignSection(JROrigin origin)
public JROrigin getOrigin()
JasperDesign.setPageHeader(JRBand)/
methods).protected void setOrigin(JROrigin origin)
public JRBand[] getBands()
JRSectiongetBands in interface JRSectiongetBands in class JRBaseSectionpublic java.util.List<JRBand> getBandsList()
public void addBand(JRBand band)
band - the band to be addedpublic void addBand(int index,
JRBand band)
index - the zero based index of the band to be addedband - the band to be addedpublic JRBand removeBand(JRBand band)
band - the band to be removedpublic JRBand removeBand(int index)
index - the index of the band to be removed© 2001-2010 Jaspersoft Corporation www.jaspersoft.com