|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttvbrowser.core.filters.filtercomponents.DayFilterComponent
public class DayFilterComponent
This Filter Filters for certain Days of the Week
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface tvbrowser.core.filters.FilterComponent |
|---|
FilterComponent.NameComparator, FilterComponent.TypeComparator |
| Field Summary | |
|---|---|
(package private) JCheckBox |
mFriday
|
(package private) JCheckBox |
mMonday
|
(package private) JCheckBox |
mSaturday
|
(package private) JCheckBox |
mSunday
|
(package private) JCheckBox |
mThursday
|
(package private) JCheckBox |
mTuesday
|
(package private) JCheckBox |
mWednesday
|
| Constructor Summary | |
|---|---|
DayFilterComponent()
|
|
DayFilterComponent(String name,
String desc)
|
|
| Method Summary | |
|---|---|
boolean |
accept(Program program)
Checks a program if it is acceptable by the FilterComponent. |
String |
getDescription()
Gets the description of a FilterComponent. |
String |
getName()
Gets the name of a FilterComponent. |
JPanel |
getSettingsPanel()
Gets the settings panel for a FilterComponent. |
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 |
setDescription(String desc)
Sets the description of a FilterComponent. |
void |
setName(String name)
Sets the name of a FilterComponent. |
String |
toString()
|
void |
write(ObjectOutputStream out)
Saves the settings of a FilterComponent to an ObjectOutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
JCheckBox mMonday
JCheckBox mTuesday
JCheckBox mWednesday
JCheckBox mThursday
JCheckBox mFriday
JCheckBox mSaturday
JCheckBox mSunday
| Constructor Detail |
|---|
public DayFilterComponent(String name,
String desc)
public DayFilterComponent()
| Method Detail |
|---|
public void read(ObjectInputStream in,
int version)
throws IOException,
ClassNotFoundException
FilterComponent
read in interface FilterComponentin - The stream to read from.version - The version of the data.
IOException
ClassNotFoundException
public void write(ObjectOutputStream out)
throws IOException
FilterComponent
write in interface FilterComponentout - The stream to write to.
IOExceptionpublic String toString()
toString in class Objectpublic void saveSettings()
FilterComponent
saveSettings in interface FilterComponentpublic JPanel getSettingsPanel()
FilterComponent
getSettingsPanel in interface FilterComponentpublic boolean accept(Program program)
FilterComponent
accept in interface FilterComponentprogram - The program to check.
true if the program is acceptable by the FilterComponent, false otherwise.public int getVersion()
FilterComponent
getVersion in interface FilterComponentpublic String getName()
FilterComponent
getName in interface FilterComponentpublic String getDescription()
FilterComponent
getDescription in interface FilterComponentpublic void setName(String name)
FilterComponent
setName in interface FilterComponentname - The new name of the FilterComponent.public void setDescription(String desc)
FilterComponent
setDescription in interface FilterComponentdesc - The new description of the FilterComponent.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||