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 VizController
controller
protected static int
KEY_MASK
protected static int
KEY_MODIFIER
protected VizPanel
vpanel
-
Constructor Summary
Constructors Constructor Description KeyInputManager(VizController controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
componentAdded(ContainerEvent e)
void
componentRemoved(ContainerEvent e)
void
keyPressed(KeyEvent keyEvent)
void
keyReleased(KeyEvent keyEvent)
void
keyTyped(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:
keyPressed
in interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent keyEvent)
- Specified by:
keyReleased
in interfaceKeyListener
-
keyTyped
public void keyTyped(KeyEvent keyEvent)
- Specified by:
keyTyped
in interfaceKeyListener
-
componentAdded
public void componentAdded(ContainerEvent e)
- Specified by:
componentAdded
in interfaceContainerListener
-
componentRemoved
public void componentRemoved(ContainerEvent e)
- Specified by:
componentRemoved
in interfaceContainerListener
-
-