org.jgraph.plaf.basic

Class BasicGraphUI.KeyHandler

Enclosing Class:
BasicGraphUI
Implemented Interfaces:
Serializable

public class BasicGraphUI.KeyHandler
extends KeyAdapter
implements Serializable

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

Field Summary

protected boolean
isKeyDown
Set to true while keyPressed is active.
protected Action
repeatKeyAction
Key code that is being generated for.

Method Summary

void
keyPressed(KeyEvent e)
void
keyReleased(KeyEvent e)

Field Details

isKeyDown

protected boolean isKeyDown
Set to true while keyPressed is active.

repeatKeyAction

protected Action repeatKeyAction
Key code that is being generated for.

Method Details

keyPressed

public void keyPressed(KeyEvent e)

keyReleased

public void keyReleased(KeyEvent e)

Copyright (C) 2001-2006 Gaudenz Alder. All rights reserved.