public class ProgramRunningFilterComponent extends AbstractFilterComponent
FilterComponent.NameComparator, FilterComponent.TypeComparator
Constructor and Description |
---|
ProgramRunningFilterComponent()
Creates an unnamed filter
|
ProgramRunningFilterComponent(java.lang.String name,
java.lang.String description)
Creates the filter
|
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.
|
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, getTypeDescription, setDescription, setName
public ProgramRunningFilterComponent()
public ProgramRunningFilterComponent(java.lang.String name, java.lang.String description)
name
- name of the filterdescription
- description of the filterpublic int getVersion()
FilterComponent
FilterComponent.getVersion()
public boolean accept(Program program)
FilterComponent
program
- The program to check.FilterComponent.accept(devplugin.Program)
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 javax.swing.JPanel getSettingsPanel()
FilterComponent
FilterComponent.getSettingsPanel()
public void saveSettings()
FilterComponent.saveSettings()
public java.lang.String toString()
toString
in class java.lang.Object
TV-Browser 3.4.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)