|
|||||||||
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
Deprecated. |
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 |
doControllerModification(java.lang.Object newObject)
|
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
void |
enumerateMembers(IMemberVisitor visitor)
|
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. |
ControllableMixin |
getControllableMixin()
|
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)
|
boolean |
isDirectlyControllable()
|
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.O |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_COLOR
An int
that specifies no color (transparent).
Note: The setColorValue
and getColorValue
methods are deprecated. To set a report object to no color, you must instead
specify a transparent java.awt.Color
object for the setColor(java.awt.Color color)
method: setColor(new Color(255,255,255,0));
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)
For internal use only.
public void endElement(java.lang.String eleName, java.util.Map objState)
For internal use only.
public java.awt.Color getColor()
IFontColor
Returns the font color.
getColor
in interface IFontColor
java.awt.Color
object that specifies the font color.public FontColorConditionFormulas getConditionFormulas()
IFontColor
Returns the condition formulas used to override the font color's format settings.
getConditionFormulas
in interface IFontColor
FontColorConditionFormulas
object that specifies the condition formulas
used to override the font color's format settings.public java.awt.Font getFont() throws ReportSDKException
getFont
in interface IFontColor
ReportSDKException
public 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 IFontColor
IFont
object.public void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
For internal use only.
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void setColor(java.awt.Color color)
IFontColor
Sets the font color.
setColor
in interface IFontColor
color
- A java.awt.Color
object that specifies the font color.public void setConditionFormulas(FontColorConditionFormulas conditionFormulas)
IFontColor
Sets the condition formulas used to override the font color's format settings.
setConditionFormulas
in interface IFontColor
conditionFormulas
- A FontColorConditionFormulas
object that specifies the condition formulas
used to override the font color's format settings.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 IFontColor
font
- 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 IFontColor
font
- A IFont
object.public boolean skipWritingIdenticalObject()
For internal use only.O
public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
For internal use only.
public int getColorValue()
getColorValue
in interface IFontColor
public void setColorValue(int color)
setColorValue
in interface IFontColor
public ControllableMixin getControllableMixin()
public void doControllerModification(java.lang.Object newObject) throws ReportSDKException
ReportSDKException
public boolean isDirectlyControllable()
public void enumerateMembers(IMemberVisitor visitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |