Package quadbase.util

Interface ILabel

All Superinterfaces:
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:
  • Method Summary

    Modifier and Type
    Method
    Description
    This function returns a handle to an object of type IFormat.
    This function returns the horizontal and vertical label offset.
    boolean
    This function checks if the given label(s) is/are visible or not.
    void
    This function sets the format object for the label being displayed.
    void
    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 Details

    • 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

      Dimension getOffset()
      This function returns the horizontal and vertical label offset.
      Returns:
      The horizontal and vertical offsets in a Dimension object.
    • setOffset

      void setOffset(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:
    • 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.