Changeset 274 for trunk/hiptop/pester/net
- Timestamp:
- 07/22/06 04:39:02 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hiptop/pester/net/sabi/pester/AlarmListView.java
r273 r274 22 22 public void onDecoded() { 23 23 sAlarmListWindow = (AlarmListWindow)getWindow(); 24 setAutoResize(true); 25 setHasBorder(false); // this doesn't work in the rsrc file 24 26 setList(Alarms.getList()); 27 if (alarmsSet() > 0) 28 setHasBorder(true); 25 29 mToolTipAlarm = new danger.app.Alarm(0, this); 26 30 super.onDecoded(); … … 110 114 // which is admirable in general, but not what we want 111 115 setFocus(index); 116 setHasBorder(true); 112 117 } 113 118 public void onItemRemoved(ActiveList list, Object item, int index) { … … 115 120 sAlarmListWindow.updateAlarmCount(); 116 121 super.onItemRemoved(list, item, index); 122 if (alarmsSet() == 0) 123 setHasBorder(false); 117 124 } 118 125 }
Note:
See TracChangeset
for help on using the changeset viewer.