|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.MouseAdapter
net.sf.jaxodraw.gui.panel.JaxoLatexTextToolTip
public class JaxoLatexTextToolTip
Show tooltips if the mouse moves over JaxoLatexText objects on the JaxoCanvas in the focused window. Note: For simplicity, this implements listener methods directly. Do not call or override.
Constructor Summary | |
---|---|
JaxoLatexTextToolTip()
Constructor. |
Method Summary | |
---|---|
void |
mouseEntered(MouseEvent e)
Process the event when the mouse enters the canvas. |
void |
mouseExited(MouseEvent e)
Process the event when the mouse exits the canvas. |
void |
mouseMoved(MouseEvent e)
The action to be taken when the mouse is moved on the canvas. |
void |
mousePressed(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. |
Methods inherited from class java.awt.event.MouseAdapter |
---|
mouseClicked, mouseDragged, mouseReleased, mouseWheelMoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaxoLatexTextToolTip()
Method Detail |
---|
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(MouseEvent e)
mouseEntered
in interface MouseListener
mouseEntered
in class MouseAdapter
e
- The mouse event to process.public final void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
mouseMoved
in class MouseAdapter
e
- The mouse event.public final void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
mouseExited
in class MouseAdapter
e
- The mouse event to process.public final void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
e
- The mouse event to process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |