EspressReport 6.6

quadbase.util
Interface ILabel

All Superinterfaces:
java.lang.Cloneable, IText

public interface ILabel
extends IText

This interface is used to set/get different properties associated with the labels drawn in a chart.

See Also:
ITextString, IText, IFormat

Method Summary
 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 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 interface quadbase.util.IText
getAngle, getColor, getFont, setAngle, setColor, setFont
 

Method Detail

isVisible

boolean isVisible()
This function checks if the given label(s) is/are visible or not.

Returns:
true if the labels are visible, false otherwise

setVisible

void setVisible(boolean b)
This function enables/disables the drawing of label(s).

Parameters:
b - true if labels are to be displayed, false otherwise.

getOffset

java.awt.Dimension getOffset()
This function returns the horizontal and vertical label offset.

Returns:
The horizontal and vertical offsets in a Dimension object.

setOffset

void setOffset(java.awt.Dimension offset)
This function sets the horizontal and vertical label offsets.

Parameters:
offset - The horizontal and vertical offsets stored in a Dimension object.

getFormat

IFormat getFormat()
This function returns a handle to an object of type IFormat.

Associated QbChart property:

 
           DATA_LABEL_FORMAT
 
 

Returns:
A handle to an object of type IFormat
See Also:
IFormat, DateTimeFormat, NumericFormat, LogicalFormat

setFormat

void setFormat(IFormat f)
This function sets the format object for the label being displayed.

Associated QbChart property:

 
           DATA_LABEL_FORMAT
 
 

Parameters:
f - The format for the label being displayed.

EspressReport 6.6