public class DefaultInputHandler extends InputAdapter
Constructor and Description |
---|
DefaultInputHandler(TNetwork network)
Constructs a instance that is initialized with given network.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
confirmDelete() |
protected void |
deleteProcess() |
void |
init()
Initialize the input handler here.
|
void |
keyPressed(java.awt.event.KeyEvent e)
Keyboard pressed.
|
cleanup, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased
protected TNetwork network
public DefaultInputHandler(TNetwork network)
network
- network will been listened.public void init()
init
in interface InputHandler
init
in class InputAdapter
protected boolean confirmDelete()
protected void deleteProcess()
public void keyPressed(java.awt.event.KeyEvent e)
getMultipleSelectionGesture()
to provide
customized multiple selection gesture.keyPressed
in interface java.awt.event.KeyListener
keyPressed
in class InputAdapter
e
- mouse event.Copyright © 2002 - 2010 Serva Software. All Rights Reserved.