public class ReminderListItem extends Object implements Comparable<ReminderListItem>
Constructor and Description |
---|
ReminderListItem(Program prog,
int minutes)
Creates an instance of this class.
|
ReminderListItem(ProgramItem item)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ReminderListItem other) |
void |
decReferenceCount()
Decrease the number of set reminders of this item about 1.
|
int |
getMinutes()
Gets the reminder mintutes 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 |
setMinutes(int minutes)
Sets the minutes of this list item.
|
void |
setReferenceCount(int refCnt)
Sets the number of reminders set for this 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 remider time for this item.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 Program getProgram()
public int compareTo(ReminderListItem other)
compareTo
in interface Comparable<ReminderListItem>
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)