class KennLine.SwingRep.MyMouseListener
extends java.lang.Object
implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener
Constructor and Description |
---|
MyMouseListener() |
Modifier and Type | Method and Description |
---|---|
void |
mouseClicked(java.awt.event.MouseEvent e)
ATTENTION : Abstraktion nach "Action" fehlt!
click on connection line: insert new Anchor click on existing Anchor: select click elsewhere: open move-mode menubr/> |
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)
If over anchor: Start a new gui animation.
If shift: y only If ctrl: x only If released immediately: it is a click and not a drag, so cancel animation. if NOT over anchor, but over threshold line (x or y) --> move threshold line FIXME |
void |
mouseReleased(java.awt.event.MouseEvent e)
shift = x only suppresses y
ctrl = y only suppresses x shift AND ctrl cancel editing |
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener