|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.borg.ui.popup.ReminderManager
public abstract class ReminderManager
Abstract Base class for managing reminders. A reminder manager controls the UI that shows reminder instances. It also manages a list of reminders (a model for the UI) and must check and update the model as time passes. It must also react to appointment model changes.
| Field Summary | |
|---|---|
(package private) Runnable |
doPopupChk
runnable task that checks if we need to pop up any popups |
protected static ReminderManager |
singleton
The singleton. |
| Constructor Summary | |
|---|---|
protected |
ReminderManager()
constructor |
| Method Summary | |
|---|---|
abstract void |
addToUI(ReminderInstance instance)
show a reminder |
static ReminderManager |
getReminderManager()
|
abstract void |
hideAll()
Hide all reminders |
abstract void |
periodicUpdate()
update any visible reminders as needed - i.e. |
abstract void |
refresh()
refresh the popup states depending on the state of the appointment model. |
void |
remove()
stop the timer |
protected boolean |
shouldShowUntimedTodosNow()
determine if we should show a reminder for untimed todos during this periodic update |
abstract void |
showAll()
show all reminders |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static ReminderManager singleton
final Runnable doPopupChk
| Constructor Detail |
|---|
protected ReminderManager()
| Method Detail |
|---|
public static ReminderManager getReminderManager()
public abstract void addToUI(ReminderInstance instance)
instance - the reminder instancepublic abstract void hideAll()
public abstract void periodicUpdate()
public abstract void refresh()
refresh in interface Model.Listenerpublic void remove()
public abstract void showAll()
protected boolean shouldShowUntimedTodosNow()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||