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

Last change on this file since 7937 was 7937, checked in by bastiK, 9 years ago

add subversion property svn:eol=native

  • Property svn:eol-style set to native
File size: 567 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 */
9public interface KeyPressReleaseListener {
10 /**
11 * This is called when key press event is actually pressed
12 * (no fake events while holding key)
13 */
14 public void doKeyPressed(KeyEvent e);
15 /**
16 * This is called when key press event is actually released
17 * (no fake events while holding key)
18 */
19 public void doKeyReleased(KeyEvent e);
20}
Note: See TracBrowser for help on using the repository browser.