|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.MouseAdapter
javax.swing.event.MouseInputAdapter
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(JaxoMainPanel mainPanel)
Constructor. |
Method Summary | |
---|---|
boolean |
isEnabled()
If not enabled, do nothing. |
void |
mouseDragged(java.awt.event.MouseEvent e)
Process the event when the mouse is dragged on the canvas. |
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)
Process the event when the mouse is pressed on the canvas. |
void |
setEnabled(boolean value)
If not enabled, do nothing. |
void |
windowGainedFocus(java.awt.event.WindowEvent e)
Action when window gains focus. |
void |
windowLostFocus(java.awt.event.WindowEvent e)
Action when window looses focus. |
Methods inherited from class java.awt.event.MouseAdapter |
---|
mouseClicked, mouseReleased, mouseWheelMoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.awt.event.MouseListener |
---|
mouseClicked, mouseReleased |
Constructor Detail |
---|
public JaxoLatexTextToolTip(JaxoMainPanel mainPanel)
mainPanel
- Instance of the main panel.Method Detail |
---|
public final boolean isEnabled()
public void setEnabled(boolean value)
value
- True to enable.public void windowGainedFocus(java.awt.event.WindowEvent e)
windowGainedFocus
in interface java.awt.event.WindowFocusListener
e
- the window event.public void windowLostFocus(java.awt.event.WindowEvent e)
windowLostFocus
in interface java.awt.event.WindowFocusListener
e
- the window event.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.public final void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseDragged
in class java.awt.event.MouseAdapter
e
- The mouse event to process.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |