Package net.ontopia.topicmaps.viz
Class KeyInputManager
- java.lang.Object
-
- net.ontopia.topicmaps.viz.KeyInputManager
-
- All Implemented Interfaces:
ContainerListener,KeyListener,EventListener
public class KeyInputManager extends Object implements KeyListener, ContainerListener
-
-
Field Summary
Fields Modifier and Type Field Description protected VizControllercontrollerprotected static intKEY_MASKprotected static intKEY_MODIFIERprotected VizPanelvpanel
-
Constructor Summary
Constructors Constructor Description KeyInputManager(VizController controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomponentAdded(ContainerEvent e)voidcomponentRemoved(ContainerEvent e)voidkeyPressed(KeyEvent keyEvent)voidkeyReleased(KeyEvent keyEvent)voidkeyTyped(KeyEvent keyEvent)
-
-
-
Field Detail
-
controller
protected VizController controller
-
vpanel
protected VizPanel vpanel
-
KEY_MODIFIER
protected static final int KEY_MODIFIER
-
KEY_MASK
protected static final int KEY_MASK
-
-
Constructor Detail
-
KeyInputManager
public KeyInputManager(VizController controller)
-
-
Method Detail
-
keyPressed
public void keyPressed(KeyEvent keyEvent)
- Specified by:
keyPressedin interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent keyEvent)
- Specified by:
keyReleasedin interfaceKeyListener
-
keyTyped
public void keyTyped(KeyEvent keyEvent)
- Specified by:
keyTypedin interfaceKeyListener
-
componentAdded
public void componentAdded(ContainerEvent e)
- Specified by:
componentAddedin interfaceContainerListener
-
componentRemoved
public void componentRemoved(ContainerEvent e)
- Specified by:
componentRemovedin interfaceContainerListener
-
-