1 package com.explosion.expf;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.awt.event.ActionListener;
23 import java.util.Map;
24
25 /***
26 * Author: Stephen Cowx
27 * Date: Dec 15, 2002
28 * Time: 1:29:35 PM
29 */
30
31 public interface ExpActionListener extends ActionListener
32 {
33 /***
34 * This method should return a Map whose keys are a list of events which
35 * your implementation of the actionListener listens for. It is used by the
36 * ExpCompound Listener for deciding whether or not to send an event to your
37 * listener. This allows it to make some performance optimisations. If this
38 * method is not properly implemented then it is highly unlikely that any events
39 * will be sent to your listener.
40 * @return
41 */
42 public Map getListensFor();
43
44 }