java.awt.event.MouseListener
, java.awt.event.MouseMotionListener
, java.awt.event.MouseWheelListener
, java.util.EventListener
public class JaxoLatexTextToolTip
extends java.awt.event.MouseAdapter
Constructor | Description |
---|---|
JaxoLatexTextToolTip() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
mouseEntered(java.awt.event.MouseEvent e) |
Process the event when the mouse enters the canvas.
|
void |
mouseExited(java.awt.event.MouseEvent e) |
Process the event when the mouse exits the canvas.
|
void |
mouseMoved(java.awt.event.MouseEvent e) |
The action to be taken when the mouse is moved on the canvas.
|
void |
mousePressed(java.awt.event.MouseEvent e) |
Hide window when the mouse is pressed on the canvas.
|
void |
setActive(boolean active) |
Activates this JaxoLatexTextToolTip.
|
void |
setGraph(JaxoGraph graph) |
Sets the graph.
|
public void setGraph(JaxoGraph graph)
graph
- the graph. May be null.public void setActive(boolean active)
active
- true to activate the ToolTip, false otherwise.public final void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
mouseEntered
in class java.awt.event.MouseAdapter
e
- The mouse event to process.public final void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseMoved
in class java.awt.event.MouseAdapter
e
- The mouse event.public final void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
mouseExited
in class java.awt.event.MouseAdapter
e
- The mouse event to process.public final void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class java.awt.event.MouseAdapter
e
- The mouse event to process.Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.