TWE 2.3-2 API

org.enhydra.jawe.components.graph
Class JaWEGraphUI.PEKeyHandler

java.lang.Object
  extended byjava.awt.event.KeyAdapter
      extended byorg.enhydra.jawe.components.graph.JaWEGraphUI.PEKeyHandler
All Implemented Interfaces:
java.util.EventListener, java.awt.event.KeyListener, java.io.Serializable
Enclosing class:
JaWEGraphUI

public class JaWEGraphUI.PEKeyHandler
extends java.awt.event.KeyAdapter
implements java.io.Serializable

This is used to get multiple key down events to appropriately generate events.

See Also:
Serialized Form

Field Summary
protected  boolean isKeyDown
          Set to true while keyPressed is active.
protected  javax.swing.Action repeatKeyAction
          Key code that is being generated for.
 
Constructor Summary
JaWEGraphUI.PEKeyHandler()
           
 
Method Summary
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 
Methods inherited from class java.awt.event.KeyAdapter
keyTyped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repeatKeyAction

protected javax.swing.Action repeatKeyAction
Key code that is being generated for.


isKeyDown

protected boolean isKeyDown
Set to true while keyPressed is active.

Constructor Detail

JaWEGraphUI.PEKeyHandler

public JaWEGraphUI.PEKeyHandler()
Method Detail

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

TWE 2.3-2 API