public class CreateNodeInputHandler extends InputAdapter
Constructor and Description |
---|
CreateNodeInputHandler(TNetwork network)
Constructs the input handler initialized by given network.
|
CreateNodeInputHandler(TNetwork network,
java.lang.Class elementType)
Constructs the input handler initialized by given network
and element type
|
Modifier and Type | Method and Description |
---|---|
void |
mousePressed(java.awt.event.MouseEvent e) |
protected void |
preProcess(Element element) |
cleanup, init, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased
public CreateNodeInputHandler(TNetwork network)
network
- the network component.public CreateNodeInputHandler(TNetwork network, java.lang.Class elementType)
network
- the network component.protected void preProcess(Element element)
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class InputAdapter
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.