Module tvbrowser

Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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

      • getRootPane

        public javax.swing.JRootPane getRootPane()
        Specified by:
        getRootPane in interface WindowClosingIf
        Returns:
        The RootPane to register the Escape key action with.
      • stateChanged

        public void stateChanged​(javax.swing.event.ChangeEvent e)
        Specified by:
        stateChanged in interface javax.swing.event.ChangeListener