/Users/lyon/j4p/src/ip/gui/frames/ShortCutInterface.java
|
1 /*
2 * Created by IntelliJ IDEA.
3 * User: lyon
4 * Date: Feb 15, 2003
5 * Time: 8:57:12 AM
6 * To change template for new interface use
7 * Code Style | Class Templates options (Tools | IDE Options).
8 */
9 package ip.gui.frames;
10
11 import java.awt.*;
12 import java.awt.event.ActionEvent;
13 import java.awt.event.ActionListener;
14 import java.awt.event.KeyEvent;
15 import java.awt.event.KeyListener;
16
17 public interface ShortCutInterface
18 extends KeyListener, ActionListener {
19 String getPs();
20
21 boolean match(AWTEvent e, MenuItem mi);
22
23 void keyPressed(KeyEvent e);
24
25 void keyReleased(KeyEvent e);
26
27 void actionPerformed(ActionEvent e);
28
29 void keyTyped(KeyEvent e);
30
31 Menu getMenu(String s);
32
33 MenuItem addMenuItem(Menu aMenu, String itemName);
34 }
35