tvdataservice
Class MarkedProgramsList
java.lang.Object
tvdataservice.MarkedProgramsList
public class MarkedProgramsList
- extends Object
A class that contains all marked programs.
- Since:
- 2.2
- Author:
- René Mach
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static MarkedProgramsList getInstance()
- Returns:
- The instance of this class.
addProgram
protected void addProgram(MutableProgram p)
removeProgram
protected void removeProgram(MutableProgram p)
getMarkedPrograms
public Program[] getMarkedPrograms()
- Returns:
- The marked programs.
getTimeSortedProgramsForTray
public Program[] getTimeSortedProgramsForTray(ProgramFilter filter,
int markPriority,
int numberOfPrograms,
boolean includeOnAirPrograms)
- Parameters:
filter - The filter to use for program filteringmarkPriority - The minimum mark priority of programs to find.numberOfPrograms - The number of programs to show. Use a value of 0 or below for all important programs.includeOnAirPrograms - If the marked programs array should contain running programs.
- Returns:
- The time sorted programs for the tray.
revalidatePrograms
public void revalidatePrograms()
- Revalidate program markings
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)