info.bioinfweb.treegraph.gui.treeframe
Class TreeEditlInputListener
java.lang.Object
java.awt.event.MouseAdapter
info.bioinfweb.treegraph.gui.treeframe.TreeEditlInputListener
- All Implemented Interfaces:
- KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, EventListener
class TreeEditlInputListener
- extends MouseAdapter
- implements MouseListener, KeyListener, MouseWheelListener
This listener implements the reactions to user inputs for editing the tree in a
tree window.
- Author:
- Ben Stöver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZOOM_PER_CLICK
public static final float ZOOM_PER_CLICK
- See Also:
- Constant Field Values
owner
protected TreeViewPanel owner
TreeEditlInputListener
private TreeEditlInputListener()
TreeEditlInputListener
public TreeEditlInputListener(TreeViewPanel owner)
getElementByPosition
private ConcretePaintableElement getElementByPosition(MouseEvent e)
doubleClick
protected void doubleClick(MouseEvent e,
ConcretePaintableElement element)
checkPopup
private void checkPopup(MouseEvent e,
ConcretePaintableElement selected)
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interface MouseListener
- Overrides:
mousePressed
in class MouseAdapter
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleased
in interface MouseListener
- Overrides:
mouseReleased
in class MouseAdapter
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interface KeyListener
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interface KeyListener
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped
in interface KeyListener
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent e)
- Specified by:
mouseWheelMoved
in interface MouseWheelListener
- Overrides:
mouseWheelMoved
in class MouseAdapter