|
||||||||||
| 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.TaskReminderInstance
public class TaskReminderInstance
A Reminder Instance class that holds a Task
| Constructor Summary | |
|---|---|
TaskReminderInstance(Task task)
|
|
| Method Summary | |
|---|---|
String |
calculateToGoMessage()
calculate the to go message for a reminder instance |
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 |
|---|
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 TaskReminderInstance(Task task)
task - | Method Detail |
|---|
public void do_todo(boolean delete)
ReminderInstance
do_todo in class ReminderInstancepublic boolean equals(Object obj)
equals in class ReminderInstancepublic int getCurrentReminder()
ReminderInstance
getCurrentReminder in class ReminderInstancepublic String getText()
ReminderInstance
getText in class ReminderInstancepublic String calculateToGoMessage()
ReminderInstance
calculateToGoMessage in class ReminderInstancepublic int hashCode()
hashCode in class ReminderInstancepublic boolean isNote()
ReminderInstance
isNote in class ReminderInstancepublic boolean isTodo()
ReminderInstance
isTodo in class ReminderInstancepublic boolean reloadAndCheckForChanges()
ReminderInstance
reloadAndCheckForChanges in class ReminderInstancepublic boolean shouldBeShown()
ReminderInstance
shouldBeShown in class ReminderInstance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||