com.crystaldecisions.sdk.occa.report.definition
Interface IFontColor

All Superinterfaces:
IClone
All Known Implementing Classes:
FontColor

public interface IFontColor
extends IClone

This interface allows you to retrieve font information and specify the font color used in the report object.


Method Summary
 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.
 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.
 

Method Detail

getColor

java.awt.Color getColor()

Returns the font color.

Returns:
A java.awt.Color object that specifies the font color.

getColorValue

int getColorValue()
Deprecated. internal use only


getConditionFormulas

FontColorConditionFormulas getConditionFormulas()

Returns the condition formulas used to override the font color's format settings.

Returns:
A FontColorConditionFormulas object that specifies the condition formulas used to override the font color's format settings.

getIFont

IFont getIFont()

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.

Returns:
A IFont object.

getFont

java.awt.Font getFont()
                      throws ReportSDKException
Deprecated. because java.awt.Font requires a graphics environment

Throws:
ReportSDKException

setColor

void setColor(java.awt.Color color)

Sets the font color.

Parameters:
color - A java.awt.Color object that specifies the font color.

setColorValue

void setColorValue(int color)
Deprecated. internal use only


setConditionFormulas

void setConditionFormulas(FontColorConditionFormulas conditionFormulas)

Sets the condition formulas used to override the font color's format settings.

Parameters:
conditionFormulas - A FontColorConditionFormulas object that specifies the condition formulas used to override the font color's format settings.

setFont

void setFont(java.awt.Font font)
Deprecated. because java.awt.Font requires a graphics environment

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.

Parameters:
font - A java.awt.Font object.

setIFont

void setIFont(IFont font)

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.

Parameters:
font - A IFont object.