|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.borg.ui.popup.ReminderInstance
net.sf.borg.ui.popup.ApptReminderInstance
public class ApptReminderInstance
holds an instance of a reminder message. Keeps track of which reminder times have been shown for this reminder message. Is not aware of the actual UI used to display the reminder.
| Constructor Summary | |
|---|---|
ApptReminderInstance(Appointment appt,
Date instanceTime)
constructor |
|
| Method Summary | |
|---|---|
void |
do_todo(boolean delete)
if the reminder instance is a todo, then mark it as done/complete |
boolean |
equals(Object obj)
|
int |
getCurrentReminder()
get the index of the active reminder for this instance - i.e. |
String |
getText()
get the text for the reminder |
int |
hashCode()
|
boolean |
isNote()
return true if the reminder is a note (is untimed) |
boolean |
isTodo()
return true if the reminder is a todo - either an appointment todo or another type of todo, such as a task |
boolean |
reloadAndCheckForChanges()
reload the model entity from the db and check if it has changed. |
boolean |
shouldBeShown()
determine if an appointment popup should be shown for an appointment that doesn't yet have a popup associated with it |
| Methods inherited from class net.sf.borg.ui.popup.ReminderInstance |
|---|
calculateToGoMessage, dueForPopup, getInstanceTime, getRemindersShown, isHidden, markAsShown, minutesToGo, setHidden, setInstanceTime, setRemindersShown, setShown, wasEverShown |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApptReminderInstance(Appointment appt,
Date instanceTime)
appt - the appointmentinstanceTime - the instance time.| Method Detail |
|---|
public void do_todo(boolean delete)
do_todo in class ReminderInstancepublic boolean equals(Object obj)
equals in class ReminderInstancepublic int getCurrentReminder()
getCurrentReminder in class ReminderInstancepublic String getText()
getText in class ReminderInstancepublic int hashCode()
hashCode in class ReminderInstancepublic boolean isNote()
isNote in class ReminderInstancepublic boolean isTodo()
isTodo in class ReminderInstancepublic boolean reloadAndCheckForChanges()
reloadAndCheckForChanges in class ReminderInstancepublic boolean shouldBeShown()
shouldBeShown in class ReminderInstance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||