public class ReminderFrame extends Object implements WindowClosingIf, ChangeListener
Modifier and Type | Field and Description |
---|---|
static String[] |
REMIND_MSG_ARR
The UI texts for the choosable options how long before a program start the
reminder should appear.
|
static int[] |
REMIND_VALUE_ARR
The values for the choosable options how long before a program start the
reminder should appear.
|
Constructor and Description |
---|
ReminderFrame(ReminderList list,
ReminderListItem item,
int autoCloseSecs)
Creates a new instance of ReminderFrame.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
The closing method.
|
static int |
getMinutesForValue(int index) |
JRootPane |
getRootPane() |
static String |
getStringForMinutes(int minutes) |
static int |
getValueForMinutes(int minutes) |
void |
stateChanged(ChangeEvent e) |
public static final String[] REMIND_MSG_ARR
public static final int[] REMIND_VALUE_ARR
public ReminderFrame(ReminderList list, ReminderListItem item, int autoCloseSecs)
list
- The list of all reminders.item
- The reminder 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 JRootPane getRootPane()
getRootPane
in interface WindowClosingIf
public static String getStringForMinutes(int minutes)
public static int getValueForMinutes(int minutes)
public static int getMinutesForValue(int index)
public void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)