|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.ReportObject
com.crystaldecisions.sdk.occa.report.definition.FieldObject
public class FieldObject
This object implements a field found in a report (for example, special field, database field,
parameter field, and so on). This object provides methods for formatting information for a field
in your report. A FieldObject object is obtained from the ReportObjects collection.
When possible, use the IFieldObject
interface to manipulate this object.
| Constructor Summary | |
|---|---|
FieldObject()
|
|
FieldObject(IFieldObject 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. |
java.lang.String |
getDataSource()
Deprecated. As of Version 10, it was replaced with the getDataSourceName
method in order to maintain consistency with the
BlobFieldObject object. |
java.lang.String |
getDataSourceName()
Returns the formula form of the field name. |
com.crystaldecisions.sdk.occa.report.definition.EmbeddedContentType |
getEmbeddedContentType()
For internal use only |
IFieldFormat |
getFieldFormat()
Returns the format of the field object |
FieldValueType |
getFieldValueType()
Returns the value type of the field. |
IFontColor |
getFontColor()
Returns the font color properties for the field. |
int |
getGroupNameFieldGroupIndex()
For internal use only |
java.lang.String |
getImageKey()
For internal use only |
boolean |
hasContent(java.lang.Object srcFieldObject)
|
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 |
setDataSource(java.lang.String dataSource)
Deprecated. As of Version 10, it was replaced with the setDataSourceName
method in order to maintain consistency with the
BlobFieldObject object. |
void |
setDataSourceName(java.lang.String dataSourceName)
Sets the formula form of the field name. |
void |
setEmbeddedContentType(com.crystaldecisions.sdk.occa.report.definition.EmbeddedContentType embeddedContentType)
For internal use only |
void |
setFieldFormat(IFieldFormat fieldFormat)
Sets the format of the field object |
void |
setFieldValueType(FieldValueType fieldValueType)
Deprecated. |
void |
setFieldValueType(FieldValueType fieldValueType,
java.util.Locale pvl)
Sets the value type of the field. |
void |
setFontColor(IFontColor fontColor)
Sets the font color properties for the field. |
void |
setGroupNameFieldGroupIndex(int groupIndex)
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, getFormula, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getTranslatableObject, getTranslatableString, getTranslatableStringIds, getTranslatableStringLabelResourceID, getVersion, getWidth, setBorder, setFormat, setHeight, setKind, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, setTop, setTranslatableString, 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, setSectionName, setTop, setWidth |
| Constructor Detail |
|---|
public FieldObject(IFieldObject src)
public FieldObject()
| Method Detail |
|---|
public java.lang.Object clone(boolean deepClone)
clone in class ReportObject
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
copyTo in class ReportObject
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
ReportObjectFor internal use only.
createMember in class ReportObject
public void endElement(java.lang.String eleName,
java.util.Map objState)
ReportObjectFor internal use only.
endElement in class ReportObjectpublic java.lang.String getDataSource()
getDataSourceName
method in order to maintain consistency with the
BlobFieldObject object.
getDataSource in interface IFieldObjectpublic java.lang.String getDataSourceName()
IFieldObjectReturns the formula form of the field name.
getDataSourceName in interface IFieldObjectString that specifies the formula form of the field name.public IFieldFormat getFieldFormat()
IFieldObjectReturns the format of the field object
getFieldFormat in interface IFieldObjectIFieldFormat object that specifies the format of the field object.public FieldValueType getFieldValueType()
IFieldObjectReturns the value type of the field.
getFieldValueType in interface IFieldObjectFieldValueType object that specifies the value type of the field.public IFontColor getFontColor()
IFieldObjectReturns the font color properties for the field.
getFontColor in interface IFieldObjectIFontColor object that specifies the font color properties for the
field.public com.crystaldecisions.sdk.occa.report.definition.EmbeddedContentType getEmbeddedContentType()
public int getGroupNameFieldGroupIndex()
public boolean hasContent(java.lang.Object srcFieldObject)
hasContent in class ReportObject
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
ReportObjectFor internal use only.
readElement in class ReportObject
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
ReportObjectFor internal use only.
save in class ReportObjectjava.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
ReportObjectFor internal use only.
save in class ReportObjectjava.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
ReportObjectFor internal use only.
saveContents in class ReportObjectjava.io.IOExceptionpublic void setDataSource(java.lang.String dataSource)
setDataSourceName
method in order to maintain consistency with the
BlobFieldObject object.
setDataSource in interface IFieldObjectpublic void setDataSourceName(java.lang.String dataSourceName)
IFieldObjectSets the formula form of the field name.
setDataSourceName in interface IFieldObjectdataSourceName - A String that specifies the formula form of the field name.public void setFieldFormat(IFieldFormat fieldFormat)
IFieldObjectSets the format of the field object
setFieldFormat in interface IFieldObjectfieldFormat - An IFieldFormat object that specifies the format of the
field object.public void setFieldValueType(FieldValueType fieldValueType)
IFieldObjectSets the value type of the field.
setFieldValueType in interface IFieldObjectfieldValueType - A FieldValueType object that specifies the value type of
the field.
public void setFieldValueType(FieldValueType fieldValueType,
java.util.Locale pvl)
IFieldObjectSets the value type of the field.
setFieldValueType in interface IFieldObjectfieldValueType - A FieldValueType object that specifies the value type of the field.pvl - A Locale object.public void setFontColor(IFontColor fontColor)
IFieldObjectSets the font color properties for the field.
setFontColor in interface IFieldObjectfontColor - An IFontColor object that specifies the font color properties
for the field.public void setEmbeddedContentType(com.crystaldecisions.sdk.occa.report.definition.EmbeddedContentType embeddedContentType)
public void setGroupNameFieldGroupIndex(int groupIndex)
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
ReportObjectFor internal use only.
startElement in class ReportObjectpublic java.lang.String getImageKey()
getImageKey in class ReportObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||