|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.Section
public class Section
This object defines 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.
| Constructor Summary | |
|---|---|
Section()
|
|
Section(ISection src)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone(boolean deepClone)
|
ISection |
cloneSectionWithouContainedReportObjects(boolean deepClone)
For internal use only. |
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
ISectionFormat |
getFormat()
Returns the section format. |
int |
getHeight()
Returns the height of the section. |
java.lang.String |
getImageKey()
For internal use only. |
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. |
boolean |
hasContent(java.lang.Object srcSection)
|
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
For internal use only. |
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
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. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Section(ISection src)
public Section()
| Method Detail |
|---|
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
public ISection cloneSectionWithouContainedReportObjects(boolean deepClone)
For internal use only.
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only.
public void endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only.
public ISectionFormat getFormat()
ISectionReturns the section format.
getFormat in interface ISectionISectionFormat.public int getHeight()
ISectionReturns the height of the section.
getHeight in interface ISectionint in twips.public AreaSectionKind getKind()
ISectionReturns AreaSectionKind that identifies the kind of section.
getKind in interface ISectionAreaSectionKind.public java.lang.String getName()
ISectionReturns the name of the section.
getName in interface ISectionString.public ReportObjects getReportObjects()
ISectionReturns the report objects for the section.
getReportObjects in interface ISectionReportObjects.public int getSectionCode()
ISectionReturns the section code. The section code is an int that is used
to identify sections within a report.
getSectionCode in interface ISectionint.public int getWidth()
ISectionReturns the width of the section.
getWidth in interface ISectionint in twips.public boolean hasContent(java.lang.Object srcSection)
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only.
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOExceptionpublic void setFormat(ISectionFormat sectionFormat)
ISectionSets the section format.
setFormat in interface ISectionsectionFormat - The section kind as an ISectionFormat.public void setHeight(int height)
ISectionSets the height of the section.
setHeight in interface ISectionheight - The height of the section as an int in twips.public void setKind(AreaSectionKind kind)
ISectionSets the kind of section.
setKind in interface ISectionkind - The section kind as an AreaSectionKind.public void setName(java.lang.String name)
ISectionSets the name of the section.
setName in interface ISectionname - The name of the section as a String.public void setReportObjects(ReportObjects reportObjects)
ISectionSet the report objects for the section.
setReportObjects in interface ISectionreportObjects - The report objects for the section as ReportObjects.public void setSectionCode(int sectionCode)
ISectionSets the section code. The section code is an int that is used
to identify sections within a report.
setSectionCode in interface ISectionsectionCode - The section code as an int.public void setWidth(int width)
ISectionSets the width of the section.
setWidth in interface ISectionwidth - The width of the section as an int in twips.
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only.
public java.lang.String getImageKey()
For internal use only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||