src/java/isac/wsdialog/UserActionOnInt.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/UserActionOnInt.java	Wed Jun 15 18:31:02 2005 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +/*
     1.5 + * Created on Dec 12, 2003
     1.6 + */
     1.7 +package isac.wsdialog;
     1.8 +
     1.9 +/**
    1.10 + * Describes an user action passing an integer value.
    1.11 + * 
    1.12 + * @see isac.wsdialog.UserActionOnIterator
    1.13 + * @see isac.wsdialog.UserActionOnCalcHeadCompoundID
    1.14 + * @author Alan Krempler
    1.15 + */
    1.16 +public class UserActionOnInt extends UserAction {
    1.17 +    private int i_;
    1.18 +
    1.19 +    /**
    1.20 +     * @param id
    1.21 +     * @param i
    1.22 +     *            The integer value holding additional information to the
    1.23 +     *            UserAction
    1.24 +     */
    1.25 +    public UserActionOnInt(int id, int i) {
    1.26 +        super(id);
    1.27 +        i_ = i;
    1.28 +    }
    1.29 +
    1.30 +    /**
    1.31 +     * @return The integer value holding additional information to the
    1.32 +     *         UserAction
    1.33 +     */
    1.34 +    public int getInt() {
    1.35 +        return i_;
    1.36 +    }
    1.37 +
    1.38 +}
    1.39 \ No newline at end of file