Ignore:
Timestamp:
07/08/06 19:28:37 (18 years ago)
Author:
Nicholas Riley
Message:

Final initial control set for edit dialog.

File:
1 edited

Legend:

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

    r238 r239  
    66import danger.ui.Button;
    77import danger.ui.DialogWindow;
     8import danger.ui.RadioButton;
    89import danger.ui.Rect;
    910import danger.ui.TypeAheadTextField;
     
    2324    private TypeAheadTextField sMessageField;
    2425    private Button sDiscardAlarmButton;
     26    private RadioButton sInButton, sAtButton;
    2527
    2628    private static Alarm sFocusedAlarm, sEditingAlarm;
     
    3840        sMessageField = (TypeAheadTextField)sEditWindow.getDescendantWithID(ID_MESSAGE_FIELD);
    3941        sEditWindow.disableBottomRightButtonOnEmptyField(sMessageField);
     42        sInButton = (RadioButton)sEditWindow.getDescendantWithID(ID_IN_BUTTON);
     43        sAtButton = (RadioButton)sEditWindow.getDescendantWithID(ID_AT_BUTTON);
    4044        sDiscardAlarmButton = (Button)sEditWindow.getDescendantWithID(ID_DISCARD_ALARM_BUTTON);
    4145
     
    8791            sAlarmList.removeItem(sFocusedAlarm);
    8892            return true;
     93        case EVENT_IN:
     94            sAtButton.setValue(0);
     95            return true;
     96        case EVENT_AT:
     97            sInButton.setValue(0);
     98            return true;
    8999        }
    90100        return super.receiveEvent(e);
Note: See TracChangeset for help on using the changeset viewer.