Module tvbrowser

Class ReminderListItem

  • All Implemented Interfaces:
    java.lang.Comparable<ReminderListItem>

    public class ReminderListItem
    extends java.lang.Object
    implements java.lang.Comparable<ReminderListItem>
    A class that contains the program for which a reminder should be shown at some time.
    • Field Detail

      • MAX_FORWARD_REMINDER_TIME

        public static final int MAX_FORWARD_REMINDER_TIME
        See Also:
        Constant Field Values
      • mLocalizer

        public static final Localizer mLocalizer
        The localizer for this class.
    • Constructor Detail

      • ReminderListItem

        public ReminderListItem​(ProgramItem item)
        Creates an instance of this class.

        Parameters:
        item - The item for this list item.
      • ReminderListItem

        public ReminderListItem​(Program prog,
                                int minutes)
        Creates an instance of this class.

        Parameters:
        prog - The program for this item.
        minutes - The reminder time for this item.
    • Method Detail

      • setReferenceCount

        public void setReferenceCount​(int refCnt)
        Sets the number of reminders set for this item.

        Parameters:
        refCnt - The number of reminders for this item.
      • getProgramItem

        public ProgramItem getProgramItem()
        Gets the program item of this list item.

        Returns:
        The program item.
      • getReferenceCount

        public int getReferenceCount()
        Gets the number of set reminders of this item.

        Returns:
        The number of set reminders of this item.
      • incReferenceCount

        public void incReferenceCount()
        Increase the number of set reminders of this item about 1.
      • decReferenceCount

        public void decReferenceCount()
        Decrease the number of set reminders of this item about 1.
      • getMinutes

        public int getMinutes()
        Gets the reminder minutes of this list item.

        Returns:
        The reminder minutes of this list item.
      • setMinutes

        public void setMinutes​(int minutes)
        Sets the minutes of this list item.

        Parameters:
        minutes - The minutes of this list item.
      • getComment

        public java.lang.String getComment()
        Gets the reminder comment of this list item.

        Returns:
        The reminder comment of this list item.
      • setComment

        public void setComment​(java.lang.String comment)
        Sets the comment of this list item.

        Parameters:
        comment - The comment of this list item.
      • getProgram

        public Program getProgram()
        Gets the program of this list item.

        Returns:
        The program of this list item.
      • changeComment

        public void changeComment​(java.awt.Window parentFrame)