public class JaxoLatexTextToolTip
extends javax.swing.event.MouseInputAdapter
implements java.awt.event.WindowFocusListener
Constructor and Description |
---|
JaxoLatexTextToolTip(JaxoMainPanel mainPanel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
mouseClicked, mouseReleased, mouseWheelMoved
public JaxoLatexTextToolTip(JaxoMainPanel mainPanel)
mainPanel
- Instance of the main panel.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.Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.