EspressReport
v 5.5

quadbase.ChartAPI
Class QbChartBasic.CMainTitle

java.lang.Object
  |
  +--quadbase.ChartAPI.QbChartBasic.CMainTitle
All Implemented Interfaces:
java.lang.Cloneable, IText, ITextString
Enclosing class:
QbChartBasic

protected final class QbChartBasic.CMainTitle
extends java.lang.Object
implements ITextString


Constructor Summary
protected QbChartBasic.CMainTitle()
           
 
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.
 java.awt.Dimension getOffset()
          Gets the relative offsets (horizontal and vertical) of the text string
 Position getPosition()
          Returns the position of the text string in the canvas
 java.lang.String getValue()
          This function returns the value of the 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.
 void setOffset(java.awt.Dimension offset)
          Sets the offset values of the text string.
 void setPosition(Position pos)
          Sets the position of the string in the canvas.
 void setValue(java.lang.String value)
          This function sets the value of the string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface quadbase.util.ITextString
equals
 

Constructor Detail

QbChartBasic.CMainTitle

protected QbChartBasic.CMainTitle()
Method Detail

getValue

public final java.lang.String getValue()
Description copied from interface: ITextString
This function returns the value of the string.
Specified by:
getValue in interface ITextString
Following copied from interface: quadbase.util.ITextString
Returns:
The value of the string as a String object.

setValue

public final void setValue(java.lang.String value)
Description copied from interface: ITextString
This function sets the value of the string.
Specified by:
setValue in interface ITextString
Following copied from interface: quadbase.util.ITextString
Parameters:
value - The string value to set.

getColor

public final java.awt.Color getColor()
Description copied from interface: IText
Returns the color of the text string.
Specified by:
getColor in interface IText
Following copied from interface: quadbase.util.IText
Returns:
The Color object containing the RGB color values for the text.

setColor

public final void setColor(java.awt.Color c)
Description copied from interface: IText
Sets the color value for the text string.
Specified by:
setColor in interface IText
Following copied from interface: quadbase.util.IText
Parameters:
c - The Color object.

getFont

public final java.awt.Font getFont()
Description copied from interface: IText
Returns the font of the text string.
Specified by:
getFont in interface IText
Following copied from interface: quadbase.util.IText
Returns:
The Font object containing the text string font information.

setFont

public final void setFont(java.awt.Font f)
Description copied from interface: IText
Sets the font of the text string.
Specified by:
setFont in interface IText
Following copied from interface: quadbase.util.IText
Parameters:
f - The input Font object.

getAngle

public final int getAngle()
Description copied from interface: IText
Returns the angle of the text string.
Specified by:
getAngle in interface IText
Following copied from interface: quadbase.util.IText
Returns:
The counterclockwise angle of the text string, in degrees.

setAngle

public final void setAngle(int angle)
Description copied from interface: IText
Sets the counterclockwise angle of the text string.
Specified by:
setAngle in interface IText
Following copied from interface: quadbase.util.IText
Parameters:
angle - The angle, in degrees, of the text string.

getPosition

public Position getPosition()
Description copied from interface: ITextString
Returns the position of the text string in the canvas
Specified by:
getPosition in interface ITextString
Following copied from interface: quadbase.util.ITextString
Returns:
The position object containing the x and y coordinates.

setPosition

public final void setPosition(Position pos)
Description copied from interface: ITextString
Sets the position of the string in the canvas.
Specified by:
setPosition in interface ITextString
Following copied from interface: quadbase.util.ITextString
Parameters:
pos - The position object.
 Note that the x and y values in the position object should be
 between 0 and 1.
 
See Also:
Position

getOffset

public final java.awt.Dimension getOffset()
Description copied from interface: ITextString
Gets the relative offsets (horizontal and vertical) of the text string
Specified by:
getOffset in interface ITextString
Following copied from interface: quadbase.util.ITextString
Returns:
The offset as a Dimension object.

setOffset

public final void setOffset(java.awt.Dimension offset)
Description copied from interface: ITextString
Sets the offset values of the text string.
Specified by:
setOffset in interface ITextString
Following copied from interface: quadbase.util.ITextString
Parameters:
offset - The Dimension object containing the horizontal and vertical offsets.

EspressReport
v 5.5