Documentation of 'de.erichseifert.gral.plots.points.LabelPointRenderer' Java class
LabelPointRenderer
de.erichseifert.gral.plots.points

Class LabelPointRenderer

    • Constructor Detail

      • LabelPointRenderer

        public LabelPointRenderer()
        Initializes a new renderer.
    • Method Detail

      • getColumn

        public int getColumn()
        Returns the index of the column which is used for the label.
        Returns:
        Index of the column which is used for the label.
      • setColumn

        public void setColumn(int column)
        Sets the index of the column which will be used for the label.
        Parameters:
        column - Index of the column which will be used for the label.
      • getFormat

        public java.text.Format getFormat()
        Returns the format which specifies how the labels are displayed.
        Returns:
        Format instance which specifies how the labels are displayed.
      • setFormat

        public void setFormat(java.text.Format format)
        Sets the format which specifies how the labels will be displayed.
        Parameters:
        format - Format instance which specifies how the labels will be displayed.
      • getFont

        public java.awt.Font getFont()
        Returns the font of this label.
        Returns:
        Font of this label.
      • setFont

        public void setFont(java.awt.Font font)
        Sets font of this label.
        Parameters:
        font - Font of this label.
      • getAlignmentX

        public double getAlignmentX()
        Returns the horizontal alignment relative to the data point. 0 means left, 1 means right.
        Returns:
        Horizontal alignment relative to the data point.
      • setAlignmentX

        public void setAlignmentX(double alignmentX)
        Sets the horizontal alignment relative to the data point. 0 means left, 1 means right.
        Parameters:
        alignmentX - Horizontal alignment relative to the data point.
      • getAlignmentY

        public double getAlignmentY()
        Returns the vertical alignment relative to the data point. 0 means top, 1 means bottom.
        Returns:
        Vertical alignment relative to the data point.
      • setAlignmentY

        public void setAlignmentY(double alignmentY)
        Sets the vertical alignment relative to the data point. 0 means top, 1 means bottom.
        Parameters:
        alignmentY - Vertical alignment relative to the data point.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.