Changeset 276 for trunk/hiptop/pester/net/sabi/pester/AlarmListView.java
- Timestamp:
- 07/22/06 08:45:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hiptop/pester/net/sabi/pester/AlarmListView.java
r275 r276 22 22 public void onDecoded() { 23 23 sAlarmListWindow = (AlarmListWindow)getWindow(); 24 mToolTipAlarm = new danger.app.Alarm(0, this); 24 25 setAutoResize(true); 25 setHasBorder(false); // this doesn't work in the rsrc file26 26 setList(Alarms.getList()); 27 if (alarmsSet() > 0) 28 setHasBorder(true); 29 mToolTipAlarm = new danger.app.Alarm(0, this); 27 if (alarmsSet() == 0) 28 setHasBorder(false); // this doesn't work in the rsrc file 30 29 Application.registerForEvent(this, Event.EVENT_TIME_CHANGED); 31 30 super.onDecoded(); … … 65 64 Alarms.removeAlarm((Alarm)getFocusedItem()); 66 65 return true; 67 case Event.EVENT_TIME_CHANGED: 66 case Event.EVENT_TIME_CHANGED: // XXX EVENT_TIME_FORMAT_CHANGED too 68 67 if (mToolTipWindow == null || !mToolTipWindow.isVisible()) 69 68 return true;
Note:
See TracChangeset
for help on using the changeset viewer.