|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.plugins.AbstractChartPlugin<AbstractChart<?,?>>
lt.monarch.chart.plugins.ToolTipManager
public class ToolTipManager extends AbstractChartPlugin<AbstractChart<?,?>> implements java.awt.event.MouseMotionListener, java.awt.event.MouseListener, java.lang.Runnable
| Constructor and Description |
|---|
ToolTipManager()
|
ToolTipManager(Marker toolTip)
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Prepares the plug-in, when it is installed. |
void |
deactivate()
Cleanups the plug-in, when it is uninstalled. |
int |
getShowTime()
Returns what tool tip show time is set |
Marker |
getToolTip()
|
protected void |
hideTip()
|
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseDragged(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
paint(AbstractGraphics g)
Does nothing- must be overridden in extending classes. |
protected void |
requestTip(ChartEntity entity,
Point2D pt)
|
void |
run()
|
void |
setShowTime(int showTime)
Sets the timer time for showing the tool tip |
void |
setTextAlignment(Alignment hAlign,
Alignment vAlign)
|
void |
setToolTip(Marker toolTip)
|
void |
setToolTipPopupDelay(long delay)
|
| Methods inherited from class lt.monarch.chart.plugins.AbstractChartPlugin |
|---|
adjustChart, chart, getChart, install, isActivated, uninstall |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToolTipManager()
public ToolTipManager(Marker toolTip)
| Method Detail |
|---|
public void setToolTip(Marker toolTip)
public void setTextAlignment(Alignment hAlign,
Alignment vAlign)
public Marker getToolTip()
public void setToolTipPopupDelay(long delay)
public void activate()
AbstractChartPlugin
activate in class AbstractChartPlugin<AbstractChart<?,?>>public void deactivate()
AbstractChartPlugin
deactivate in class AbstractChartPlugin<AbstractChart<?,?>>public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenerpublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenerpublic void paint(AbstractGraphics g)
AbstractChartPlugin
paint in interface ChartPlugin<AbstractChart<?,?>>paint in class AbstractChartPlugin<AbstractChart<?,?>>g - the Graphics context in which chart is paintedChartPlugin.paint(lt.monarch.chart.engine.AbstractGraphics)protected void hideTip()
protected void requestTip(ChartEntity entity,
Point2D pt)
public void run()
run in interface java.lang.Runnablepublic int getShowTime()
public void setShowTime(int showTime)
showTime - Time how long to show tool tip in milliseconds
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||