public class MarkListFilterComponent extends PluginsFilterComponent
FilterComponent.NameComparator, FilterComponent.TypeComparator
Constructor and Description |
---|
MarkListFilterComponent() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Program program)
Checks a program if it is acceptable by the FilterComponent.
|
JPanel |
getSettingsPanel()
Gets the settings panel for this filter component.
|
String |
getUserPresentableClassName()
Returns the user presentable name of this class.
|
int |
getVersion()
Gets the version number of a FilterComponent.
|
void |
read(ObjectInputStream in,
int version)
Loads the settings of a FilterComponent from an ObjectInputStream.
|
void |
saveSettings()
Is called when the settings should be saved (aka the users pressed the OK-Button in the Settings Dialog)
|
void |
write(ObjectOutputStream out)
Saves the settings of a FilterComponent to an ObjectOutputStream.
|
getDescription, getName, setDescription, setName, toString
public String getUserPresentableClassName()
PluginsFilterComponent
null
, return always a
clear name that discribes this filter component
for selection in the filter component dialog.getUserPresentableClassName
in class PluginsFilterComponent
public boolean accept(Program program)
FilterComponent
program
- The program to check.true
if the program is acceptable by the FilterComponent, false
otherwise.public JPanel getSettingsPanel()
PluginsFilterComponent
getSettingsPanel
in interface FilterComponent
getSettingsPanel
in class PluginsFilterComponent
public int getVersion()
FilterComponent
public void saveSettings()
PluginsFilterComponent
saveSettings
in interface FilterComponent
saveSettings
in class PluginsFilterComponent
public void read(ObjectInputStream in, int version) throws IOException, ClassNotFoundException
FilterComponent
in
- The stream to read from.version
- The version of the data.IOException
ClassNotFoundException
public void write(ObjectOutputStream out) throws IOException
FilterComponent
out
- The stream to write to.IOException
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)