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

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

checkstyle: redundant modifiers

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