|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.partsdefinition.ReportPartsDefinition
public class ReportPartsDefinition
This class defines which report objects to display in the
CrystalReportPartsViewer
.
This object is used to set the setReportParts method of the CrystalReportPartsViewer object.
See the Getting Started > Tutorials section of the Viewer Java SDK Guide for
an example of how to use the ReportPartsDefinition
class.
Constructor Summary | |
---|---|
ReportPartsDefinition()
|
Method Summary | |
---|---|
boolean |
containsReportPartIDs(ReportPartIDs ids)
For internal use only. |
ReportPartIDs |
findDrillDownParts(java.lang.String name)
For internal use only. |
java.lang.String |
getDataContext()
Returns the data sub tree of the report where the engine should start to look for the report object. |
ReportPartNode |
getParentNode(java.lang.String name)
For internal use only. |
ReportPartIDs |
getReportPartIDs()
For internal use only. |
ReportPartNodes |
getReportPartNodes()
Returns the parent collection of ReportPartNodes
containing the information representing all the levels of drill down. |
java.lang.String |
getTitle()
Returns the title displayed at the top of the CrystalReportPartsViewer . |
void |
setDataContext(java.lang.String dataContext)
Sets the data sub tree of the report where the engine should start to look for the report object. |
void |
setReportPartNodes(ReportPartNodes nodes)
Sets the parent collection of ReportPartNodes
containing the information representing all the levels of drill down. |
void |
setTitle(java.lang.String newTitle)
Sets the title displayed at the top of the CrystalReportPartsViewer . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportPartsDefinition()
Method Detail |
---|
public boolean containsReportPartIDs(ReportPartIDs ids)
public ReportPartIDs findDrillDownParts(java.lang.String name)
public java.lang.String getDataContext()
String
.setDataContext
public ReportPartNode getParentNode(java.lang.String name)
public ReportPartIDs getReportPartIDs()
public ReportPartNodes getReportPartNodes()
Returns the parent collection of ReportPartNodes
containing the information representing all the levels of drill down.
Note: The parent ReportPartNodes
collection contains
one or more ReportPartNode
objects that may contain
ReportPartNodes
collections defining the lower drill-down paths.
ReportPartNodes
.setReportPartNodes
public java.lang.String getTitle()
CrystalReportPartsViewer
.
CrystalReportPartsViewer
as a String
.setTitle
public void setDataContext(java.lang.String dataContext)
Sets the data sub tree of the report where the engine should start to look for the report object.
Note: The data context can be specified using either strings or integers to describe the report nodes.
dataContext
- A String
that specifies the
data sub tree of the report.getDataContext
public void setReportPartNodes(ReportPartNodes nodes)
ReportPartNodes
containing the information representing all the levels of drill down.
Note: The parent ReportPartNodes
collection contains
one or more ReportPartNode
objects that may contain
ReportPartNodes
collections defining the lower drill-down paths.
nodes
- the ReportPartNodes
object to associate with the
ReportPartsDefinition
objectgetReportPartNodes
public void setTitle(java.lang.String newTitle)
Sets the title displayed at the top of the
CrystalReportPartsViewer
.
Note:
setDisplayTitle
method of the CrystalReportPartsViewer
class must be set to
true
in order to display the title.setReportTitle
method
of the CrystalReportPartsViewer
class. setReportTitle
method overrides the
setTitle
method.
newTitle
- A String
that specifies the title displayed at the
top of the CrystalReportPartsViewer
.getTitle
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |