Ignore:
Timestamp:
07/08/06 22:29:07 (18 years ago)
Author:
Nicholas Riley
Message:

Alarm scheduling UI more or less done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hiptop/pester/net/sabi/pester/Alarm.java

    r240 r241  
    1919
    2020    // transient
    21     private int mStatus;
     21    private int mState;
    2222
    2323    public Alarm() {
    24         mStatus = STATUS_INVALID;
     24        mState = STATE_INVALID;
    2525    }
    2626
     
    9191
    9292    void beginEditing() {
    93         mStatus = STATUS_EDITING;
     93        mState = STATE_EDITING;
    9494    }
    9595
    9696    void endEditing() {
    97         mStatus = STATUS_SCHEDULED;
     97        mState = STATE_SCHEDULED;
    9898        DEBUG.p("schedule alarm: " + mMessage);
    9999        switch (mType) {
     
    115115    public static final int TYPE_DATE = 2;
    116116
    117     public static final int STATUS_INVALID = 0;
    118     public static final int STATUS_EDITING = 1;
    119     public static final int STATUS_SCHEDULED = 2;
    120     public static final int STATUS_EXPIRED = 3;
     117    public static final int STATE_INVALID = 0;
     118    public static final int STATE_EDITING = 1;
     119    public static final int STATE_SCHEDULED = 2;
     120    public static final int STATE_EXPIRED = 3;
    121121}
Note: See TracChangeset for help on using the changeset viewer.