|
|||||||||
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. |
void |
enumerateMembers(IMemberVisitor visitor)
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. |
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 locale)
Sets the value type of the field. |
void |
setFontColor(IFontColor fontColor)
Sets the font color properties for the field. |
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 |
---|
doControllerModification, getBorder, getBorderMargins, getControllableMixin, getFormat, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getVersion, getWidth, isDirectlyControllable, setBorder, setFormat, setHeight, setKind, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, 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, 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)
createMember
in class ReportObject
public void endElement(java.lang.String eleName, java.util.Map objState)
endElement
in class ReportObject
public java.lang.String getDataSource()
getDataSourceName
method in order to maintain consistency with the
BlobFieldObject
object.
getDataSource
in interface IFieldObject
public java.lang.String getDataSourceName()
IFieldObject
Returns the formula form of the field name.
getDataSourceName
in interface IFieldObject
String
that specifies the formula form of the field name.public IFieldFormat getFieldFormat()
IFieldObject
Returns the format of the field object
getFieldFormat
in interface IFieldObject
IFieldFormat
object that specifies the format of the field object.public FieldValueType getFieldValueType()
IFieldObject
Returns the value type of the field.
getFieldValueType
in interface IFieldObject
FieldValueType
object that specifies the value type of the field.public IFontColor getFontColor()
IFieldObject
Returns the font color properties for the field.
getFontColor
in interface IFieldObject
IFontColor
object that specifies the font color properties for the
field.public com.crystaldecisions.sdk.occa.report.definition.EmbeddedContentType getEmbeddedContentType()
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)
readElement
in class ReportObject
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
save
in class ReportObject
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
save
in class ReportObject
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
saveContents
in class ReportObject
java.io.IOException
public void setDataSource(java.lang.String dataSource)
setDataSourceName
method in order to maintain consistency with the
BlobFieldObject
object.
setDataSource
in interface IFieldObject
public void setDataSourceName(java.lang.String dataSourceName)
IFieldObject
Sets the formula form of the field name.
setDataSourceName
in interface IFieldObject
dataSourceName
- A String
that specifies the formula form of the field name.public void setFieldFormat(IFieldFormat fieldFormat)
IFieldObject
Sets the format of the field object
setFieldFormat
in interface IFieldObject
fieldFormat
- An IFieldFormat
object that specifies the format of the
field object.public void setFieldValueType(FieldValueType fieldValueType)
IFieldObject
Sets the value type of the field.
setFieldValueType
in interface IFieldObject
fieldValueType
- A FieldValueType
object that specifies the value type of
the field.public void setFieldValueType(FieldValueType fieldValueType, java.util.Locale locale)
IFieldObject
Sets the value type of the field.
setFieldValueType
in interface IFieldObject
fieldValueType
- A FieldValueType
object that specifies the value type of the field.locale
- A Locale
object.public void setFontColor(IFontColor fontColor)
IFieldObject
Sets the font color properties for the field.
setFontColor
in interface IFieldObject
fontColor
- 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 startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
startElement
in class ReportObject
public void enumerateMembers(IMemberVisitor visitor)
enumerateMembers
in class ReportObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |