|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdevplugin.PluginsFilterComponent
tvraterplugin.TVRaterFilter
public class TVRaterFilter
This FilterComponent gives the users the opportunity to filter for ratings of shows.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface tvbrowser.core.filters.FilterComponent |
|---|
FilterComponent.NameComparator, FilterComponent.TypeComparator |
| Field Summary | |
|---|---|
(package private) boolean |
_best
Show programs that are better or worse than the _value |
(package private) int |
_value
Accept-Value |
| Constructor Summary | |
|---|---|
TVRaterFilter()
|
|
| Method Summary | |
|---|---|
boolean |
accept(Program program)
Accept Programs if rating fits |
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)
Load settings |
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)
Store Settigns |
| 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 |
| Field Detail |
|---|
int _value
boolean _best
_value
| Constructor Detail |
|---|
public TVRaterFilter()
| Method Detail |
|---|
public String getUserPresentableClassName()
PluginsFilterComponentnull, return always a
clear name that discribes this filter component
for selection in the filter component dialog.
getUserPresentableClassName in class PluginsFilterComponentpublic int getVersion()
FilterComponent
public boolean accept(Program program)
program - check this program
public void read(ObjectInputStream in,
int version)
throws IOException,
ClassNotFoundException
in - load settings from this streamversion - Version of the stream
IOException - Problems reading the Data
ClassNotFoundException - Problems creating classes while reading
public void write(ObjectOutputStream out)
throws IOException
out - store settings here
IOException - Exception while storing the datapublic JPanel getSettingsPanel()
PluginsFilterComponent
getSettingsPanel in interface FilterComponentgetSettingsPanel in class PluginsFilterComponentpublic void saveSettings()
PluginsFilterComponent
saveSettings in interface FilterComponentsaveSettings in class PluginsFilterComponent
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||