|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilterManager
The filter manager enables plugins to use the filter system of TV-Browser.
Method Summary | |
---|---|
boolean |
addFilter(PluginsProgramFilter filter)
|
java.lang.String |
addNewChannelFilterComponent()
Opens a dialog to create new channel filter components. |
boolean |
deleteFilter(PluginsProgramFilter filter)
|
ProgramFilter |
getAllFilter()
Gets the "ShowAll" filter of the program table. |
ProgramFilter[] |
getAvailableFilters()
Returns an array of all available filters. |
java.lang.String[] |
getChannelFilterComponentNames()
Gets the names of the channel filter components. |
ProgramFilter |
getCurrentFilter()
Returns the current selected filter of the program table. |
ProgramFilter |
getDefaultFilter()
Returns the default filter of the program table. |
boolean |
isPluginFilter(ProgramFilter filter)
Tests if the filter is a plugin filter. |
void |
registerFilterChangeListener(FilterChangeListener listener)
Registers the given FilterChangeListener. |
void |
setCurrentFilter(ProgramFilter filter)
Activates a filter. |
void |
unregisterFilterChangeListener(FilterChangeListener listener)
Unregisters the given FilterChangeListener. |
Method Detail |
---|
ProgramFilter getCurrentFilter()
ProgramFilter getDefaultFilter()
ProgramFilter getAllFilter()
void setCurrentFilter(ProgramFilter filter)
filter
- The filter to activate.ProgramFilter[] getAvailableFilters()
boolean addFilter(PluginsProgramFilter filter)
filter
- The filter to add.
boolean deleteFilter(PluginsProgramFilter filter)
filter
- The filter to delete.
boolean isPluginFilter(ProgramFilter filter)
filter
- The filter to test.
True
if the filter is a plugin filter,
false
otherwise.java.lang.String[] getChannelFilterComponentNames()
java.lang.String addNewChannelFilterComponent()
null
if no component was created.void registerFilterChangeListener(FilterChangeListener listener)
listener
- The listener to register.void unregisterFilterChangeListener(FilterChangeListener listener)
listener
- The listener to remove.
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |