public class SingleTitleFilterComponent extends AbstractFilterComponent
FilterComponent.NameComparator, FilterComponent.TypeComparator
Constructor and Description |
---|
SingleTitleFilterComponent() |
SingleTitleFilterComponent(java.lang.String name,
java.lang.String desc) |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getTypeDescription()
Gets the description of a FilterComponent type.
|
int |
getVersion()
Gets the version number of a FilterComponent.
|
void |
read(java.io.ObjectInputStream in,
int version)
read the settings
|
void |
saveSettings()
save the settings
|
java.lang.String |
toString() |
void |
write(java.io.ObjectOutputStream out)
write the settings
|
getDescription, getName, setDescription, setName
public SingleTitleFilterComponent(java.lang.String name, java.lang.String desc)
public SingleTitleFilterComponent()
public int getVersion()
FilterComponent
public java.lang.String toString()
toString
in class java.lang.Object
public boolean accept(Program program)
FilterComponent
program
- The program to check.true
if the program is acceptable by the FilterComponent, false
otherwise.public void read(java.io.ObjectInputStream in, int version) throws java.io.IOException, java.lang.ClassNotFoundException
in
- The stream to read from.version
- The version of the data.java.io.IOException
java.lang.ClassNotFoundException
FilterComponent.read(java.io.ObjectInputStream,
int)
public void write(java.io.ObjectOutputStream out) throws java.io.IOException
out
- The stream to write to.java.io.IOException
FilterComponent.write(java.io.ObjectOutputStream)
public java.lang.String getTypeDescription()
FilterComponent
getTypeDescription
in interface FilterComponent
getTypeDescription
in class AbstractFilterComponent
public javax.swing.JPanel getSettingsPanel()
FilterComponent
public void saveSettings()
FilterComponent.saveSettings()
TV-Browser 3.4.1.0, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)