freemind.controller
Class NodeKeyListener

java.lang.Object
  extended byfreemind.controller.NodeKeyListener
All Implemented Interfaces:
java.util.EventListener, java.awt.event.KeyListener

public class NodeKeyListener
extends java.lang.Object
implements java.awt.event.KeyListener

The KeyListener which belongs to the node and cares for Events like C-D (Delete Node). It forwards the requests to NodeController.


Constructor Summary
NodeKeyListener(Controller controller)
           
 
Method Summary
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeKeyListener

public NodeKeyListener(Controller controller)
Method Detail

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Specified by:
keyTyped in interface java.awt.event.KeyListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Specified by:
keyReleased in interface java.awt.event.KeyListener