|
|||||||||
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)
|
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 |
doControllerModification(java.lang.Object newObject)
|
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
void |
enumerateMembers(IMemberVisitor visitor)
|
ControllableMixin |
getControllableMixin()
|
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. |
boolean |
hasContent(java.lang.Object srcSection)
|
boolean |
isDirectlyControllable()
|
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 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()
ISection
Returns the section format.
getFormat
in interface ISection
ISectionFormat
.public int getHeight()
ISection
Returns the height of the section.
getHeight
in interface ISection
int
in twips.public AreaSectionKind getKind()
ISection
Returns AreaSectionKind
that identifies the kind of section.
getKind
in interface ISection
AreaSectionKind
.public java.lang.String getName()
ISection
Returns the name of the section.
getName
in interface ISection
String
.public ReportObjects getReportObjects()
ISection
Returns the report objects for the section.
getReportObjects
in interface ISection
ReportObjects
.public int getSectionCode()
ISection
Returns the section code. The section code is an int
that is used
to identify sections within a report.
getSectionCode
in interface ISection
int
.public int getWidth()
ISection
Returns the width of the section.
getWidth
in interface ISection
int
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.IOException
public void setFormat(ISectionFormat sectionFormat)
ISection
Sets the section format.
setFormat
in interface ISection
sectionFormat
- The section kind as an ISectionFormat
.public void setHeight(int height)
ISection
Sets the height of the section.
setHeight
in interface ISection
height
- The height of the section as an int
in twips.public void setKind(AreaSectionKind kind)
ISection
Sets the kind of section.
setKind
in interface ISection
kind
- The section kind as an AreaSectionKind
.public void setName(java.lang.String name)
ISection
Sets the name of the section.
setName
in interface ISection
name
- The name of the section as a String
.public void setReportObjects(ReportObjects reportObjects)
ISection
Set the report objects for the section.
setReportObjects
in interface ISection
reportObjects
- The report objects for the section as ReportObjects
.public void setSectionCode(int sectionCode)
ISection
Sets the section code. The section code is an int
that is used
to identify sections within a report.
setSectionCode
in interface ISection
sectionCode
- The section code as an int
.public void setWidth(int width)
ISection
Sets the width of the section.
setWidth
in interface ISection
width
- 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 ControllableMixin getControllableMixin()
public void doControllerModification(java.lang.Object newObject)
public boolean isDirectlyControllable()
public void enumerateMembers(IMemberVisitor visitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |