EspressReport
v 5.5

quadbase.ChartAPI
Class QbChartBasic.CDataTopLabel2

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

protected class QbChartBasic.CDataTopLabel2
extends java.lang.Object
implements ILabel


Constructor Summary
protected QbChartBasic.CDataTopLabel2()
           
 
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.
 IFormat getFormat()
          This function returns a handle to an object of type IFormat.
 java.awt.Dimension getOffset()
          This function returns the horizontal and vertical label offset.
 boolean isVisible()
          This function checks if the given label(s) is/are visible or not.
 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 setFormat(IFormat f)
          This function sets the format object for the label being displayed.
 void setOffset(java.awt.Dimension offset)
          This function sets the horizontal and vertical label offsets.
 void setVisible(boolean b)
          This function enables/disables the drawing of label(s).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QbChartBasic.CDataTopLabel2

protected QbChartBasic.CDataTopLabel2()
Method Detail

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.

isVisible

public final boolean isVisible()
Description copied from interface: ILabel
This function checks if the given label(s) is/are visible or not.
Specified by:
isVisible in interface ILabel
Following copied from interface: quadbase.util.ILabel
Returns:
true if the labels are visible, false otherwise

setVisible

public final void setVisible(boolean b)
Description copied from interface: ILabel
This function enables/disables the drawing of label(s).
Specified by:
setVisible in interface ILabel
Following copied from interface: quadbase.util.ILabel
Parameters:
b - true if labels are to be displayed, false otherwise.

getOffset

public final java.awt.Dimension getOffset()
Description copied from interface: ILabel
This function returns the horizontal and vertical label offset.
Specified by:
getOffset in interface ILabel
Following copied from interface: quadbase.util.ILabel
Returns:
The horizontal and vertical offsets in a Dimension object.

setOffset

public final void setOffset(java.awt.Dimension offset)
Description copied from interface: ILabel
This function sets the horizontal and vertical label offsets.
Specified by:
setOffset in interface ILabel
Following copied from interface: quadbase.util.ILabel
Parameters:
offset - The horizontal and vertical offsets stored in a Dimension object.

getFormat

public IFormat getFormat()
Description copied from interface: ILabel
This function returns a handle to an object of type IFormat.

Associated QbChart property:


           DATA_LABEL_FORMAT
 
Specified by:
getFormat in interface ILabel
Following copied from interface: quadbase.util.ILabel
Returns:
A handle to an object of type IFormat
See Also:
IFormat, DateTimeFormat, NumericFormat, LogicalFormat

setFormat

public void setFormat(IFormat f)
Description copied from interface: ILabel
This function sets the format object for the label being displayed.

Associated QbChart property:


           DATA_LABEL_FORMAT
 
Specified by:
setFormat in interface ILabel
Following copied from interface: quadbase.util.ILabel
Parameters:
f - The format for the label being displayed.

EspressReport
v 5.5