public class PanInputHandler extends InputAdapter
Constructor and Description |
---|
PanInputHandler(TNetwork network)
Constructs handler with given network component.
|
Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(java.awt.event.MouseEvent e)
Called when mouse button dragged.
|
void |
mousePressed(java.awt.event.MouseEvent e)
Called when mouse button pressed.
|
void |
mouseReleased(java.awt.event.MouseEvent e)
mouse release process
|
cleanup, init, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved
public PanInputHandler(TNetwork network)
network
- the network component.public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class InputAdapter
e
- mouse event.public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class InputAdapter
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseDragged
in class InputAdapter
e
- the mouse event.Copyright © 2002 - 2010 Serva Software. All Rights Reserved.