|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISection
This interface is used to get and set information and formatting for a section of the report. Report areas contain at least one section. Each section within an area can be formatted differently. This object holds on to a report object, then releases the report object when it is destroyed.
Report objects can only be added to a section. Boxes and lines can cross section boundaries, but other objects cannot. When you want to add a report object, you do so by adding it to a section using the appropriate controller.
Method Summary | |
---|---|
ISectionFormat |
getFormat()
Returns the section format. |
int |
getHeight()
Returns the height of the section. |
AreaSectionKind |
getKind()
Returns AreaSectionKind that identifies the kind of section. |
java.lang.String |
getName()
Returns the name of the section. |
ReportObjects |
getReportObjects()
Returns the report objects for the section. |
int |
getSectionCode()
Returns the section code. |
int |
getWidth()
Returns the width of the section. |
void |
setFormat(ISectionFormat sectionFormat)
Sets the section format. |
void |
setHeight(int height)
Sets the height of the section. |
void |
setKind(AreaSectionKind kind)
Sets the kind of section. |
void |
setName(java.lang.String name)
Sets the name of the section. |
void |
setReportObjects(ReportObjects reportObjects)
Set the report objects for the section. |
void |
setSectionCode(int sectionCode)
Sets the section code. |
void |
setWidth(int width)
Sets the width of the section. |
Method Detail |
---|
ISectionFormat getFormat()
Returns the section format.
ISectionFormat
.int getHeight()
Returns the height of the section.
int
in twips.AreaSectionKind getKind()
Returns AreaSectionKind
that identifies the kind of section.
AreaSectionKind
.java.lang.String getName()
Returns the name of the section.
String
.ReportObjects getReportObjects()
Returns the report objects for the section.
ReportObjects
.int getSectionCode()
Returns the section code. The section code is an int
that is used
to identify sections within a report.
int
.int getWidth()
Returns the width of the section.
int
in twips.void setFormat(ISectionFormat sectionFormat)
Sets the section format.
sectionFormat
- The section kind as an ISectionFormat
.void setHeight(int height)
Sets the height of the section.
height
- The height of the section as an int
in twips.void setKind(AreaSectionKind kind)
Sets the kind of section.
kind
- The section kind as an AreaSectionKind
.void setName(java.lang.String name)
Sets the name of the section.
name
- The name of the section as a String
.void setReportObjects(ReportObjects reportObjects)
Set the report objects for the section.
reportObjects
- The report objects for the section as ReportObjects
.void setSectionCode(int sectionCode)
Sets the section code. The section code is an int
that is used
to identify sections within a report.
sectionCode
- The section code as an int
.void setWidth(int width)
Sets the width of the section.
width
- The width of the section as an int
in twips.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |