public class ReminderFrame extends java.lang.Object implements WindowClosingIf, javax.swing.event.ChangeListener
Modifier and Type | Field and Description |
---|---|
static int |
DONT_REMIND_AGAIN |
(package private) static RemindValue |
DONT_REMIND_AGAIN_VALUE |
static int |
NO_REMINDER |
(package private) static RemindValue[] |
REMIND_AFTER_VALUE_ARR |
(package private) static RemindValue[] |
REMIND_BEFORE_VALUE_ARR |
Constructor and Description |
---|
ReminderFrame(ReminderList list,
java.util.AbstractList<ReminderListItem> reminders,
int autoCloseSecs)
Creates a new instance of ReminderFrame.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
The closing method.
|
javax.swing.JRootPane |
getRootPane() |
static java.lang.String |
getStringForMinutes(int minutes) |
void |
stateChanged(javax.swing.event.ChangeEvent e) |
public static final int DONT_REMIND_AGAIN
public static final int NO_REMINDER
static final RemindValue DONT_REMIND_AGAIN_VALUE
static final RemindValue[] REMIND_AFTER_VALUE_ARR
static final RemindValue[] REMIND_BEFORE_VALUE_ARR
public ReminderFrame(ReminderList list, java.util.AbstractList<ReminderListItem> reminders, int autoCloseSecs)
list
- The list of all reminders.reminders
- The reminders to show.autoCloseSecs
- The number seconds to wait before auto-closing the window. -1
disables auto-closing.public void close()
WindowClosingIf
close
in interface WindowClosingIf
public javax.swing.JRootPane getRootPane()
getRootPane
in interface WindowClosingIf
public static java.lang.String getStringForMinutes(int minutes)
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged
in interface javax.swing.event.ChangeListener
TV-Browser 3.4.1.0, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)