|
JMSLTM Numerical Library 3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imsl.chart.ChartNode
com.imsl.chart.ToolTip
A ToolTip for a chart element.
This class requires that the chart's component be a subclass of javax.swing.JComponent. The JComponent class can be subclassed to provide different behaviors for displaying ToolTips.
To use, create an instance of ToolTip to activate the ToolTips in a node and in the node's descendants. The ToolTip string is the value of a node's "ToolTip" attribute or, if it is null, the node's "Title" attribute.
| Field Summary |
| Constructor Summary | |
ToolTip(ChartNode parent)
Creates a ToolTip node that enables ToolTips on charts. |
|
| Method Summary | |
void |
mouseDragged(MouseEvent e)
Part of the MouseMotionListener interface. |
void |
mouseMoved(MouseEvent event)
Part of the MouseMotionListener interface. |
void |
paint(Draw draw)
Paints this node and all of its children. |
void |
pickPerformed(PickEvent event)
Part of the PickListener interface. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ToolTip(ChartNode parent)
parent - The ChartNode parent of this node. Do not use the root
chart node for this argument, because it will
normally select only the background node.| Method Detail |
public void paint(Draw draw)
paint in class ChartNodedraw - the Draw object to be paintedpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerpublic void mouseMoved(MouseEvent event)
mouseMoved in interface MouseMotionListenerpublic void pickPerformed(PickEvent event)
pickPerformed in interface PickListenerevent - a PickEvent
|
JMSLTM Numerical Library 3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||