com.crystaldecisions.sdk.occa.report.definition
Class CrossTabObject

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.ReportObject
      extended by com.crystaldecisions.sdk.occa.report.definition.CrossTabObject
All Implemented Interfaces:
ICrossTabObject, IReportObject, IClone

public class CrossTabObject
extends ReportObject
implements ICrossTabObject, IClone

This object enables you to get and set the grid format for a CrossTabObject. Use the ICrossTabObject interface to manipulate this object.

A Cross-Tab object is a grid that returns values based on the criteria you specify. Data is presented in compact rows and columns. This format makes it easy to compare data and identify trends.

NOTE: You cannot add or modify Cross-Tab objects through RAS. You can only delete Cross-Tab objects.


Constructor Summary
CrossTabObject()
           
CrossTabObject(ICrossTabObject 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 endElement(java.lang.String eleName, java.util.Map objState)
          For internal use only.
 IReportObject findObjectByName(java.lang.String name)
          For internal use only
 ICrossTabDefinition getCrossTabDefinition()
          For internal use only
 ICrossTabFormat getCrossTabFormat()
          For internal use only
 IFormula getFormula(TranslatableStringId id)
          For internal use only
 java.lang.String getImageKey()
          For internal use only
 java.util.List getTranslatableChildren()
          For internal use only
 java.lang.String getTranslatableString(TranslatableStringId id)
          For internal use only
 java.util.List getTranslatableStringIds()
          For internal use only
 java.lang.String getTranslatableStringLabelResourceID(TranslatableStringId id)
          For internal use only
 boolean hasContent(java.lang.Object srcCrossTabObject)
           
 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 setCrossTabDefinition(ICrossTabDefinition crossTabDefinition)
          For internal use only
 void setSectionName(java.lang.String sectionName)
          Sets the section name for the report object.
 void setTranslatableString(TranslatableStringId id, java.lang.String newText)
          For internal use only
 void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
          For internal use only.
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.definition.ReportObject
getBorder, getBorderMargins, getFormat, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getTranslatableObject, getVersion, getWidth, setBorder, setFormat, setHeight, setKind, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setTop, setVersion, setWidth
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IReportObject
getBorder, getBorderMargins, getFormat, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getWidth, setBorder, setFormat, setHeight, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setTop, setWidth
 

Constructor Detail

CrossTabObject

public CrossTabObject(ICrossTabObject src)

CrossTabObject

public CrossTabObject()
Method Detail

clone

public java.lang.Object clone(boolean deepClone)
Overrides:
clone in class ReportObject

copyTo

public void copyTo(java.lang.Object destObject,
                   boolean deepCopy)
Overrides:
copyTo in class ReportObject

createMember

public java.lang.Object createMember(java.lang.String eleName,
                                     org.xml.sax.Attributes attrs,
                                     XMLSerializationContext ctxt,
                                     java.util.Map objState,
                                     boolean[] bLoaded)
Description copied from class: ReportObject

For internal use only.

Overrides:
createMember in class ReportObject

endElement

public void endElement(java.lang.String eleName,
                       java.util.Map objState)
Description copied from class: ReportObject

For internal use only.

Overrides:
endElement in class ReportObject

hasContent

public boolean hasContent(java.lang.Object srcCrossTabObject)
Overrides:
hasContent in class ReportObject

readElement

public void readElement(java.lang.String eleName,
                        java.lang.String sVal,
                        org.xml.sax.Attributes attrs,
                        java.util.Map objState)

For internal use only.

Overrides:
readElement in class ReportObject

save

public void save(XMLWriter writer,
                 XMLSerializationContext ctxt)
          throws java.io.IOException
Description copied from class: ReportObject

For internal use only.

Overrides:
save in class ReportObject
Throws:
java.io.IOException

save

public void save(XMLWriter writer,
                 java.lang.String sTag,
                 XMLSerializationContext ctxt)
          throws java.io.IOException
Description copied from class: ReportObject

For internal use only.

Overrides:
save in class ReportObject
Throws:
java.io.IOException

saveContents

public void saveContents(XMLWriter writer,
                         XMLSerializationContext ctxt)
                  throws java.io.IOException
Description copied from class: ReportObject

For internal use only.

Overrides:
saveContents in class ReportObject
Throws:
java.io.IOException

startElement

public void startElement(java.lang.String eleName,
                         java.util.Map objState,
                         org.xml.sax.Attributes attrs)
Description copied from class: ReportObject

For internal use only.

Overrides:
startElement in class ReportObject

getCrossTabDefinition

public ICrossTabDefinition getCrossTabDefinition()
Description copied from interface: ICrossTabObject
For internal use only

Specified by:
getCrossTabDefinition in interface ICrossTabObject

setCrossTabDefinition

public void setCrossTabDefinition(ICrossTabDefinition crossTabDefinition)
Description copied from interface: ICrossTabObject
For internal use only

Specified by:
setCrossTabDefinition in interface ICrossTabObject

getCrossTabFormat

public ICrossTabFormat getCrossTabFormat()
Description copied from interface: ICrossTabObject
For internal use only

Specified by:
getCrossTabFormat in interface ICrossTabObject

findObjectByName

public IReportObject findObjectByName(java.lang.String name)
Description copied from interface: ICrossTabObject
For internal use only

Specified by:
findObjectByName in interface ICrossTabObject

getTranslatableStringIds

public java.util.List getTranslatableStringIds()
For internal use only

Overrides:
getTranslatableStringIds in class ReportObject

getTranslatableString

public java.lang.String getTranslatableString(TranslatableStringId id)
For internal use only

Overrides:
getTranslatableString in class ReportObject

setTranslatableString

public void setTranslatableString(TranslatableStringId id,
                                  java.lang.String newText)
For internal use only

Overrides:
setTranslatableString in class ReportObject

getTranslatableStringLabelResourceID

public java.lang.String getTranslatableStringLabelResourceID(TranslatableStringId id)
For internal use only

Overrides:
getTranslatableStringLabelResourceID in class ReportObject

getFormula

public IFormula getFormula(TranslatableStringId id)
For internal use only

Overrides:
getFormula in class ReportObject

getTranslatableChildren

public java.util.List getTranslatableChildren()
For internal use only


setSectionName

public void setSectionName(java.lang.String sectionName)
Description copied from interface: IReportObject

Sets the section name for the report object. Report objects are added to sections in the report. For more information see ISection and Section.

Specified by:
setSectionName in interface IReportObject
Overrides:
setSectionName in class ReportObject
Parameters:
sectionName - The section name for the report object as a String.

getImageKey

public java.lang.String getImageKey()
For internal use only

Overrides:
getImageKey in class ReportObject