src/java/isac/wsdialog/UserAction.java
branchjava_rename_format
changeset 3922 fcd5648113ca
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/java/isac/wsdialog/UserAction.java	Wed Jun 15 18:31:02 2005 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +/*
     1.5 + * Created on Dec 12, 2003
     1.6 + */
     1.7 +package isac.wsdialog;
     1.8 +
     1.9 +/**
    1.10 + * Notification about the user clicking a GUI element.
    1.11 + * 
    1.12 + * @author Alan Krempler
    1.13 + */
    1.14 +public class UserAction implements IUserAction {
    1.15 +
    1.16 +    private int id_;
    1.17 +
    1.18 +    /**
    1.19 +     * TODO: move class subtree (including IUserAction) to package
    1.20 +     * isac.gui.worksheet? This way, the constructors could be package-private
    1.21 +     * to the objects which construct them.
    1.22 +     * 
    1.23 +     * @param id
    1.24 +     *            An integer value describing the action the user requested on
    1.25 +     *            the GUI
    1.26 +     */
    1.27 +    public UserAction(int id) {
    1.28 +        id_ = id;
    1.29 +    }
    1.30 +
    1.31 +    public int getActionID() {
    1.32 +        return id_;
    1.33 +    }
    1.34 +}
    1.35 \ No newline at end of file