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