public class TextfieldListener
extends java.lang.Object
implements java.awt.event.KeyListener
Modifier and Type | Field and Description |
---|---|
private IDetailBar |
detailbar
the detailbar for devices.
|
private ConfigurationGraph |
graph
the graph which should be redrawn after keys were released.
|
Constructor and Description |
---|
TextfieldListener(ConfigurationGraph graph,
IDetailBar detailbar)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e) |
private final IDetailBar detailbar
private final ConfigurationGraph graph
public TextfieldListener(ConfigurationGraph graph, IDetailBar detailbar)
graph
- the graph.detailbar
- the detailbar.public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener