TV-Browser 2.7.5 API

simplemarkerplugin
Class MarkListFilterComponent

java.lang.Object
  extended by devplugin.PluginsFilterComponent
      extended by simplemarkerplugin.MarkListFilterComponent
All Implemented Interfaces:
FilterComponent

public class MarkListFilterComponent
extends PluginsFilterComponent

The filter component for the SimpleMarkerPlugin.

Author:
René Mach

Nested Class Summary
 
Nested classes/interfaces inherited from interface tvbrowser.core.filters.FilterComponent
FilterComponent.NameComparator, FilterComponent.TypeComparator
 
Constructor Summary
MarkListFilterComponent()
           
 
Method Summary
 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.
 
Methods inherited from class devplugin.PluginsFilterComponent
getDescription, getName, setDescription, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MarkListFilterComponent

public MarkListFilterComponent()
Method Detail

getUserPresentableClassName

public String getUserPresentableClassName()
Description copied from class: PluginsFilterComponent
Returns the user presentable name of this class. Don't return null, return always a clear name that discribes this filter component for selection in the filter component dialog.

Specified by:
getUserPresentableClassName in class PluginsFilterComponent
Returns:
The user presentable name of this class.

accept

public boolean accept(Program program)
Description copied from interface: FilterComponent
Checks a program if it is acceptable by the FilterComponent.

Parameters:
program - The program to check.
Returns:
true if the program is acceptable by the FilterComponent, false otherwise.

getSettingsPanel

public JPanel getSettingsPanel()
Description copied from class: PluginsFilterComponent
Gets the settings panel for this filter component.

Specified by:
getSettingsPanel in interface FilterComponent
Overrides:
getSettingsPanel in class PluginsFilterComponent
Returns:
The settings panel for this filter component.

getVersion

public int getVersion()
Description copied from interface: FilterComponent
Gets the version number of a FilterComponent.

Returns:
The version number of a FilterComponent.

saveSettings

public void saveSettings()
Description copied from class: PluginsFilterComponent
Is called when the settings should be saved (aka the users pressed the OK-Button in the Settings Dialog)

Specified by:
saveSettings in interface FilterComponent
Overrides:
saveSettings in class PluginsFilterComponent

read

public void read(ObjectInputStream in,
                 int version)
          throws IOException,
                 ClassNotFoundException
Description copied from interface: FilterComponent
Loads the settings of a FilterComponent from an ObjectInputStream.

Parameters:
in - The stream to read from.
version - The version of the data.
Throws:
IOException
ClassNotFoundException

write

public void write(ObjectOutputStream out)
           throws IOException
Description copied from interface: FilterComponent
Saves the settings of a FilterComponent to an ObjectOutputStream.

Parameters:
out - The stream to write to.
Throws:
IOException

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)