|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectStandardXYZToolTipGenerator
edu.ucla.stat.SOCR.motionchart.MotionToolTipGenerator
public class MotionToolTipGenerator
Package: edu.ucla.stat.SOCR.motionchart User: Khashim Date: Dec 20, 2008 Time: 7:19:20 PM
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_TOOL_TIP_FORMAT
The default tooltip format. |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
protected java.lang.Object[] |
createItemArray(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_TOOL_TIP_FORMAT
| Constructor Detail |
|---|
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).| Method Detail |
|---|
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(XYZDataset dataset,
int series,
int item)
MessageFormat class for creating labels.
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)
obj - the other object (null permitted).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||