equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 package javax.microedition.lcdui; |
17 package javax.microedition.lcdui; |
18 |
18 |
19 /** |
19 /** |
20 * Classes which want to listen command events should implement this interface. |
20 * Classes which want to listen command events should implement this interface. |
21 */ |
21 */ |
22 public interface CommandListener { |
22 public interface CommandListener |
|
23 { |
23 |
24 |
24 /** |
25 /** |
25 * Called by underlying system when event occurs. |
26 * Called by underlying system when event occurs. |
26 * |
27 * |
27 * @param command a Command that occurred. |
28 * @param command a Command that occurred. |
28 * @param displayable The Displayable where event occurred. |
29 * @param displayable The Displayable where event occurred. |
29 */ |
30 */ |
30 void commandAction(Command command, Displayable displayable); |
31 void commandAction(Command command, Displayable displayable); |
31 |
32 |