|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tvbrowser.core.filters.filtercomponents.AbstractFilterComponent tvbrowser.core.filters.filtercomponents.ProgramMarkingPriorityFilterComponent
public class ProgramMarkingPriorityFilterComponent
A filter component for tracking programs that have a selected mark priority.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface tvbrowser.core.filters.FilterComponent |
---|
FilterComponent.NameComparator, FilterComponent.TypeComparator |
Constructor Summary | |
---|---|
ProgramMarkingPriorityFilterComponent()
Creates an new instance of this filter component. |
|
ProgramMarkingPriorityFilterComponent(java.lang.String name,
java.lang.String desc)
Creates an instance of this filter component with given name and given description. |
Method Summary | |
---|---|
boolean |
accept(Program program)
Checks a program if it is acceptable by the FilterComponent. |
javax.swing.JPanel |
getSettingsPanel()
Gets the settings panel for a FilterComponent. |
int |
getVersion()
Gets the version number of a FilterComponent. |
void |
read(java.io.ObjectInputStream in,
int version)
Loads the settings of a FilterComponent from an ObjectInputStream. |
void |
saveSettings()
Is called when the settings should be saved (i.e. the users pressed the OK button in the settings dialog) |
java.lang.String |
toString()
|
void |
write(java.io.ObjectOutputStream out)
Saves the settings of a FilterComponent to an ObjectOutputStream. |
Methods inherited from class tvbrowser.core.filters.filtercomponents.AbstractFilterComponent |
---|
getDescription, getName, getTypeDescription, setDescription, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProgramMarkingPriorityFilterComponent()
public ProgramMarkingPriorityFilterComponent(java.lang.String name, java.lang.String desc)
name
- The name of this filter component.desc
- The description for this filter component.Method Detail |
---|
public boolean accept(Program program)
FilterComponent
program
- The program to check.
true
if the program is acceptable by the FilterComponent, false
otherwise.public javax.swing.JPanel getSettingsPanel()
FilterComponent
public int getVersion()
FilterComponent
public void read(java.io.ObjectInputStream in, int version) throws java.io.IOException, java.lang.ClassNotFoundException
FilterComponent
in
- The stream to read from.version
- The version of the data.
java.io.IOException
java.lang.ClassNotFoundException
public void saveSettings()
FilterComponent
public void write(java.io.ObjectOutputStream out) throws java.io.IOException
FilterComponent
out
- The stream to write to.
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |