Package org.openstreetmap.josm.gui.util
Interface KeyPressReleaseListener
-
- All Known Implementing Classes:
AddNoteAction
,DrawAction
,ExtrudeAction
,SelectAction
public interface KeyPressReleaseListener
Interface that is used to detect key pressing and releasing.- Since:
- 7219
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doKeyPressed(java.awt.event.KeyEvent e)
This is called when key press event is actually pressed (no fake events while holding key)void
doKeyReleased(java.awt.event.KeyEvent e)
This is called when key press event is actually released (no fake events while holding key)
-
-
-
Method Detail
-
doKeyPressed
void doKeyPressed(java.awt.event.KeyEvent e)
This is called when key press event is actually pressed (no fake events while holding key)- Parameters:
e
- key event
-
doKeyReleased
void doKeyReleased(java.awt.event.KeyEvent e)
This is called when key press event is actually released (no fake events while holding key)- Parameters:
e
- key event
-
-