- java.lang.Object
-
- tvbrowser.extras.reminderplugin.ReminderFrame
-
- All Implemented Interfaces:
java.util.EventListener
,javax.swing.event.ChangeListener
,WindowClosingIf
public class ReminderFrame extends java.lang.Object implements WindowClosingIf, javax.swing.event.ChangeListener
TV-Browser- Author:
- Martin Oberhauser
-
-
Constructor Summary
Constructors Constructor Description ReminderFrame(ReminderList list, java.util.AbstractList<ReminderListItem> reminders, int autoCloseSecs)
Creates a new instance of ReminderFrame.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
The closing method.javax.swing.JRootPane
getRootPane()
void
stateChanged(javax.swing.event.ChangeEvent e)
-
-
-
Field Detail
-
LOCALIZER
public static final Localizer LOCALIZER
-
-
Constructor Detail
-
ReminderFrame
public ReminderFrame(ReminderList list, java.util.AbstractList<ReminderListItem> reminders, int autoCloseSecs)
Creates a new instance of ReminderFrame.- Parameters:
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.
-
-
Method Detail
-
close
public void close()
Description copied from interface:WindowClosingIf
The closing method.- Specified by:
close
in interfaceWindowClosingIf
-
getRootPane
public javax.swing.JRootPane getRootPane()
- Specified by:
getRootPane
in interfaceWindowClosingIf
- Returns:
- The RootPane to register the Escape key action with.
-
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent e)
- Specified by:
stateChanged
in interfacejavax.swing.event.ChangeListener
-
-