Save This Page
Home » jcommon-1.0.13 » org.jfree » chart » labels » [javadoc | source]
org.jfree.chart.labels
public class: StandardXYZToolTipGenerator [javadoc | source]
java.lang.Object
   org.jfree.chart.labels.AbstractXYItemLabelGenerator
      org.jfree.chart.labels.StandardXYToolTipGenerator
         org.jfree.chart.labels.StandardXYZToolTipGenerator

All Implemented Interfaces:
    XYZToolTipGenerator, Serializable, PublicCloneable, XYToolTipGenerator, Cloneable

A standard item label generator for use with XYZDataset data. Each value can be formatted as a number or as a date.
Field Summary
public static final  String DEFAULT_TOOL_TIP_FORMAT    The default tooltip format. 
Fields inherited from org.jfree.chart.labels.StandardXYToolTipGenerator:
DEFAULT_TOOL_TIP_FORMAT
Constructor:
 public StandardXYZToolTipGenerator() 
 public StandardXYZToolTipGenerator(String formatString,
    NumberFormat xFormat,
    NumberFormat yFormat,
    NumberFormat zFormat) 
    Constructs a new tool tip generator using the specified number formatters.
    Parameters:
    formatString - the format string.
    xFormat - the format object for the x values (null not permitted).
    yFormat - the format object for the y values (null not permitted).
    zFormat - the format object for the z values (null not permitted).
 public StandardXYZToolTipGenerator(String formatString,
    DateFormat xFormat,
    DateFormat yFormat,
    DateFormat zFormat) 
    Constructs a new tool tip generator using the specified date formatters.
    Parameters:
    formatString - the format string.
    xFormat - the format object for the x values (null not permitted).
    yFormat - the format object for the y values (null not permitted).
    zFormat - the format object for the z values (null not permitted).
Method from org.jfree.chart.labels.StandardXYZToolTipGenerator Summary:
createItemArray,   equals,   generateLabelString,   generateToolTip,   getZDateFormat,   getZFormat
Methods from org.jfree.chart.labels.StandardXYToolTipGenerator:
clone,   equals,   generateToolTip,   getTimeSeriesInstance
Methods from org.jfree.chart.labels.AbstractXYItemLabelGenerator:
clone,   createItemArray,   equals,   generateLabelString,   getFormatString,   getNullYString,   getXDateFormat,   getXFormat,   getYDateFormat,   getYFormat,   hashCode
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.chart.labels.StandardXYZToolTipGenerator Detail:
 protected Object[] createItemArray(XYZDataset dataset,
    int series,
    int item) 
    Creates the array of items that can be passed to the MessageFormat class for creating labels.
 public boolean equals(Object obj) 
    Tests this object for equality with an arbitrary object.
 public String generateLabelString(XYDataset dataset,
    int series,
    int item) 
    Generates a label string for an item in the dataset.
 public String generateToolTip(XYZDataset dataset,
    int series,
    int item) 
    Generates a tool tip text item for a particular item within a series.
 public DateFormat getZDateFormat() 
    Returns the date formatter for the z-values.
 public NumberFormat getZFormat() 
    Returns the number formatter for the z-values.