public class MotionToolTipGenerator
extends org.jfree.chart.labels.StandardXYZToolTipGenerator
implements org.jfree.chart.labels.XYZToolTipGenerator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_TOOL_TIP_FORMAT
The default tooltip format.
|
Constructor and Description |
---|
MotionToolTipGenerator()
Creates a new tool tip generator using default number formatters for the
x, y and z-values.
|
MotionToolTipGenerator(java.lang.String formatString,
java.text.DateFormat keyFormat,
java.text.DateFormat xFormat,
java.text.DateFormat yFormat,
java.text.DateFormat zFormat,
java.text.DateFormat colorFormat)
Constructs a new tool tip generator using the specified date formatters.
|
MotionToolTipGenerator(java.lang.String formatString,
java.text.NumberFormat keyFormat,
java.text.NumberFormat xFormat,
java.text.NumberFormat yFormat,
java.text.NumberFormat zFormat,
java.text.NumberFormat colorFormat)
Constructs a new tool tip generator using the specified number
formatters.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object[] |
createItemArray(org.jfree.data.xy.XYZDataset dataset,
int series,
int item)
Creates the array of items that can be passed to the
MessageFormat class for creating labels. |
boolean |
equals(java.lang.Object obj)
Tests this object for equality with an arbitrary object.
|
java.text.DateFormat |
getColorDateFormat()
Returns the date formatter for the color values.
|
java.text.NumberFormat |
getColorFormat()
Returns the number formatter for the color values.
|
java.text.DateFormat |
getKeyDateFormat()
Returns the date formatter for the key values.
|
java.text.NumberFormat |
getKeyFormat()
Returns the number formatter for the key values.
|
generateLabelString, generateToolTip, getZDateFormat, getZFormat
clone, generateToolTip, getTimeSeriesInstance
createItemArray, getFormatString, getNullYString, getXDateFormat, getXFormat, getYDateFormat, getYFormat, hashCode
public static final java.lang.String DEFAULT_TOOL_TIP_FORMAT
public MotionToolTipGenerator()
public MotionToolTipGenerator(java.lang.String formatString, java.text.NumberFormat keyFormat, java.text.NumberFormat xFormat, java.text.NumberFormat yFormat, java.text.NumberFormat zFormat, java.text.NumberFormat colorFormat)
formatString
- the format string.keyFormat
- the format object for the key values (null
not permitted).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 size values (null
not permitted).colorFormat
- the format object for the color values (null
not permitted).public MotionToolTipGenerator(java.lang.String formatString, java.text.DateFormat keyFormat, java.text.DateFormat xFormat, java.text.DateFormat yFormat, java.text.DateFormat zFormat, java.text.DateFormat colorFormat)
formatString
- the format string.keyFormat
- the format object for the key values (null
not permitted).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 size values (null
not permitted).colorFormat
- the format object for the color values (null
not permitted).public java.text.NumberFormat getKeyFormat()
null
).public java.text.DateFormat getKeyDateFormat()
null
).public java.text.NumberFormat getColorFormat()
null
).public java.text.DateFormat getColorDateFormat()
null
).protected java.lang.Object[] createItemArray(org.jfree.data.xy.XYZDataset dataset, int series, int item)
MessageFormat
class for creating labels.createItemArray
in class org.jfree.chart.labels.StandardXYZToolTipGenerator
dataset
- the dataset (null
not permitted).series
- the series (zero-based index).item
- the item (zero-based index).null
).public boolean equals(java.lang.Object obj)
equals
in class org.jfree.chart.labels.StandardXYZToolTipGenerator
obj
- the other object (null
permitted).