source: josm/trunk/src/org/openstreetmap/josm/gui/util/KeyPressReleaseListener.java@ 9230

Last change on this file since 9230 was 9230, checked in by Don-vip, 8 years ago

fix javadoc errors/warnings

  • Property svn:eol-style set to native
File size: 622 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.util;
3
4import java.awt.event.KeyEvent;
5
6/**
7 * Interface that is used to detect key pressing and releasing.
8 * @since 7219
9 */
10public interface KeyPressReleaseListener {
11 /**
12 * This is called when key press event is actually pressed
13 * (no fake events while holding key)
14 * @param e key event
15 */
16 void doKeyPressed(KeyEvent e);
17
18 /**
19 * This is called when key press event is actually released
20 * (no fake events while holding key)
21 * @param e key event
22 */
23 void doKeyReleased(KeyEvent e);
24}
Note: See TracBrowser for help on using the repository browser.