public class ReminderListItem extends java.lang.Object implements java.lang.Comparable<ReminderListItem>
Modifier and Type | Field and Description |
---|---|
static int |
MAX_FORWARD_REMINDER_TIME |
static Localizer |
mLocalizer
The localizer for this class.
|
static ReminderListItem |
SEPARATOR_ITEM |
Constructor and Description |
---|
ReminderListItem(Program prog,
int minutes)
Creates an instance of this class.
|
ReminderListItem(ProgramItem item)
Creates an instance of this class.
|
ReminderListItem(Program prog,
ReminderContent reminderContent) |
Modifier and Type | Method and Description |
---|---|
void |
changeComment(java.awt.Frame parentFrame) |
int |
compareTo(ReminderListItem other) |
void |
decReferenceCount()
Decrease the number of set reminders of this item about 1.
|
java.lang.String |
getComment()
Gets the reminder comment of this list item.
|
int |
getMinutes()
Gets the reminder minutes of this list item.
|
Program |
getProgram()
Gets the program of this list item.
|
ProgramItem |
getProgramItem()
Gets the program item of this list item.
|
int |
getReferenceCount()
Gets the number of set reminders of this item.
|
void |
incReferenceCount()
Increase the number of set reminders of this item about 1.
|
void |
setComment(java.lang.String comment)
Sets the comment of this list item.
|
void |
setMinutes(int minutes)
Sets the minutes of this list item.
|
void |
setReferenceCount(int refCnt)
Sets the number of reminders set for this item.
|
public static final int MAX_FORWARD_REMINDER_TIME
public static final Localizer mLocalizer
public static final ReminderListItem SEPARATOR_ITEM
public ReminderListItem(ProgramItem item)
item
- The item for this list item.public ReminderListItem(Program prog, int minutes)
prog
- The program for this item.minutes
- The reminder time for this item.public ReminderListItem(Program prog, ReminderContent reminderContent)
public void setReferenceCount(int refCnt)
refCnt
- The number of reminders for this item.public ProgramItem getProgramItem()
public int getReferenceCount()
public void incReferenceCount()
public void decReferenceCount()
public int getMinutes()
public void setMinutes(int minutes)
minutes
- The minutes of this list item.public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- The comment of this list item.public Program getProgram()
public int compareTo(ReminderListItem other)
compareTo
in interface java.lang.Comparable<ReminderListItem>
public void changeComment(java.awt.Frame parentFrame)
TV-Browser 3.4.1.0, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)