EspressReport 6.6

quadbase.util
Interface IText

All Superinterfaces:
java.lang.Cloneable
All Known Subinterfaces:
IAnnotation, ILabel, INoDataToPlotMessage, ITextString
All Known Implementing Classes:
TextString, TextString

public interface IText
extends java.lang.Cloneable

This interface is used to modify the font, color, and angle of text strings drawn in the chart.

See Also:
ILabel, ITextString

Method Summary
 int getAngle()
          Returns the angle of the text string.
 java.awt.Color getColor()
          Returns the color of the text string.
 java.awt.Font getFont()
          Returns the font of the text string.
 void setAngle(int angle)
          Sets the counterclockwise angle of the text string.
 void setColor(java.awt.Color c)
          Sets the color value for the text string.
 void setFont(java.awt.Font f)
          Sets the font of the text string.
 

Method Detail

getColor

java.awt.Color getColor()
Returns the color of the text string.

Returns:
The Color object containing the RGB color values for the text.

setColor

void setColor(java.awt.Color c)
Sets the color value for the text string.

Parameters:
c - The Color object.

getFont

java.awt.Font getFont()
Returns the font of the text string.

Returns:
The Font object containing the text string font information.

setFont

void setFont(java.awt.Font f)
Sets the font of the text string.

Parameters:
f - The input Font object.

getAngle

int getAngle()
Returns the angle of the text string.

Returns:
The counterclockwise angle of the text string, in degrees.

setAngle

void setAngle(int angle)
Sets the counterclockwise angle of the text string.

Parameters:
angle - The angle, in degrees, of the text string.

EspressReport 6.6