|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.FontColor
public class FontColor
This object allows you to retrieve font information and specify the font color used in the
report object. When possible, use the IFontColor interface.
| Field Summary | |
|---|---|
static int |
NO_COLOR
An int that specifies no color (transparent). |
| Constructor Summary | |
|---|---|
FontColor()
|
|
FontColor(IFontColor 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.awt.Color |
getColor()
Returns the font color. |
int |
getColorValue()
Deprecated. internal use only |
FontColorConditionFormulas |
getConditionFormulas()
Returns the condition formulas used to override the font color's format settings. |
java.awt.Font |
getFont()
Deprecated. because java.awt.Font requires a graphics environment |
IFont |
getIFont()
Returns a IFont object. |
boolean |
hasContent(java.lang.Object srcFontColor)
|
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 |
setColor(java.awt.Color color)
Sets the font color. |
void |
setColorValue(int color)
Deprecated. internal use only |
void |
setConditionFormulas(FontColorConditionFormulas conditionFormulas)
Sets the condition formulas used to override the font color's format settings. |
void |
setFont(java.awt.Font font)
Deprecated. because java.awt.Font requires a graphics environment |
void |
setIFont(IFont font)
Sets a IFont object. |
boolean |
skipWritingIdenticalObject()
For internal use only. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NO_COLOR
int that specifies no color (transparent).
| Constructor Detail |
|---|
public FontColor(IFontColor src)
public FontColor()
| 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)
public void endElement(java.lang.String eleName,
java.util.Map objState)
public java.awt.Color getColor()
IFontColorReturns the font color.
getColor in interface IFontColorjava.awt.Color object that specifies the font color.public FontColorConditionFormulas getConditionFormulas()
IFontColorReturns the condition formulas used to override the font color's format settings.
getConditionFormulas in interface IFontColorFontColorConditionFormulas object that specifies the condition formulas
used to override the font color's format settings.
@Deprecated
public java.awt.Font getFont()
throws ReportSDKException
getFont in interface IFontColorReportSDKExceptionpublic boolean hasContent(java.lang.Object srcFontColor)
public IFont getIFont()
IFontColor
Returns a IFont object. Use the IFont property to identify a specific IFont
object whose properties you want to use. The IFont object allows you to
retrieve or set options such as font name, weight, and size.
getIFont in interface IFontColorIFont object.
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOExceptionpublic void setColor(java.awt.Color color)
IFontColorSets the font color.
setColor in interface IFontColorcolor - A java.awt.Color object that specifies the font color.public void setConditionFormulas(FontColorConditionFormulas conditionFormulas)
IFontColorSets the condition formulas used to override the font color's format settings.
setConditionFormulas in interface IFontColorconditionFormulas - A FontColorConditionFormulas object that specifies the condition formulas
used to override the font color's format settings.@Deprecated public void setFont(java.awt.Font font)
IFontColor
Sets a Font object. Use the Font property to identify a specific Font
object whose properties you want to use. The Font object allows you to
retrieve or set options such as font name, weight, and size.
setFont in interface IFontColorfont - A java.awt.Font object.public void setIFont(IFont font)
IFontColor
Sets a IFont object. Use the Font property to identify a specific IFont
object whose properties you want to use. The IFont object allows you to
retrieve or set options such as font name, weight, and size.
setIFont in interface IFontColorfont - A IFont object.public boolean skipWritingIdenticalObject()
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
@Deprecated public int getColorValue()
getColorValue in interface IFontColor@Deprecated public void setColorValue(int color)
setColorValue in interface IFontColor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||