|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.base.JRBaseSection net.sf.jasperreports.engine.design.JRDesignSection
public class JRDesignSection
Field Summary | |
---|---|
protected java.util.List<JRBand> |
bandsList
|
static java.lang.String |
PROPERTY_BANDS
|
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseSection |
---|
bands |
Constructor Summary | |
---|---|
JRDesignSection(JROrigin origin)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseSection |
---|
clone, getEventSupport |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_BANDS
protected java.util.List<JRBand> bandsList
Constructor Detail |
---|
public JRDesignSection(JROrigin origin)
Method Detail |
---|
public JROrigin getOrigin()
JasperDesign.setPageHeader(JRBand)
/
methods).
protected void setOrigin(JROrigin origin)
public JRBand[] getBands()
JRSection
getBands
in interface JRSection
getBands
in class JRBaseSection
public 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 removed
public JRBand removeBand(int index)
index
- the index of the band to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |