Finally, alerts actually display.

This commit is contained in:
bspeice
2013-10-09 20:31:07 -04:00
parent 0fb498a306
commit df9e24e17c
2 changed files with 12 additions and 2 deletions

View File

@ -18,13 +18,21 @@ public class Alert {
private String message;
private boolean shown;
// Default constructor
public Alert(){}
public Alert(Date alarmDate, String message, boolean shown) {
this.setAlarmDate(alarmDate);
this.setMessage(message);
this.setShown(shown);
}
public Date getAlarmDate() {
return alarmDate;
}
public void setAlarmDate(Date alarmDate) {
this.alarmDate = alarmDate;
}
public String getMessage() {
return message;
}