equal
deleted
inserted
replaced
|
1 /* |
|
2 * Created on Dec 12, 2003 |
|
3 */ |
|
4 package isac.wsdialog; |
|
5 |
|
6 /** |
|
7 * Notification about the user clicking a GUI element. |
|
8 * |
|
9 * @author Alan Krempler |
|
10 */ |
|
11 public class UserAction implements IUserAction { |
|
12 |
|
13 private int id_; |
|
14 |
|
15 /** |
|
16 * TODO: move class subtree (including IUserAction) to package |
|
17 * isac.gui.worksheet? This way, the constructors could be package-private |
|
18 * to the objects which construct them. |
|
19 * |
|
20 * @param id |
|
21 * An integer value describing the action the user requested on |
|
22 * the GUI |
|
23 */ |
|
24 public UserAction(int id) { |
|
25 id_ = id; |
|
26 } |
|
27 |
|
28 public int getActionID() { |
|
29 return id_; |
|
30 } |
|
31 } |