Documentation of 'org.jfree.chart.labels.AbstractXYItemLabelGenerator' Java class
AbstractXYItemLabelGenerator
org.jfree.chart.labels

Class AbstractXYItemLabelGenerator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object clone()
      Returns an independent copy of the generator.
      boolean equals(java.lang.Object obj)
      Tests this object for equality with an arbitrary object.
      java.lang.String generateLabelString(XYDataset dataset, int series, int item)
      Generates a label string for an item in the dataset.
      java.lang.String getFormatString()
      Returns the format string (this controls the overall structure of the label).
      java.lang.String getNullYString()
      Returns the string representing a null value.
      java.text.DateFormat getXDateFormat()
      Returns the date formatter for the x-values.
      java.text.NumberFormat getXFormat()
      Returns the number formatter for the x-values.
      java.text.DateFormat getYDateFormat()
      Returns the date formatter for the y-values.
      java.text.NumberFormat getYFormat()
      Returns the number formatter for the y-values.
      int hashCode()
      Returns a hash code for this instance.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFormatString

        public java.lang.String getFormatString()
        Returns the format string (this controls the overall structure of the label).
        Returns:
        The format string (never null).
      • getXFormat

        public java.text.NumberFormat getXFormat()
        Returns the number formatter for the x-values.
        Returns:
        The number formatter (possibly null).
      • getXDateFormat

        public java.text.DateFormat getXDateFormat()
        Returns the date formatter for the x-values.
        Returns:
        The date formatter (possibly null).
      • getYFormat

        public java.text.NumberFormat getYFormat()
        Returns the number formatter for the y-values.
        Returns:
        The number formatter (possibly null).
      • getYDateFormat

        public java.text.DateFormat getYDateFormat()
        Returns the date formatter for the y-values.
        Returns:
        The date formatter (possibly null).
      • generateLabelString

        public java.lang.String generateLabelString(XYDataset dataset,
                                                    int series,
                                                    int item)
        Generates a label string for an item in the dataset.
        Parameters:
        dataset - the dataset (null not permitted).
        series - the series (zero-based index).
        item - the item (zero-based index).
        Returns:
        The label (possibly null).
      • getNullYString

        public java.lang.String getNullYString()
        Returns the string representing a null value.
        Returns:
        The string representing a null value.
        Since:
        1.0.10
      • equals

        public boolean equals(java.lang.Object obj)
        Tests this object for equality with an arbitrary object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the other object (null permitted).
        Returns:
        A boolean.
      • hashCode

        public int hashCode()
        Returns a hash code for this instance.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        A hash code.
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Returns an independent copy of the generator.
        Overrides:
        clone in class java.lang.Object
        Returns:
        A clone.
        Throws:
        java.lang.CloneNotSupportedException - if cloning is not supported.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.